Magento Compiler and Backup issues

In admin there is no tab for compiler. And also with backup it just does nothing.

I am at a loss to what the issue could be.

I have reinstalled magento to another folder and compiler is there and backups work.

What i would really like to do is reinstall everything, and at each stage check the compiler and backup. I have tried this but am not sure of the correct route to take to do this.


sounds like you either don't have the rights to compiler and backup or the modules are disabled. Check in app/etc/modules for the file Mage_compiler.xml and Mage_Backup.xml and whether or not they're set to false.

Addendum to @Sander Mangel's answer as to why they may have been forcibly disabled:

If you inherited the management of this website, the compiler is probably shut off for a good reason, the previous maintainer may have found that it interacts quite foully with an installed third party module and decided to prevent the issue from resurfacing.

Starting with version 1.6, code optimization has rendered the compiler speed gains to be a moot point, better to shut it off and be using opcache.

Backup is also known to reset file permissions, causing the website to go down after executing backups with a 500 error when suPHP or WHM/cPanel security settings get violated by a bad Magento developer assumption and may have been disabled for the same reason.

You have to run a script to reset file/folder permissions every time you run the backup when this is encountered. The best cure is to much more speedily back up the database with mySQLdump and the code with tarball scripts instead.

Tags: Magento 1.x / PHP / Backup

Similar questions

we enabled compiler in backend. If you set to enabled then the file /includes/config.php changes to Now I see some posts also about uncommeting the second line question: but what does COMPILER_COLLECT_PATH do? and why is it not uncommented when I enable compile? Many ...
Should we keep Magento compiler enabled or disabled?
I am currently using Magento EE and memcache is also enabled on the server. So the question is whether it's worth keeping Magento compiler enabled? I have read online that the compiler can increase website speed by 25% to 50% but I am not sure whether it's good to do it. Also, PHP APC is disabled on the server.
Magento 2 : Compiler gives Class Not Found error
I was trying to install Multi-Vendor Marketplace extension from Webkul. I followed these steps: [Magento\Framework\Exception\LocalizedException] Class Magento\Framework\App\Action\Action\Context does not exist Any help would be highly appreciated in this regard.
Force magento compiler to only compile the 4 basic scopes (default.php/catalog.php/checkout.php/cms.php)
Magento SUPEE-6788 SUPEE-7405 Hi Since i've installed the latest patches of magento, instead of the 4 basic scopes default.php/catalog.php/checkout.php/cms.php, i've got 13 default/cms/catalog/checkout/adminhtml/contacts/sales/configurator/customer/reviewemail/authorizenet/firewall/api. And if i enable it, i get a blank page when i try to c...
unable to disable Compiler in Magento 1.9
Okay, it's a long story, so sit tight. First, I cannot disable compiler for some reason. I click disable and it refreshes, saying Enabled still. So I used the command line and disabled it, and got the return prompt of But, if I refresh the back-end, it still reads as Enabled None of my changes are taking effect due to this, and I am at a loss as to...
Magento 1.9.x - Compiler Error after install Extension
I tried a new extension for Magento Community ( , after is produce many errors I deleted all the files. Now, its cause error when Magento-Compiler is turned on, with an other extension and just on admin/categories page. Following ERROR : I tried already to clear and re-compile, but is doesnt help. Before...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.