After installing updates to a module I attempted to do a database update. I received the following message. I don't know what to do. "Fatal error: Call to undefined function drupal_current_script_url() in /home/content/64/7584964/html/update.php on line 251" Help please.

Comments

vm’s picture

you failed to mention which module you were updating.

brucet1952’s picture

The module was Global Redirect, but I also happened when I did another module as well.

vm’s picture

delete update.php from your install
get a new one from a new download
upload and test

brucet1952’s picture

I followed that advice and it did not change anything. Still get the same fatal error message.

vm’s picture

empty all cache tables in the DB and in your browser and test.

I only see one other report of this type of error when searching with google. http://drupal.org/node/1373022

brucet1952’s picture

I deleted all the files on my server and reinstalled them. It worked.

Vic_’s picture

I tried the things above im still getting the error, I tried changing the update.php from the original, and I tried replacing them with a new update.php from a new install folder.

Nothing happened. any good advices?, to reinstall everything would not help us find out what the problem is or a solution. ^^

Vic_’s picture

I solved the problem by deleting/removing all files (except the folder /sites ) in my drupal directory, and then uploading the missing files from a new install zip file.