扩展安装异常错误:SQLSTATE[42000]:语法错误或访问冲突:1064 您的 SQL 语法有误;

Exception Error on extension install: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax;

我在 megento 网站的主页上收到以下消息

There has been an error processing your request

Exception printing is disabled by default for security reasons.

Error log record number: 1105843260151

以下是日志文件中的消息 (.../var/report)

a:5:{i:0;s:363:"Error in file: "/home3/kenblack/public_html/egenieshop.com/app/code/local/Vilpjsc/Brand/sql/brand_setup/mysql4-upgrade-1.0.0-2.0.4.php" - SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' DROP COLUMN `filename`' at line 2";i:1;s:1106:"#0 /home3/kenblack/public_html/egenieshop.com/app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception('Mage_Core', 'Error in file: ...')
#1 /home3/kenblack/public_html/egenieshop.com/app/code/core/Mage/Core/Model/Resource/Setup.php(437): Mage_Core_Model_Resource_Setup->_modifyResourceDb('upgrade', '1.0.0', '2.0.4')
#2 /home3/kenblack/public_html/egenieshop.com/app/code/core/Mage/Core/Model/Resource/Setup.php(320): Mage_Core_Model_Resource_Setup->_upgradeResourceDb('1.0.0', '2.0.4')
#3 /home3/kenblack/public_html/egenieshop.com/app/code/core/Mage/Core/Model/Resource/Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /home3/kenblack/public_html/egenieshop.com/app/code/core/Mage/Core/Model/App.php(417): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /home3/kenblack/public_html/egenieshop.com/app/code/core/Mage/Core/Model/App.php(343): Mage_Core_Model_App->_initModules()
#6 /home3/kenblack/public_html/egenieshop.com/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#7 /home3/kenblack/public_html/egenieshop.com/index.php(87): Mage::run('', 'store')
#8 {main}";s:3:"url";s:1:"/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}

我在安装某些 extension.I 时遇到此错误,不知道扩展名 now.How 我可以解决这个问题吗?

看起来像这个 - http://www.magentocommerce.com/magento-connect/shop-by-brand-manufacturer-free-extension.html

您可以通过使用的命名空间来判断,Vilpjsc_Brand。通过在 app/etc/modules/Vilpjsc_Brand.xml;

中将 <active> 节点设置为 false 来禁用它
<?xml version="1.0"?>
<config>
    <modules>
        <Vilpjsc_Brand>
            <active>false</active>
            <codePool>local</codePool>
        </Vilpjsc_Brand>
    </modules>
</config>