Error "set_magic_quotes_runtime" if use PHP6

Dear friends,

I run boonex in my localhost using PHP6. Then, when run the website, the message as below appear.

Fatal error: Call to undefined function set_magic_quotes_runtime() in C:\AppServ\www\dolphin\inc\header.inc.php on line 166

So, any idea how to FIX IT.

Regards,
AMIR

Quote · 13 Apr 2012

Dolphin has not been tested on php 6 yet, The reason being that no production hosting server even uses php 6 yet.

The only thing you can do is comment out the line the error is on. set_magic_quotes_runtime is a function that has been removed in php6. You may run into others.

I strongly recommend you switch to php 5 that everyone else is using. Dolphin has not even been tested with php 6 yet.


https://www.deanbassett.com
Quote · 14 Apr 2012

Now that i have taken a closer look. You should not even be running php 6.

It has not even been officially released yet.

the latest version at their website is for 5.4.1 and that is not even a stable release. The latest stable release is 5.4.0

I really do not know where you got php 6 but you should not be using it.

https://www.deanbassett.com
Quote · 14 Apr 2012

Well magic quotes is also removed from php 5.4 so you would have to switch to anything in the 5.3 range.  or like deano said just comment it out with // 

or you could also change the phpversion check from 5.3 to 6.0 and that might help as well.

he might have gotten it from snaps.php.net at one point maybe.. 

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 14 Apr 2012

Hi all

I using software AppServ 2.6.0 (appservnetwork.com).

Ok, so, I'll use back the PHP version 5 as your advised.

AMIR

Quote · 14 Apr 2012

That version of AppServ contains 2 products that are not official yet.

PHP is a dev version and Mysql is an alpha version.

Your better off downgrading to the 2.5.10 AppServ version. It is the last version that contains stable non development releases of both php and mysql.

Choosing the latest version of products is not always the best choice. Dev, Beta, Alpha ect releases are intended for developers to test with. They are not really the best choice for most people.

Dev versions come before alphas. They are products in the developmental stages. Not to be used in a production enviroment.

Alpha comes after devs and before betas. Again. Early stages of product testing.

Beta is the last to appear before a final release and quite often released to the public for testing. But still should not be used in production environments.



https://www.deanbassett.com
Quote · 14 Apr 2012

Hi Deano

Thank you for the advice given.

Regards,
AMIR

Quote · 14 Apr 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.