Upon uninstalling: Nodewords - basic meta tags
Fatal error: Call to undefined function db_placeholders() in /home/simbotic/public_html/sites/all/modules/nodewords/nodewords_basic/nodewords_basic.install on line 35

Upon uninstalling Nodewords - extra meta tags:
Fatal error: Call to undefined function db_placeholders() in /home/simbotic/public_html/sites/all/modules/nodewords/nodewords_extra/nodewords_extra.install on line 36

Comments

adamcadot’s picture

I'm uninstalling it while on Drupal 7 by the way.

dave reid’s picture

Status: Active » Closed (works as designed)

The module is not compatible to run in Drupal 7, so you can't expect to uninstall it on Drupal 7.

stan turyn’s picture

Status: Closed (works as designed) » Needs review

I'd say that the module should provide a straightforward mechanism to uninstall on D7 - the reason is that anyone following UPGRADE.txt while upgrading D6 to D7 will encounter this issue at step 16. Please note that nowhere does UPGRADE.txt insist that modules must be uninstalled prior to upgrade - therefore it ought to be expected that users will be uninstalling at step 16 (i.e. after the core upgrade).

damienmckenna’s picture

Status: Needs review » Closed (works as designed)

@Stan: The Drupal 7 UPGRADE.txt file says:

1. Check on the Drupal 7 status of your contributed and custom modules and
themes. See http://drupal.org/node/948216 for information on upgrading
contributed modules and themes.

The page listed above says:

* Check your notes, and the UPGRADE.txt files inside each module, to see if any special upgrade instructions apply
* Fully remove the old module directory inside sites/all/modules/

Given this module does not have a Drupal 7 version, nor will it ever, it is not up to Nodewords to support an upgrade path.

There is an issue for providing an upgrade path to the new Metatags module, you should help there: #1281138: Upgrade path: Nodewords

likewhoa’s picture

Title: Fatal error on uninstall » Fatal error on uninstall under D7
Priority: Normal » Major
Status: Closed (works as designed) » Active

This is not acceptable,.. You say to use metatags but do not provide an uninstall method so are we supposed to manually removed any trace of this module once we go through the upgrade path in D7?

Leaving this open as there should be a way to uninstall in D7 since uninstalling in D6 would prevent the upgrade path in the first place.

Manual removal instructions (Must have DRUSH)

# for variable in nodewords_base_url nodewords_enable_tokens nodewords_global nodewords_head nodewords_icra_validation_content nodewords_list_repeat nodewords_max_size nodewords_update nodewords_save_tags_watchdog; do drush -y vdel ${variable};done
# drush sql-query "DROP TABLE nodewords"
damienmckenna’s picture

Status: Active » Closed (works as designed)

When upgrading from Drupal 6 to Drupal 7 you are supposed to uninstall the modules; please note that this does not remove the configuration, that stays intact until you go to admin/build/modules/uninstall (admin/modules/uninstall on D7) so the configuration is safe.

manoloka’s picture

Manual removal instructions (Must have DRUSH)

# for variable in nodewords_base_url nodewords_enable_tokens nodewords_global nodewords_head nodewords_icra_validation_content nodewords_list_repeat nodewords_max_size nodewords_update nodewords_save_tags_watchdog; do drush -y vdel ${variable};done
# drush sql-query "DROP TABLE nodewords"

Any instructions without DRUSH?

Thanks

damienmckenna’s picture

Delete the tables in your favorite database tool? I'm aiming to include this as part of the upgrade path for Metatag: #1281138: Upgrade path: Nodewords

manoloka’s picture

Only deleting the tables nodewords and nodewords_custom is enough to get rid of any trace of nodewords?