Disabling Magento compiler when Magento Admin Backend is inaccessible / down
Check current compilation status
Disable Magento compilation:
Clear all compiled files
Ensure that compiler is disabled now by checking its status:
Check current compilation status
$ php -f shell/compiler.php -- state Compiler Status: Enabled Compilation State: Compiled Collected Files Count: 6042 Compiled Scopes Count: 4
Disable Magento compilation:
$ php -f shell/compiler.php -- disable Compiler include path disabled
Clear all compiled files
$ php -f shell/compiler.php -- clear Compilation successfully cleared
Ensure that compiler is disabled now by checking its status:
$ php -f shell/compiler.php -- state Compiler Status: Disabled Compilation State: Not Compiled Collected Files Count: 0 Compiled Scopes Count: 0
Источник: http://kb.magenting.com/content/24/81/en/disable-magento-compiler.html
Комментариев нет:
Отправить комментарий