Autumn Posted July 5, 2006 Posted July 5, 2006 I've had a problem with the register_globals being turned off by my hosters, so I've added the register_globals patch...which led to some errors. I've hopefully overcome them now, but when I go to my site and add stuff to the cart, it keeps coming up with "there's nothing in your cart". The site's been down for quite a while now, so I'm keen to get it sorted asap. For the register_globals patch, I changed the following files, if that helps: /catalog/includes/application_top.php .../catalog/include/classes/order.php .../catalog/includes/functions/general.php .../catalog/includes/functions/gzip_compression.php .../catalog/includes/functions/sessions.php .../catalog/includes/languages/english/password_forgotten.php
♥Vger Posted July 5, 2006 Posted July 5, 2006 It's probably due to incorrect settings for http_cookie_domain and (if you use ssl) your https_cookie_domain in your includes/configure.php file It should be either 'www.yourdomain.com' or just 'yourdomain.com' for http_cookie_domain, and the same for https_cookie_domain for a full ssl cert (must match with how the cert was issued). https_cookie_domain will be different for a shared ssl cert - this is an example only 'secure.yourhosts.com/yourdomain.com' Vger
Autumn Posted July 6, 2006 Author Posted July 6, 2006 That file seems to be ok and has all the things you suggested. This only seems to have been a problem since putting on the register_globals patch and I wonder if I did something to one of those files I edited?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.