Jump to content
tanasi

Uninstalling module from database (PS1.5.2)

Recommended Posts

Hi all,

i tried to duplicate a module according to this guide:

http://alvinjiang.blogspot.gr/2011/01/prestashop-tips-how-to-duplicate.html

Everything went ok, I installed the 2nd module (named blockadverts) and everything was ok.

In the meantime i found another solution so I deleted the module but forgot to do uninstall.

 

Checking the permissions menu I got a warning

blockadverts: module is installed in database, but its files are missing or incompatible.

So i searched in the database in the ps_module table and deleted its entry with id=78.

But now i get

:module is installed in database, but its files are missing or incompatible.

So it seems that i deleted only the name and need to find and remove all the other related entries.

 

Can anybody help?

 

(I deleted the created module so unortunately I cannot install it again and then uninstall...)

Share this post


Link to post
Share on other sites

 

So it seems that i deleted only the name and need to find and remove all the other related entries.

 

Can anybody help?

 

Hi,

You have to delete id='78' from other ps_module_* tables

You can do it manually or by executing an sql query:

delete from ps_module
where id_module = '78';
delete from ps_module_access
where id_module = '78';
delete from ps_module_country
where id_module = '78';
delete from ps_module_currency
where id_module = '78';
delete from ps_module_group
where id_module = '78';
delete from ps_module_preference
where id_module = '78';
delete from ps_module_shop
where id_module = '78';

  • Like 1

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More