Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Locked out of Admin


Amarilla

Recommended Posts

When I attempt to log into my admin page I get the following message:

 

Not Found

The requested URL /osCommerce/catalog/admin/FILENAME_LOGIN was not found on this server.

 

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

 

 

I looked at the original download of osCommerce and this file does not appear. Where might this be coming from?

 

I checked with godaddy and they point to /osCommerce/catalog/admin/login.php but when I look at the address bar it is going to the address above that it is erroring out at.

 

Kind of new to this...any help would be appreciated. I am now completely locked out of my admin page with no way in. Rather desperate for any help here.

Link to comment
Share on other sites

When I attempt to log into my admin page I get the following message:

 

Not Found

The requested URL /osCommerce/catalog/admin/FILENAME_LOGIN was not found on this server.

 

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

 

 

I looked at the original download of osCommerce and this file does not appear. Where might this be coming from?

 

I checked with godaddy and they point to /osCommerce/catalog/admin/login.php but when I look at the address bar it is going to the address above that it is erroring out at.

 

Kind of new to this...any help would be appreciated. I am now completely locked out of my admin page with no way in. Rather desperate for any help here.

Add the following code to /catalog/admin/includes/filenames.php

 

  define('FILENAME_LOGIN', 'login.php');

Yours must be lacking.

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Hi

 

 

Thanks for the help. Now the error reads:

 

1146 - Table 'wol0829701102322.TABLE_ADMINISTRATORS' doesn't exist

 

select id from TABLE_ADMINISTRATORS limit 1

 

[TEP STOP]

 

 

Any idea to what this means?

 

 

Thanks!

Link to comment
Share on other sites

Hi

 

 

Thanks for the help. Now the error reads:

 

1146 - Table 'wol0829701102322.TABLE_ADMINISTRATORS' doesn't exist

 

select id from TABLE_ADMINISTRATORS limit 1

 

[TEP STOP]

 

 

Any idea to what this means?

 

 

Thanks!

Follow the link below to find out what version of osC you have and then post it.

 

What is my version?

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

// define the project version

define('PROJECT_VERSION', 'osCommerce Online Merchant v2.2 RC2a');

Add the following code to /admin/includes/database_tables.php

 

  define('TABLE_ADMINISTRATORS', 'administrators');

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

  • 1 year later...

Add the following code to /catalog/admin/includes/filenames.php

 

  define('FILENAME_LOGIN', 'login.php');

Yours must be lacking.

:blush:

 

GREAT POST

2 minutes to search it and 1 second to do it

Thank's

 

MB

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...