Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Login.php edit


raularenas

Recommended Posts

Posted

I am moving my catalog to the root directory so I renamed the index.php to default.php as not to overwrite my websites original index.php file. I changed the point to file, so the default.php is working properly as my index.php (os), but I can't login as I normallly would through:

 

http://miamidiscounttours.com/oscommerce-2...admin/index.php

 

I keep getting the error below;

 

Not Found

The requested URL /oscommerce-2.2rc2a/catalog/admin/index.php was not found on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

 

--------------------------------------------------------------------------------

 

Apache/1.3.33 Server at miamidiscounttours.com Port 80

 

How can I fix the login.php page to redirect to default.php instead of index.php?

Attentively,

 

Raúl

Posted

Around line 38 in your catalog / invludes /filenames.php

 

change

 

define('FILENAME_DEFAULT', 'index.php');

 

to

 

define('FILENAME_DEFAULT', 'default.php');

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

You need to apply Nic's changes above.

 

For now, the url for your admin is miamidiscounttours.com/oscommerce-2.2rc2a/catalog/admin/default.php

 

which will redirect you to miamidiscounttours.com/oscommerce-2.2rc2a/catalog/admin/login.php

Archived

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

×
×
  • Create New...