今天为数据库表添加了前缀,重新安装之后Slider插件和Brandlogo插件失效无法使用,系统报如下错误:

[root@localhost var]# tail -f log/system.log
2012-02-15T16:54:25+00:00 ERR (3): Warning: class_implements(): Class Mage_GoogleOptimizer_Block_Code_Conversion does not exist and could not be loaded  in /home/website/app/code/core/Mage/Compiler/Model/Process.php on line 344
2012-02-15T16:54:25+00:00 ERR (3): Warning: array_reverse() expects parameter 1 to be array, boolean given  in /home/website/app/code/core/Mage/Compiler/Model/Process.php on line 344
2012-02-15T16:54:25+00:00 ERR (3): Warning: Invalid argument supplied for foreach()  in /home/website/app/code/core/Mage/Compiler/Model/Process.php on line 345
2012-02-15T16:54:25+00:00 ERR (3): Warning: include(Mage/GoogleOptimizer/Block/Code/Conversion.php): failed to open stream: No such file or directory  in /home/website/lib/Varien/Autoload.php on line 93
2012-02-15T16:54:25+00:00 ERR (3): Warning: include(): Failed opening 'Mage/GoogleOptimizer/Block/Code/Conversion.php' for inclusion (include_path='/home/website/app/code/local:/home/website/app/code/community:/home/website/app/code/core:/home/website/lib:.:/usr/local/php/lib/php')  in /home/website/lib/Varien/Autoload.php on line 93
2012-02-15T16:54:25+00:00 ERR (3): Warning: class_parents(): Class Mage_GoogleOptimizer_Block_Code_Conversion does not exist and could not be loaded  in /home/website/app/code/core/Mage/Compiler/Model/Process.php on line 353
2012-02-15T16:54:25+00:00 ERR (3): Warning: array_reverse() expects parameter 1 to be array, boolean given  in /home/website/app/code/core/Mage/Compiler/Model/Process.php on line 353
2012-02-15T16:54:25+00:00 ERR (3): Warning: Invalid argument supplied for foreach()  in /home/website/app/code/core/Mage/Compiler/Model/Process.php on line 354
2012-02-15T16:54:30+00:00 ERR (3): Warning: include(Mage_Adminhtml_Controller_action.php): failed to open stream: No such file or directory  in /home/website/includes/src/Varien_Autoload.php on line 93
2012-02-15T16:54:30+00:00 ERR (3): Warning: include(): Failed opening 'Mage_Adminhtml_Controller_action.php' for inclusion (include_path='/home/website/includes/src:.:/usr/local/php/lib/php')  in /home/website/includes/src/Varien_Autoload.php on line 93

        要解决这个问题其实很简单,悲剧的是他也浪费了我一中午的休息时间,具体步骤如下:

        1.清除var目录下的缓存文件

        2.修改includs目录下的congfig文件把最下面一行的注释去了!     

          去后台关闭编译 ,然后刷新缓存。现在Slider插件和Brandlogo插件的选项就都可以用了。再去开启编译Slider插件和Brandlogo插件的选项一样可以用.