Store closed, but nothing changed

Today, I happened to noticed that a store is “temporarily closed for maintenance.” I have NOT performed any upgrades nor made any other changes to the store since the last time it was working (I have no idea how long it’s been closed - just noticed it today; the client has not said anything).



Furthermore, when I try to get into the admin panel, I can get to the login screen, but when I enter the username and password and try to login, it takes me back to the “closed for maintenance” screen.



Thanks for any help!

You either have a bad http/https_host configuration in your config.local.php file or a messed up .htaccess file.

Thanks for the quick reply! How do I know which it is and how do I fix either? And, have you any idea how it could have happened? Thanks much!

Only you know your site’s name and whether you use SSL or not and for what areas.

If you do not have your store in a subdirectory of your site, make sure both http_path and https_path have an empty string for the values and that your http_host and https_host values are the correct name of your store.



The .htaccess is a whole other story, but for admin purposes, you can simpoy rename it to see if it’s your’ problem or not. If you can then login, post your .htaccess file here and we’ll see if we can help you.

[quote name='tbirnseth' timestamp='1302744272' post='109988']

Only you know your site's name and whether you use SSL or not and for what areas.

If you do not have your store in a subdirectory of your site, make sure both http_path and https_path have an empty string for the values and that your http_host and https_host values are the correct name of your store.



The .htaccess is a whole other story, but for admin purposes, you can simpoy rename it to see if it's your' problem or not. If you can then login, post your .htaccess file here and we'll see if we can help you.

[/quote]



I have the same issue. Do not use https cert.



.htaccess file is as follows:



DirectoryIndex index.html index.php





RewriteEngine on

Some hostings require RewriteBase to be uncommented

Example:

Your store url is http://www.yourcompany.com/store/cart

So “RewriteBase” should be:

RewriteBase /store/cart

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !.(png|gif|ico|swf|jpe?g|js|css)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php?sef_rewrite=1 [L,QSA]



RewriteCond %{REQUEST_FILENAME} ./catalog/.

RewriteCond %{REQUEST_FILENAME} -d

RewriteCond %{REQUEST_FILENAME}/index.html !-f

RewriteRule . index.php?sef_rewrite=1 [L,QSA]




Do not Remove! Added by PHP Switcher from cPanel to use an alternate PHP version. Contact Support for details.

AddHandler application/x-httpd-php-5.2.17 .php