Page 1 of 1

Upgrade to 2.8.3 - problem with magic quotes

Posted: Fri Nov 22, 2013 2:52 am
by SimonS
I am upgrading from 2.7.6 to 2.8.3. I have followed the instructions for upgrading, but when I run the install/update.php page I get an error message "Please disable magic_quotes_gpc!"

I have checked the PHP configuration settings and magic_quotes are set to "Off" at the server level. I have even added a php.ini file to make sure magic_quotes are set locally to Off. I am running on PHP 5.3.3

Please can you tell me how to disable this error message so that I can upgrade to the current version?

Thank you

Simon

Re: Upgrade to 2.8.3 - problem with magic quotes

Posted: Fri Nov 22, 2013 8:49 pm
by Thorsten
Hi,

this is the code that checks magic quotes in inc/PMF/System.php:

Code: Select all

    public function checkMagicQuotesGpc()
    {
        if (ini_get('magic_quotes_gpc')) {
            return false;
        }
        return true;
    }
If it's telling you, magic quotes are on, they are on. :-)

bye
Thorsten

Re: Upgrade to 2.8.3 - problem with magic quotes

Posted: Fri Jan 17, 2014 1:57 pm
by hhullen
Thorsten wrote:Hi,

this is the code that checks magic quotes in inc/PMF/System.php:

Code: Select all

    public function checkMagicQuotesGpc()
    {
        if (ini_get('magic_quotes_gpc')) {
            return false;
        }
        return true;
    }
If it's telling you, magic quotes are on, they are on. :-)

bye
Thorsten
Und wie schalte ich diese Option aus?
Ich kann/darf die "php.ini" meines Providers nicht ändern.

Ich möchte ja gern von 2.6.17 nach 2.8.5 updaten ...

Re: Upgrade to 2.8.3 - problem with magic quotes

Posted: Sat Jan 18, 2014 8:50 am
by Thorsten
Hi,

du kannst das in der .htaccess eintragen:

Code: Select all

php_flag magic_quotes_gpc Off
bye
Thorsten