1

I have a problem. My magento puts itself to maintenance mode without maintenance.flag. At this time i did not do any installations or backups. Last time this happened i restore the database to last day and all was ok, but now i cannot restore database to the day when magento is working.

  • 1
    Are you using Redis sessions? – Peter O'Callaghan Jan 7 '15 at 17:27
  • I am not using Redis sessions. Last extension i was installed was Lesti Fpc, i unninstaled it, but nothing happened. – redwert Jan 7 '15 at 17:53
  • Could it maybe that your index.php file is modified? It might contain a manual PHP switch to skip the check for existence of the $maintenanceFile? – Jisse Reitsma Feb 13 '15 at 15:26
4

The Maintenance mode is just an include of the "503.php" which is located in the errors directory of your Magento installation. There exist only two possibilities when this file is going to be included:

  • the maintenance.flag file exists in the root directory of your magento installation (see index.php)
  • you are using Redis and expired the maximum of concurrency connections

As you already mentioned, none of these cases match your problem.

Maybe an extension will raise the maintenance mode by including the errors/503.php of the errors directory. Please search all your (custom) code for "503.php". It is possible that some of your extensions need another resource which is not present.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.