Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin login redirect loop


secretgarden

Recommended Posts

Hello,

Today just have installed the script using Fantastico F3 from my cPanel.

After the successfull installation, I can acces the Frontend, but the problem comes with the Backend, when trying to open "....//catalog/admin/login.php".

The browser gives me the message:

 
This web page has a redirect loop
ERR_TOO_MANY_REDIRECTS

 

 

Please advice me what can I do to login to Backend.

 

Thank you!

 

 

 

Link to comment
Share on other sites

  • 5 weeks later...

Hello Mark!
I had the same problem though I haven't installed Fantas....
I solved my redirect loop by editing the admin's application_top.php file on line ~41 from
$PHP_SELF = substr($req['path'], ($request_type == 'SSL') ? strlen(DIR_WS_HTTPS_ADMIN) : strlen(DIR_WS_ADMIN));
 
to the following code:
$PHP_SELF = basename($req['path']);
 
Please read this thread for an explanation, http://www.oscommerce.com/forums/topic/401428-upgrade-from-231-to-234-result-in-admin-login-redirect-loop/?hl=%2Bloop+%2Badmin

Link to comment
Share on other sites

@@secretgarden

 

Since you installed the shop using a script in your cPanel, take a moment to ensure that it installed the latest version of osCommerce. Often, these scripts are not kept up to date. The current version is 2.3.4.

 

Also, consider using the community osCommerce responsive build, as this will give you a mobile friendly site (the official 2.3.4 version is not), as well as more code updates. In addition to giving you a better store, you'll better learn how to install and maintain your store, rather than relying on someone else's script.

 

Malcolm

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...