paulthom Posted August 9, 2006 Share Posted August 9, 2006 Please help, We are trying to test OSCommerce. We have many inconsistencies in the button responses. By inconsistent I mean that at times they work properly and at other times they simply send you to the login page. At times clicking "BACK" and trying again is successfull. Examples; Clicking "Add to Cart" quite often results in the message that "There is nothing in your cart" Clicking "Check Out" when logged in still sends you to the login page and you revert to being a guest. If I watch the address bar I see the program trying to call the proper page, but then being sent to the login page. (ie. Clicking "CheckOut" sends address bar to <checkout_shipping.psp> but then reverts to <login.psp> Any suggestions? Is this a problem with the server we are using? (Powweb.com) Is this a time-out issue, where it reverts to login if response from server is not fast enough? Thanks for your time, Paul Thompson Link to comment Share on other sites More sharing options...
Guest Posted August 9, 2006 Share Posted August 9, 2006 Please help, We are trying to test OSCommerce. We have many inconsistencies in the button responses. By inconsistent I mean that at times they work properly and at other times they simply send you to the login page. At times clicking "BACK" and trying again is successfull. Examples; Clicking "Add to Cart" quite often results in the message that "There is nothing in your cart" Clicking "Check Out" when logged in still sends you to the login page and you revert to being a guest. If I watch the address bar I see the program trying to call the proper page, but then being sent to the login page. (ie. Clicking "CheckOut" sends address bar to <checkout_shipping.psp> but then reverts to <login.psp> Any suggestions? Is this a problem with the server we are using? (Powweb.com) Is this a time-out issue, where it reverts to login if response from server is not fast enough? Thanks for your time, Paul Thompson Check to see if cookies are blocked in the browser you are using. OSCommerce depends on php sessions, the session ID is stored in a cookie. If cookies are blocked you will have issues as you are describing. Link to comment Share on other sites More sharing options...
paulthom Posted August 9, 2006 Author Share Posted August 9, 2006 Check to see if cookies are blocked in the browser you are using. OSCommerce depends on php sessions, the session ID is stored in a cookie. If cookies are blocked you will have issues as you are describing. No, cookies are enabled. Also when I go to other OScommerce sites, listed through the forums there don't seem to be the same problems, only on our site. The site is (for testing ony) entvision.com/shopping/catalog. Link to comment Share on other sites More sharing options...
Gil_e_n Posted August 9, 2006 Share Posted August 9, 2006 This does seem like a session problem, though. Is it just happening when you go from the secure portion of the site to the non-secure? I had a similar problem, and it turned out that it was due to me having the https cookie path wrong in includes/configure.php Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums. Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller Link to comment Share on other sites More sharing options...
paulthom Posted August 9, 2006 Author Share Posted August 9, 2006 This does seem like a session problem, though. Is it just happening when you go from the secure portion of the site to the non-secure? I had a similar problem, and it turned out that it was due to me having the https cookie path wrong in includes/configure.php The problem seems to be within the secure portion. Moving from "login" to "add to cart" to "checkout", etc. I changed the cookie domain for https and that seems to have improved the consistency, but there are still some problems. The cookie paths are the same. (http// and https) Should they be different. Also should the catalog/configure.php file also be changed. Thanks, Paul Link to comment Share on other sites More sharing options...
digipete Posted August 10, 2006 Share Posted August 10, 2006 ... Now there's two of us hanging on the answer to this one. Pete Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.