Admin can not override Maintenance Mode
Permalink
So the other night I decided to turn on Maintenance Mode so I could make changes to my website that viewers would not be able to see until I turn Maintenance Mode off. After doing so the site kicked me off as well and basically I am not even able to access the site and it basically states, “Coming Soon. Site is in Maintenance Mode.”
I went to the SimpleScript area from my hosting area and I clicked on “Concrete5 Admin Login” and after filling in the correct information it brought me back to the Splash screen and basically gave me no control to go past the splash screen.
I went under the file manager and changed the .htaccess file to .htaaccess_old and cleared the cache from my browser and basically no luck, yet again, and I do not believe that I did not install any recent themes or plug-ins lately.
So if anyone is able to assist me of unlocking Maintenance Mode and letting me access the site once more that would be wonderful. Also I am running Concrete5 version 5.5.2.1
I went to the SimpleScript area from my hosting area and I clicked on “Concrete5 Admin Login” and after filling in the correct information it brought me back to the Splash screen and basically gave me no control to go past the splash screen.
I went under the file manager and changed the .htaccess file to .htaaccess_old and cleared the cache from my browser and basically no luck, yet again, and I do not believe that I did not install any recent themes or plug-ins lately.
So if anyone is able to assist me of unlocking Maintenance Mode and letting me access the site once more that would be wonderful. Also I am running Concrete5 version 5.5.2.1
just go to site.com/index.php/dashboard and login.
Thanks I was able to view the dashboard but the checking for Updates has been running for at least twenty minutes now and just does not seem to go to the actual dashboard itself. So, what would you advise next?
Try refreshing the page
I did refreshed the page and signed out of my CPanel account and back into CPanel account and still no luck. What do you think could be causing the issue?
CPanel has nothing to do with concrete5.
could you PM me the site url and login information?
Mike
could you PM me the site url and login information?
Mike
Also even though the Dashboard is grayed out the Maintenance Mode is not on showing up at all as well. Could the issue be because I upgraded the Concrete5 to the newest version and there might be an issue with it?
I just installed Concrete5 version 5.5.2.1 (new install not an upgrade) and after enabling "maintenance mode" I was as well not able to edit the site while in maintenance mode (logged in as Admin) and received the following screen
"Coming Back Soon This site is currently down for maintenance."
after clicking on "Return to website" while still in the Dashboard so I can go to edit the site.
I was able to go to site.com/index.php/dashboard and log back in, but still can not edit the site while maintenance mode is enabled. I'm able to disable maintenance mode to get my site back up but, the whole point to enabling maintenance mode is so you can work on your web site and not allow any access to it while you are editing it.
I installed Concrete5 through the cPanel of my Hosting Company using Simple Scripts and received no errors during the install.
I have not made any changes to any settings in the Dashboard, everything is still at the defaults of a new install.
Please Advise!
Thank you!
"Coming Back Soon This site is currently down for maintenance."
after clicking on "Return to website" while still in the Dashboard so I can go to edit the site.
I was able to go to site.com/index.php/dashboard and log back in, but still can not edit the site while maintenance mode is enabled. I'm able to disable maintenance mode to get my site back up but, the whole point to enabling maintenance mode is so you can work on your web site and not allow any access to it while you are editing it.
I installed Concrete5 through the cPanel of my Hosting Company using Simple Scripts and received no errors during the install.
I have not made any changes to any settings in the Dashboard, everything is still at the defaults of a new install.
Please Advise!
Thank you!
Try this assuming your admin or else change the admin for your username:
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); Loader::model('user'); if ((!$c->isAdminArea()) && ($c->getCollectionPath() != '/login')) { $smm = Config::get('SITE_MAINTENANCE_MODE'); $u = new User(); if ($smm == 1 && $u->getUserName() != "admin") { $v = View::getInstance(); $v->render('/maintenance_mode/'); exit; } }
If you updated to 5.5.2.1 using the dashboard download link then you may not have a complete updated installation, this happens when a server "times out" during the update,
Concrete reports you are running the latest version because it see the part installed application in your root/updates/ folder,
Solution is,
Download concrete5.5.2.1 and unzip it via ftp into your root/updates/ folder overwriting any existing files and folders,
Then in your browser go tohttp://www.YOUR_DOMAIN/index.php/tools/required/upgrade?force=1...
You will see a "Click here if you would like to re-run this script." Click it and your installation will be re-updated..
Then follow the instruction posted by Mnkras to turn off maintenance mode.
Concrete reports you are running the latest version because it see the part installed application in your root/updates/ folder,
Solution is,
Download concrete5.5.2.1 and unzip it via ftp into your root/updates/ folder overwriting any existing files and folders,
Then in your browser go tohttp://www.YOUR_DOMAIN/index.php/tools/required/upgrade?force=1...
You will see a "Click here if you would like to re-run this script." Click it and your installation will be re-updated..
Then follow the instruction posted by Mnkras to turn off maintenance mode.
Thanks that was easy. I had the same basic problem so ran here for help and found it real quick. Thanks a million.