Hello,
Drupal 5.3, PHP 4.4
I am 2 months new to Drupal and have 'always' had this problem when running the upgrade script.
Updating
An unrecoverable error has occured. You can find the error message below. It is advised to copy it to the clipboard for reference. Please continue to the update summary
An HTTP error 404 occured. update.php?op=do_updateThe update summary yields:
Drupal database update
warning: reset() [function.reset]: Passed variable is not an array or object in /home/foo/public_html/update.php on line 523.
The update process was aborted prematurely while running update # in .module. All other errors have been logged. You may need to check the watchdog database table manually.
Main page
Administration pagesThe watchdog log shows:
Details
See the available updates page for more information.
Type php
Date Thursday, December 6, 2007 - 19:52
User bob
Location http://bobssite.com/update.php?op=error
Referrer http://bobssite.com/update.php?op=selection
Message reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /home/bob/public_html/update.php on line 523.
Severity error
Hostname xx.xx.xx.xxx
A search for this error generates a universe of variations in both cause and solutions ;) I thought that may be I misunderstood the message as 'You idiot, there was no need to run this script in the first place' but as I need to update modules, and now drupal itself, I would like to figure this out.
I'll take all the help I can get! Is it .htaccess stuff as I'm on a shared host with safemode on; is it a file permissions issue so the webserver can't "see" a particular file (everything ftp'd from Dreamweaver as I do not have shell access); is it id10T user error?
Dead in the water. I can't be the only one for crying in a bucket...
Thanks.
Comments
Typical
So after wiping the install to boil the ocean with a fresh start, I find that a .htaccess edit might have worked.
I got the same error as above on a cherry install so I couldn't point to a contributed module related issue...
This edit allows me to run the update.php script with no errors returned.
I pasted the following at the bottom of www.example.com/.htacess
I got this from:
http://drupal.org/node/166036
http://www.swapdepths.nl/category/php/
Thank the Internet gods (would they be daemons?) for that.
Please say something if I've opened up a portal to hell by doing this.
Thanks drusnake for this tip
Thanks drusnake
I could NOT install 6.3
But using above .htaccess addition it works great.
bob
I have the same issues updating from drupal 6.15 to 6.20
It is not working for me ???
Help
Thanks
The update process was aborted prematurely while running update
I face the same error, which, by the way, is so verbose…
Drupal 6.20