jasper2002 Posted May 5, 2003 Posted May 5, 2003 Hi, I keep getting this error message at the top of the page and the shop won't process add to basket requests or logins, // handle magic_quotes_gpc turned off. Warning: Cannot send session cookie - headers already sent by (output started at C:apachehtdocscatalogincludesfunctionscompatibility.php:2) in C:apachehtdocscatalogincludesfunctionssessions.php on line 4 Warning: Cannot send session cache limiter - headers already sent (output started at C:apachehtdocscatalogincludesfunctionscompatibility.php:2) in C:apachehtdocscatalogincludesfunctionssessions.php on line 4 I'm sure it is a configuration thing. Can anyone help? Thanks Jason
Guest Posted May 6, 2003 Posted May 6, 2003 The setting is in php.ini.... if you are with a hosting company you must ask the support admin to change this setting to 'on': magic_quotes_gpc = On
zlack Posted May 6, 2003 Posted May 6, 2003 when they don't want to do that... i believe you could also put it in a .htaccess file in your documentroot. good luck, zlack It's easier to remember, then to forget
jasper2002 Posted May 6, 2003 Author Posted May 6, 2003 There is another fix for this that works first time. If you go into configuration.php and look for the if statment on the second line you'll see that it is commented out. move the if statement out of the comment to the next line and it fixes this problem. Thanks for your help though. Jason
Recommended Posts
Archived
This topic is now archived and is closed to further replies.