I had a problem of not showing Groups when creating ad, so I tried to remove the module, and reinstall it again. I unchecked Ad in Admin, remove database in mysql, remove files, and upload new the new ad module. But when I go to Admin and check "Ad", I have this problem:
* user warning: Table 'ts_drupal.ads' doesn't exist query: SELECT * FROM ads WHERE aid = 38 in /var/www/vhosts/truyentranh.com/httpdocs/includes/database.mysql.inc on line 172.
* user warning: Table 'ts_drupal.ads' doesn't exist query: SELECT * FROM ads WHERE aid = 37 in /var/www/vhosts/truyentranh.com/httpdocs/includes/database.mysql.inc on line 172.
* user warning: Table 'ts_drupal.ads' doesn't exist query: SELECT * FROM ads WHERE aid = 38 in /var/www/vhosts/truyentranh.com/httpdocs/includes/database.mysql.inc on line 172.
* user warning: Table 'ts_drupal.ads' doesn't exist query: SELECT * FROM ads WHERE aid = 37 in /var/www/vhosts/truyentranh.com/httpdocs/includes/database.mysql.inc on line 172.
Could you help please?
Comments
Comment #1
jeremy commentedTo remove a module, go to "Administer -> Site building -> Modules". Uncheck all ad module boxes, and click 'Save configuration'. Then, click the 'Uninstall' tab and select all ad modules, clicking "Uninstall". This will properly clean up your database and allow you to re-install the ad module without errors.
Comment #2
mhd commentedThat's what I did. It caused the problems described above.
Comment #3
jeremy commentedIt looks like the ad module wasn't remove properly, and thus re-installation failed. You need to uninstall the module again then re-install. There were bugs in the _uninstall functionality in some releases -- please use the latest development snapshot.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.