Advertisement
Guest User

complitation

a guest
Dec 15th, 2014
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. 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.
  2.  
  3. 1) Connect to your server using FTP Manager
  4.  
  5. 2) Go inside "includes" folder
  6.  
  7. 3) Open the file "config.php" for editing
  8.  
  9. 4) Find the lines:
  10.  
  11. define(’COMPILER_INCLUDE_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’src’);
  12. #define(’COMPILER_COLLECT_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’stat’);
  13.  
  14. and comment them out:
  15.  
  16. #define(’COMPILER_INCLUDE_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’src’);
  17. #define(’COMPILER_COLLECT_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’stat’);
  18.  
  19. 5) Save the changes.
  20.  
  21. 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement