25 March 2011 at 3:06am
I have seen this before and always ignored it without any problems, but today I got curious... The warning:
Titled: magic_quotes_gpc option turned off
magic_quotes_gpc is set to '1' in php.ini. This should be turned off, as it can cause issues with cookies. More specifically, unserializing data stored in cookies.
In my .htaccess file I tried each of the following:
php_value magic_quotes_gpc 1
php_value magic_quotes_gpc 0
php_value magic_quotes_gpc off
Each time the Description of the warning changed to reflect what value I had set, but it never went away. Is this cause I edited .htaccess and not php.ini? This is a pretty silly error message :-) :
magic_quotes_gpc is set to 'off' in php.ini. This should be turned off, as it can cause issues with cookies. More specifically, unserializing data stored in cookies.
28 April 2011 at 5:11am
aaah so simple it´s almost embarassing.... since I´m using MAMP PRO I found the solution here http://forum.mamp.info/viewtopic.php?f=2&t=6770 that fixed the final warning and I could install SS with "green lights" for the first time :-)
so if anyone using MAMP discovered the same warning at install check out the above link!
15 October 2011 at 5:29am
I think it might have something to do with the way ini_get() interpretes php settings. If set to 'Off' within php.ini, ini_get() will return an emty string, and that's what the SS install script is checking on (Install.php, around line 386).
It seems that if you set magic_quotes_gpc to 'Off' (or false or 0) anywhere else, ini_get() might retrieve the 'real' value. And as 'Off' is not an empty string, the install check will fail. So if it says 'Off' in the warning, just go ahead and install, I guess...