Guest Posted July 21, 2005 Share Posted July 21, 2005 Hi there, I was just wondering if someone could help with a small problem I am experiencing. A webshop that has been installed upon logging in goes straight back to the main page again instead of going to the 'account.php' page so users can't change their account passwords and many other options available to them. I don't know what is causing this and any help would be greatly appreciated. One other thing maybe I should mention is that the server is running under https mode. Don't know if this makes a difference or not to the problem though. Any help with this would be greatly appreciated. Regards, Mark Bowen Link to comment Share on other sites More sharing options...
karmapool Posted July 21, 2005 Share Posted July 21, 2005 hi, I think I would try getting to the account page by different ways and seeing if I still get directed to the main page. osCommerse keeps track of where you come form and then redirects you back there once you sign in. if you shop for a while and then try to check out dose it still happen? Hope this helps Billy Link to comment Share on other sites More sharing options...
Guest Posted July 22, 2005 Share Posted July 22, 2005 Hi there, Thanks for the reply. I can still get to the account page if I type in the URL at the end of the address which would mean that I could place a button on the page but normally whenever logging in to osCommerce it takes you to your account page upon login but at the moment is taking me straight to the index page of the shop. I was wondering if this has anything to do with it being set up for https or not. Any more ideas would be of great help, thanks. Regards, Mark Link to comment Share on other sites More sharing options...
Guest Posted July 23, 2005 Share Posted July 23, 2005 By default, osC takes you to index.php after you login, unless you login by clicking on "My Account" . . . If you'd like it to take you to account.php after login, you can change that in login.php. -jared Link to comment Share on other sites More sharing options...
Guest Posted July 23, 2005 Share Posted July 23, 2005 Hi Jared, Thanks for the reply. I had never noticed that before! Silly me. When using the login.php file from the main page it (once logged in) goes to the main page but if using the account.php file goes to where I want it to go. I had never realised that there were even these two files as I always use the 'Simple Template System' and then modify the site to use the file to login. In this one case I must have entered 'login.php' as the file to use instead of 'account.php'. Just out of interest what exactly is the difference between the two files, they seem to do the same functions? Thanks for all your help on this. It is much appreciated. Regards, Mark Link to comment Share on other sites More sharing options...
Guest Posted August 3, 2005 Share Posted August 3, 2005 login.php does just that - - logs you in. account.php shows you your recent orders, lets you change your password, shipping info, etc. If you're not logged in, and you try to access account.php (or check out, or do many other things), you'll be redirected to login.php then back to whatever you were trying to do. -jared Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.