Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I wanted to update the module to your new CVS version
the first error was in line 18:
variable_del('nodewords_global_keywords);
should be
variable_del('nodewords_global_keywords');
and then comes
Fatal error: Call to undefined function: module_exist() in D:\Eigene Dateien\Webserver\drupal_cvs\update-nodewords.php on line 11
please fix it soon
thanks
Comment | File | Size | Author |
---|---|---|---|
#2 | update-nodewords.php.patch | 594 bytes | Tobias Maier |
Comments
Comment #1
Robrecht Jacques CreditAttribution: Robrecht Jacques commentedFixed in CVS.
Comment #2
Tobias Maier CreditAttribution: Tobias Maier commentedhave you ever tried your update?
it does not work!
here comes a patch which does it for me!
please commit it and look at the manual for drupal_bootstrap()
thanks again
Comment #3
Tobias Maier CreditAttribution: Tobias Maier commentedComment #4
Tobias Maier CreditAttribution: Tobias Maier commentedwhy cant the update rename the old table
set up the new one
copy the datas
and delete the old table?
Comment #5
Robrecht Jacques CreditAttribution: Robrecht Jacques commentedThanks. Probably fixed in CVS-HEAD now.
Because there is no database agnostic function for that. The format in PostgreSQL and MySQL is different for creating tables. Furthermore, this doesn't seem to be common practise in Drupal.
Comment #6
(not verified) CreditAttribution: commentedComment #7
(not verified) CreditAttribution: commentedComment #8
(not verified) CreditAttribution: commented