Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin area not accessible?


shlomik

Recommended Posts

Hi,

 

A few days ag my Admin area stopped working. When I try to login I get the username/password dialog, but after the login I get an empty window with the following html source:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD>

<META http-equiv=Content-Type content="text/html; charset=windows-1255"></HEAD>

<BODY></BODY></HTML>

 

Any file in the Admin area that I try to access gives the same result. If I remove the files (for example, index.php) I get a page error. When I use HTML files I get them correctly.

 

Seems like any PHP based file does not work.

 

On the other hand, the store still functions.

 

Any ideas what might be wrong?

 

Shlomi

Link to comment
Share on other sites

Shlomi, there's so many possible reasons that has happened that I'd hate to make a wild guess.

 

First, see if you can "see" the admin files on your server via FTP.

If the files are there, then while you are in FTP, download your .htacess file AND your configuration.php file to your computer to examine them.

 

While looking at them, if you don't understand what you are reading, then you might need your server tech support help, although you can try asking for more help/explanation.

 

IF you have FTPed to your admin files and don't see them there, then you'll probably need to reload the admin pages. ONLY reload the ADMIN pages if the catalog pages are working fine. Be sure to check the settings afterword.

 

You do have a back copy of your store and admin, right?

If you don't, you can download the plain vanilla osCommerce package here: http://www.oscommerce.com/solutions/downloads

 

Wishing you lots of luck. Sounds as if your situation requires more detective work.

Link to comment
Share on other sites

I can see my files using FTP. I looked at configuration.php (no chnages in the last few months) and .htaccess.

 

Here is the content of .htaccess:

 

AuthUserFile /home/... /www/.htpasswd

AuthGroupFile /home/... /www/.htgroup

AuthName "my admin name"

AuthType Basic

<Limit GET>

require group admin

</Limit>

 

Also, I added the following lines:

php_admin_value error_reporting E_ALL

php_admin_value display_errors on

 

 

And got the following message when I tried to access Admin:

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

 

 

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

 

Apache/2.0.51 (Fedora) Server at www.mysite.com Port 80

 

 

BTW, I do have a backup if i'll need it.

 

Thanks,

Shlomi

Shlomi, there's so many possible reasons that has happened that I'd hate to make a wild guess.

 

First, see if you can "see" the admin files on your server via FTP.

If the files are there, then while you are in FTP, download your .htacess file AND your configuration.php file to your computer to examine them.

 

While looking at them, if you don't understand what you are reading, then you might need your server tech support help, although you can try asking for more help/explanation.

 

IF you have FTPed to your admin files and don't see them there, then you'll probably need to reload the admin pages. ONLY reload the ADMIN pages if the catalog pages are working fine. Be sure to check the settings afterword.

 

You do have a back copy of your store and admin, right?

If you don't, you can download the plain vanilla osCommerce package here: http://www.oscommerce.com/solutions/downloads

 

Wishing you lots of luck. Sounds as if your situation requires more detective work.

Link to comment
Share on other sites

I diff my backup to the current files in Admin and I could not see any meaningful difference.

 

Can this be an issue on the host server side?

 

 

 

 

I can see my files using FTP. I looked at configuration.php (no chnages in the last few months) and .htaccess.

 

Here is the content of .htaccess:

 

AuthUserFile /home/... /www/.htpasswd

AuthGroupFile /home/... /www/.htgroup

AuthName "my admin name"

AuthType Basic

<Limit GET>

require group admin

</Limit>

 

Also, I added the following lines:

php_admin_value error_reporting E_ALL

php_admin_value display_errors on

And got the following message when I tried to access Admin:

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

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

 

Apache/2.0.51 (Fedora) Server at www.mysite.com Port 80

BTW, I do have a backup if i'll need it.

 

Thanks,

Shlomi

Link to comment
Share on other sites

I diff my backup to the current files in Admin and I could not see any meaningful difference.

 

Can this be an issue on the host server side?

 

 

Works again. The server had to move back to PHP 4.xx from PHP 5.0.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...