Knowledgebase: General
How to disable Compilation mode via FTP
Posted by Antoine R on 15 September 2011 07:22 AM

Very often installation of new extensions with Compilation Mode enabled breaks your site. You cannot view the front-end and back-end. Nothing works. In this case the only solution is to disable Compilation Mode to get the site back to normal state. 

1) Connect to your server using FTP Manager

2) Go inside "includes" folder

3) Open the file "config.php" for editing

4) Find the lines:

define(’COMPILER_INCLUDE_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’src’); 
#define(’COMPILER_COLLECT_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’stat’);

and comment them out:

#define(’COMPILER_INCLUDE_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’src’); 
#define(’COMPILER_COLLECT_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’stat’);

5) Save the changes.

Now you can get into your back-end. If you need to enable the Compilation mode again you should use "Run Compilation" button and NOT just enable it again (as it will break your site again). Running it will compile all new files correctly.

 

 All Magento Extensions by MageWorx are compatible with Compilation Mode.

 

If you have any questions about any of our Magento Extensions, please submit a support ticket
(19 votes)
This article was helpful
This article was not helpful

Comments (0)
Post a new comment 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.