Hi,
I've just updated to the latest full release and had the following error at the "Run updates" stage of running update.php;
An unrecoverable error has occurred. You can find the error message below. It is advised to copy it to the clipboard for reference.
Please continue to the error page
An error occurred. http://www.sitename.co.uk/update.php?id=29&op=do <br /> <b>Warning</b>: Call-time pass-by-reference has been deprecated in <b>/var/www/vhosts/sitename.co.uk/httpdocs/sites/all/modules/yahoo_weather_forecast/yahoo_weather_forecast.install</b> on line <b>76</b><br /> { "status": true, "percentage": 100, "message": "Remaining 0 of 1.\x3cbr/\x3eUpdating yahoo_weather_forecast module" }
The following was also generated at the top of the page;
Warning: Call-time pass-by-reference has been deprecated in /var/www/vhosts/sitename.co.uk/httpdocs/sites/all/modules/yahoo_weather_forecast/yahoo_weather_forecast.install on line 76
Any help would be greatly appreciated - many thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 509598-yahoo-weather-update.patch | 2.37 KB | Pedro Lozano |
Comments
Comment #1
axel pressbutton commentedUPDATE:
I've just gone through to the final stage of the update and have more error details;
Hope this helps
Thanks again
Comment #2
paulbeaney commented+1 My Yahoo Weather module update has just crashed and burned too. The problem is the CREATE TABLE in the update process - it looks like all the fields are missing.
Regards,
- Paul
Comment #3
Pedro Lozano commentedI've been unable to reproduce this. What PHP version are you using.
Anyway, the update only converts your old config to a block in the new multiblock system. Installing and configuring the module again should work fine.
There certainly is a syntax error in the update that will be corrected in the next version but it has worked fine for me in all my tests.
In anyone has the same problem and can provide more details it will be appreciated.
Comment #4
Pedro Lozano commentedI've fixed and commited the syntax error in the DRUPAL-6--1 branch. That should fix your fix warning but I'm not sure about the second error.
Comment #5
axel pressbutton commentedThanks for the prompt response Pedro :)
FYI I'm using PHP 5.29
I'll give the latest version a try later today and let you know how I got on
Comment #6
Pedro Lozano commentedHere is a patch that should work correctly.
Somehow the drupal_get_schema call returns nothing in your updates so the table was not created.
I corrected the previous code but also introduced a new update for those who tryed to update and failed. This new update tries to create the table again if it doesn't exist yet.
Please could you try this patch (or download from cvs DRUPAL-6--1 banch) and tell my if it works well. Thanks.
Comment #7
axel pressbutton commentedI'll try and grab from cvs in the morning as had a really long day driving - there doesn't appear to be a patch attached to your last post :(
Comment #8
Pedro Lozano commentedSorry, I forgot. Here is the patch.
Comment #9
axel pressbutton commentedBrilliant, Thanks for that Pedro. Sorry for the late response but it's been a bit non-stop here over the last couple of days.
I tried the latest dev version and everything worked, so a big thumbs up!
Thanks again for this module and your continued support.
Comment #10
Pedro Lozano commentedOk. Thanks.