Function set_magic_quotes_runtime() is deprecated in PHP 5.3.0

Technoman posted 19th of July 2009 in Community Voice. 6 comments.

Deprecated: Function set_magic_quotes_runtime() is deprecated in ...

Magic Quotes doesn't work in PHP 5.3.

1) Comment out or remove the line altogether.

Either option will accomplish what you desire when using PHP 5.3

Im doing this test with another software but if you get this problem / error  this " FIX " will also work with dolphin.

Hope this help!

 
Comments
·Oldest
·Top
Please login to post a comment.
abailey
It's better to change the error_reporting line because there are a few other deprecated functionsa that crop up in Dolphin.

error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);

You need to wrap this in a test for PHP version 5.3 because E_DEPRECATED only became available as of 5.3.
Technoman
abailey

Yes I have noticed those extra errors appearing so can you explain where these added errors can be removed or fixxed with in php5.3 for dolphin ?

thanks

Also i heard in php6 and up they wont even have DEPRECATED_MODULE included.
warex
Open the "include/config.php"

find:
set_magic_quotes_runtime(0);

replace:
ini_set("magic_quotes_runtime", 0);

enjoy!

Contact: rootwarex@gmail.com
Fabula
Hi,

I can't find the folder 'include', so I don't know which config.php is meant to fix...

Please help me
Technoman
in php settings:
disable "display errors" for a temporary fix.
paganmist
Warex's fix worked, but for me, the path was install/index.php. I did the find and replace, and the error went away.
 
 
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.
PET:0.12611603736877