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 /> 
CommentFileSizeAuthor
error2.png54.79 KBr.cahilig
error1.png58 KBr.cahilig

Comments

Gurpartap Singh’s picture

Component: Miscellaneous » Code
Assigned: Unassigned » Gurpartap Singh

To 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.

r.cahilig’s picture

Thanks man... That fix the problem.

mauryg’s picture

Version: 6.x-1.0-beta3 » 5.x-1.2

Running 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?

mauryg’s picture

Status: Active » Closed (fixed)

REQUEST 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!