Post by RHS Consulting » Sat Feb 14, 2009 7:10 pm

Hi, every1

I am trying to install this nice-looking cart, but when I try to access either the store or the admin area, I get this error:

magic_quotes_gpc

I have no idea on how to change this, as I do not have access to either the php.ini file or .htaccess file from my isp.

Can anyone please help me on how to avoid this function or whatever the pro's call it :)?


Posts

Joined
Sat Feb 14, 2009 6:14 am

Post by CChris » Sat Feb 14, 2009 8:14 pm

you must set the magic quotes gpc to off in your php.ini....
because there is a problem, when you use ' in your descriptions...

You can disable this Option, if you edit your system/startup.php by removing this:

if (ini_get('magic_quotes_gpc')) {
exit('Error: magic_quotes_gpc is enabled!');
}

but it's not recomended to do this^^

I've comment them out for adding // in front of every line till my hoster set magic_quotes_gpc to off.

New member

Posts

Joined
Tue Feb 10, 2009 8:36 am

Post by daelsta » Sat Feb 14, 2009 11:34 pm

you can try to set it via .htaccess. enter - php_value magic_quotes_gpc off - put the .htaccess file in your webserver's root directory
Last edited by daelsta on Sat Feb 14, 2009 11:48 pm, edited 1 time in total.

New member

Posts

Joined
Thu Oct 11, 2007 12:00 pm
Who is online

Users browsing this forum: No registered users and 19 guests