What are some issues that might cause Magento to redirect to / downloader / (Setup Wizard)

I have a website that works fine. Edit the SVN update after making some changes to the development environment. Now the site redirects to the Installation Wizard (/ downloader /) No matter what I do. Validated and double-checked database parameters - everything seems good. Can someone tell me what other problems this result may have? I just want this to give me an error so that I can more easily fix the actual problem.

+6
source share
4 answers

If you check the index.php file, you will see the following ...

$mageFilename = 'app/Mage.php'; $maintenanceFile = 'maintenance.flag'; if (!file_exists($mageFilename)) { if (is_dir('downloader')) { header("Location: downloader"); } else { echo $mageFilename." was not found"; } exit; } 

That is, if there is no app / Mage.php file and there is a loader folder, it will be redirected to it.

+10
source

Verify that your /etc/local.xml application file found and read (644) by the web server should solve the problem.

+3
source

I deleted the directories / var / cache and / var / session. He seems to have solved the problem.

+1
source

incorrect permissions can cause this. this problem occurred when updating the magento kernel, being under the root, chown to www-data fixed the problem

0
source

Source: https://habr.com/ru/post/906492/


All Articles