sosidge Posted September 8, 2005 Posted September 8, 2005 Hi all, Any advice on this? Basically, customers using Firefox can't hold items in their shopping cart. Every time they click, the cart is emptied. Clearly, for some reason the session is not working correctly in firefox. This has been happening for about a week - I haven't modified any files that affect the session in that time AFAIK. Cart works fine in IE. What's gone wrong? Ta. - osCommerce is fun! -
sosidge Posted September 8, 2005 Author Posted September 8, 2005 OK, I've just worked this out (sort of)! I placed a .htaccess file in the root directory, with the following code... #Custom 404... ErrorDocument 404 /catalogue/404.php which directs to my own 404 page. Disabling the file makes everything OK again. This seems ODD! Anyone know why the htaccess has messed up Firefox? - osCommerce is fun! -
MoisesZaragoza Posted September 8, 2005 Posted September 8, 2005 I think it's how your browser takes cookies. at the end of the day the code will be good
AlanR Posted September 8, 2005 Posted September 8, 2005 This seems ODD! Anyone know why the htaccess has messed up Firefox? <{POST_SNAPBACK}> It didn't. You almost certainly have errors in the cookie settings in your config file, probably the cookie domains. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
Maureen Posted November 6, 2005 Posted November 6, 2005 I have a similar problem with Firefox and an .htaccess file... Of three OSC sites I've installed, one was non-functional for customer login with Firefox and unstable login with Netscape. With Firefox, every page click prompted the user to login again. With Netscape the customer would intermittently be logged off or lose shopping cart information. I nearly pulled my hair out trying different different cookie settings and config settings for this site! Absolutely nothing fixed the problem until... I changed the includes/.htaccess, on the affected site only, from this (which was the same on all three sites) # $Id: .htaccess,v 1.4 2001/04/22 20:30:03 dwatkins Exp $ # # This is used with Apache WebServers # The following blocks direct HTTP requests in this directory recursively # # For this to work, you must include the parameter 'Limit' to the AllowOverride configuration # # Example: # # # AllowOverride Limit # # 'All' with also work. (This configuration is in your apache/conf/httpd.conf file) # # This does not affect PHP include/require functions # # Example: http://server/catalog/includes/application_top.php will not work Order Deny,Allow Deny from all to this # $Id: .htaccess,v 1.4 2001/04/22 20:30:03 dwatkins Exp $ # # This is used with Apache WebServers # The following blocks direct HTTP requests in this directory recursively # # For this to work, you must include the parameter 'Limit' to the AllowOverride configuration # # Example: # # # AllowOverride Limit # # 'All' with also work. (This configuration is in your apache/conf/httpd.conf file) # # This does not affect PHP include/require functions # # Example: http://server/catalog/includes/application_top.php will not work order allow,deny allow from all Now the problematic site functions perfectly with Firefox, Netscape, Mozilla, and IE -- but I have no clue why!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.