I've found a strange issue with my install. Whenever a customer clicks on Log In, put in their credentials, and click login, they get the following:
However, if they go back to the main page via bookmark or address bar, it takes them to the main page and they are logged in.You don't have permission to access /zencart/index.php on this server
If they click on Log Out, they again get the permission denied. But, again, if they manually go back to the main page, it is working and they are logged out.
I found out what it is doing, but what I do not know is why.
The URL on my store is:
[FONT="Courier New"]mydomain.com/zencart/index.php (which works fine)[/FONT]
The URL on the address bar which gives them the error when they log out is:
when in reality, it SHOULD be:
[FONT="Courier New"]myhostingcompany.com/MYDOMAIN/zencart/index.php?main_page=index....[/FONT] (if I manually type in the "mydomain/" in the URL, it works).
I must have changed something somewhere which is causing this behavior, but I don't know what it is. Help!