Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Local server setup


oldcelt

Recommended Posts

Posted

I have a duplicate setup on a local server to test out changes to an on-line store. It's been working fine for months. Suddenly I'm getting an error when trying to get into Admin. I can load the admin login page then it all goes wrong.

 

Firstly, it tries to run localhost/admin/login.php instead of localhost/catalog/admin/login.php.

 

When I correct the address it then reports:-

Error: Invalid administrator login attempt.

 

I don't understand either of these problems. Why does it go from the correct address for login.php to the wrong one? Secondly, why does it no longer recognise the login user/password when it's been working for months?

Posted

It sounds as though something has changed in your catalog/admin/includes/configure.php in regards to your paths.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted
It sounds as though something has changed in your catalog/admin/includes/configure.php in regards to your paths.

 

Hmm. I don't know how that could have happened since I've made no intentional changes to that file. However, something did go wrong.

 

Long winded perhaps but I've used my live store backup, done clean install of my local development site and restored the rest from the live backup except for the configure.php files. That seems ok now.

Archived

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

×
×
  • Create New...