magento-删除扩展名? [英] magento - delete extension?

查看:78
本文介绍了magento-删除扩展名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我购买了magento扩展名并将文件复制到magento目录中.一切都很好.然后,我想重新安装它.因此,我删除了app/code/local中的所有相关文件,并删除了相关的数据库表.

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.

当我将扩展文件重新复制回magento目录并尝试测试扩展时,出现此错误:

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

我查看了数据库,看来magento没有为扩展名重新创建数据库表.

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?

推荐答案

在表core_resource中查找与模块名称匹配的条目.删除它,它将在下一个页面请求上从头开始安装,可能要等到缓存刷新后才能进行.

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.

这篇关于magento-删除扩展名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆