Questions tagged [compiler]

The Magento Compiler is an outdated solution to reduce filesystem impact caused by PHP class loading. While still included in current Magento releases it is removed in Magento 2. On current systems there are even cases where the Compiler causes harm to general performance of Magento.

Filter by
Sorted by
Tagged with
4
votes
1answer
141 views

Controller ignoring _forward when compiler is on - is that desired behaviour?

Simple example tested on magento 1.7.0.2 Created overloaded controller for Mage_Cms_IndexController <routers> <cms> <args> <modules> <My_Extension before="Mage_Cms"...
22
votes
4answers
25k views

Correct Method of Flushing Caches & Managing the Compiler

I'd like to know if there's any prefered procedure for the following: Flushing of the Magento cache Enabling/Disabling of the Magento Compiler 1. Flushing of the Magento Cache There are a few ...
5
votes
3answers
1k views

is it safe to run magento compiler?

I have magento 1.7.3 and have some 3rd party extensions like Fortis theme, easy lightbox, ... my question is : if compiler mode had issues, is it recoverable?
43
votes
2answers
25k views

When should I use the Magento Compiler

I often see people mention they use the compiler feature of Magento. I do never and wonder, which cases you should use it and how much performance gain you have then. [DISCLAIMER]: As I got an edit ...
2
votes
2answers
3k views

Compiler is always disabled

I have successfully run the compilation process, but when trying to enable the compilation mode, either through admin panel or through command line, I get no errors, but the state remains always ...
0
votes
1answer
2k views

Compiler through command line

Using putty, I want to manage compiler mode through command line, but the answer received is always the compiler help: myuser@serv01 [~]# php public_html/shell/compiler.php state Content-type: text/...
2
votes
2answers
1k views

APC + Compilation shows 500 internal server error on cart page

We are using APC with compilation in one of our project, magento version is 1.7.0.2. only FPC extension is installed in it. At front-end all pages are working fine but Checkout & cart page shows ...
7
votes
6answers
27k views

Warning: include(File.php) failed in Autoload.php on line 93

I have followed several articles on this, but none solve my problem. Every request on site writes the following entry to the system log. var/log/system.log: 2013-10-09T12:53:50+00:00 ERR (3): ...
2
votes
3answers
423 views

magento compilation mode vs apc

Magento has a compilation mode in which you can compile all files of a Magento installation in order to create a single include path to increase performance. Links for magento compilation mode: ...
1
vote
2answers
987 views

Exclude Module from Magento Compilation

Is there any way to exclude some extensions/modules from magento compilation ? Because some extensions create issues with magento compilation like uRapidFlow .
1
vote
1answer
3k views

Code Compilation Error - Cannot Redeclare Class

So, after some painful debugging (and enabling scream in xdebug), I was able to discover that some pages are returning a fatal error (such as catalog/product/gallery/id/155/image/202/) where Magento ...
3
votes
3answers
2k views

How to prevent extension installation problems with compilation mode enabling

I have the extension which is listening to core_layout_block_create_after event. It could be any event which is firing in magento admin. Also I have magento instance with compiler mode enabled. I ...
1
vote
1answer
637 views

E_COMPILE_ERROR when enabling Magento compilation

I'm trying to enable compilation on Magento via the control panel and while compilation is enabled the main page fails to display properly and I find that index.php has repeatedly raised the following ...