I have a module in magento, and the script setup module. Now I want to re-run this script and this module.
I deleted the setup of this module in core_resource, and access magento. But the module is not reinstalled. The database of this module isn't deleted, although I have DROP TABLE IF EXIST in scripts. And in the core_resource, the setup of this module not exists, it is really deleted. So I think the setup not run. But this module still work normally with old sql and no setup field in core_resource.
Magento – Why can’t I reinstall Module Magento
-setupdatabaseinstallmodulescript
Best Answer
This possibly is a cache or compilation issue. The module may still be working in the frontend, but in fact be disabled. So check the status of the module in
System > Configuration > Advanced > Advanced
and also inapp/etc/modules/yourmodule.xml
. In this file you should see<active>true</active>
.If the module is properly enabled and flushing all cache did not help then this is what I would do in this situation (it's quite a lot of work):
System > Tools > Compilation
System > Cache Management
System > Configuration > Advanced > Advanced
Use FTP or SSH to delete the following directories (if present)
System > Configuration > Advanced > Advanced
System > Cache Management
System > Index Management
If this doesn't help then repeat all steps above and between steps 6 and 7 do the following:
6,5. Remove all tables and entries of the module from the database. After
core_resource
don't forget to also check thecore_config_data
table for entries of the troubling moduleHope this is helpful!