magento - delete extension?

早过忘川 提交于 2019-12-21 18:39:04

问题


I bought a magento extension and copied the files into the magento directory. Everything worked great. Then I wanted to re-install it. So I deleted all relevant files in app/code/local and i deleted the relevant database tables.

When I re-copied the extension files back into the magento directory and tried to test the extension out, i get this error:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mydb.swam_list' doesn't exist

I looked in the database and it seems magento did not re-create the database tables for the extension.

How do I re-install this extension?


回答1:


Look in the table core_resource for an entry matching the module's name. Delete that and it will install from scratch on the next page request, possibly not until after a cache flush.



来源:https://stackoverflow.com/questions/4855850/magento-delete-extension

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!