Freddi Posted March 20, 2007 Posted March 20, 2007 I am currently testing a new site before going live and have encountered a problem with the customer login procedure. There is no problem creating an account, but when trying to log in later displays a 404 file not found error message. I have been struggeling with this for days searcing the forum but have yet not found the solution. Any ideas what can be wrong anyone? My site: https://secure.domeneshop.no/www.midgardsormen.no/catalog/ Any help would be appreciated :)
vasttech Posted March 20, 2007 Posted March 20, 2007 Try looking at the URL in your browser when you get the 404 error to see what page it is trying to load. Most likely there is a typo in you configure.php and that will help you learn where it is. osCommerce Knowledge Base osCommerce Documentation Contributions
cube Posted March 21, 2007 Posted March 21, 2007 Which page is getting a 404 - I created a Test account (which you can delete now ;) ), and the only problem I could find was if I'm not logged in , put something in my cart, click on Checkout, I get taken to the Create Account page, rather than the Login page - that may be deliberate? Quentin
Freddi Posted March 21, 2007 Author Posted March 21, 2007 Try looking at the URL in your browser when you get the 404 error to see what page it is trying to load. Most likely there is a typo in you configure.php and that will help you learn where it is. Yep. The url at my loginpage is https://secure.domeneshop.no/www.midgardsor...068dfc5bfa70110 and the url when I get the 404 is https://secure.domeneshop.no/www.midgardsor...068dfc5bfa70110 It`s still at catalog/login.php when I guess it is supposed to go to index.php? I have checed my configuration file, login file and a bunch of other files. I cant seem to find anything wrong. I have wery little skill in php coding, but I guess this is the line witch is supposed to bring the customer back to the site after login?: tep_redirect(tep_href_link(FILENAME_DEFAULT)); -(in the login.php file) Maybe I should also mention that if a customer types in the wrong e-mail or password, the warning message work fine and appear as it should. But still 404 file not found when trying to log in.
Freddi Posted March 21, 2007 Author Posted March 21, 2007 Which page is getting a 404 - I created a Test account (which you can delete now ;) ), and the only problem I could find was if I'm not logged in , put something in my cart, click on Checkout, I get taken to the Create Account page, rather than the Login page - that may be deliberate? Quentin Thats right, it is deliberate for a more "streamlined" shopping experience. -A tip I came across when searcing the forum for solutions to my problem :thumbsup: The 404 file not found appears when an existing customer try to log in via the "Welcome Guest! Would you like to log yourself in?" -Not when creating the account. Did you try to log off and log in again?
Freddi Posted March 21, 2007 Author Posted March 21, 2007 It was a shared ssl sertificate causing the problem with the links. Could not manage to get the links right so I guess I`ll have to by an install my own ssl...
Guest Posted March 21, 2007 Posted March 21, 2007 It was a shared ssl sertificate causing the problem with the links. Could not manage to get the links right so I guess I`ll have to by an install my own ssl... you need to check the configure.php files. first of all I don't see a secure server for checkout. Then I see the checkout (ie checkout_shipping.php) redirects to the create_account.php. This is not how the osc behaves so you must done some customizations.
Freddi Posted March 24, 2007 Author Posted March 24, 2007 Yep. The redirect was done after and had no influence. I have disabled the shared ssl sertificate in both configurefiles and everything work fine. I am now waiting for my host to install a "real" ssl on my domain. It should be OK then I hope, but thanks for the input :-)
SViehweg Posted April 3, 2007 Posted April 3, 2007 Yep. The redirect was done after and had no influence. I have disabled the shared ssl sertificate in both configurefiles and everything work fine. I am now waiting for my host to install a "real" ssl on my domain. It should be OK then I hope, but thanks for the input :-) Aloha! My setup is fairly new. Haven't launched it due to this same problem while testing. Have checked all, no visible problems. Have noticed though that even when the error message page appears, I return/refresh to the catalog and the login was actually successful and of course all is normal at that point...have option to logoff....? I noticed that when I would reload the login.php from the original setup, the login process functions as should, however, when attempt to login the following day...same o, same o. Will continue to watch this topic for a fix. I do not use AOL, I use IE latest version. My domain is my own, using a web host provider.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.