Hello, I upgraded my website from drupal 5 to drupal 6, everything is working fine right now except the paging module which giving me error when I tried to run update.php to update the database. Please help me on this.
I'm using Drupal 6.12 and Paging 6.x-1.0-beta3. Please check the error below and the attached screenshots of the error.
An error occurred. http://www.cahilig.org/update.php?id=24&op=do <br /> <b>Fatal error</b>: Call to undefined function node_update_shutdown() in <b>/var/www/html/modules/contrib_modules/paging/paging.install</b> on line <b>21</b><br />
| Comment | File | Size | Author |
|---|---|---|---|
| error2.png | 54.79 KB | r.cahilig | |
| error1.png | 58 KB | r.cahilig |
Comments
Comment #1
Gurpartap Singh commentedTo get it working for yourself, just skip update 1. Comment the code inside.
The code in there is for upgrading in Drupal 5. It just initiates a reindexing of nodes, therefore it's safe to skip it.
Comment #2
r.cahilig commentedThanks man... That fix the problem.
Comment #3
mauryg commentedRunning on a test site on WAMP (Apache 2.0.58/MySQL 5.0.22/PHP 5.1.4) Upgraded site from Drupal 5.12 to 5.19 without problem. Upgraded Paging module from 5.x-1.0 to 5.x-1.2, then ran update.php. Update timed out at 60 sec in database.mysql.inc at line 155 while trying to do update #1 in paging module. Paging does NOT work. Reverted to 5.x-1.0. Update successful and paging worked properly.
What do I need to do to get 5.x-1.2 to work?
Comment #4
mauryg commentedREQUEST CANCELLED - I upgraded 5.x-1.0 to 5.x-1.2 one more time and the update.php worked without a problem. Go figure!