I searched for an answer to my problem, and haven't found an answer, so any help is appreciated. When I run update.php, I got a blank page. So, I enabled error reporting in update.php, and now get this message:

Fatal error: Call to undefined function drupal_init_language() in /home/nwncampa/public_html/update.php on line 589

I was running update.php after updating to a new version of the weblinks module, but it is possible that I had the problem previously and didn't realize it (i.e. I might have forgotten to run update.php for a previous update). I removed the weblinks module, and still get the problem. I checked for duplicate modules, and didn't find any (this was reported in other posts as a cause of a blank page when running update.php). I stumped.

Any suggestions? Thanks!

Comments

cyberskier’s picture

I'm reporting back, in case anybody else has this problem and some of the fixes suggested elsewhere don't work. I just reuploaded update.php, and now it works. The only thing I can imagine is that, like an idiot, I may have written over update.php with the wrong version at some point when moving files around? Just a guess.

TallDavid’s picture

I'm attempting to update a stable Drupal 5.15 site to Drupal 6.9. Running update.php yields the following errors in my error_log:

[17-Feb-2009 21:17:50] PHP Fatal error:  Call to undefined function  db_query() in .../includes/cache.inc on line 24
[17-Feb-2009 21:18:20] PHP Fatal error:  Call to undefined function  drupal_init_language() in .../update.php on line 589

Further troubleshooting resulted in a resolution of the problem. Apparently, some of the core files were not properly updated by my ftp synchronization software.