Upgrade from 1.8.2 to 1.9 beta fails

Upgrade from 1.8.2 to 1.9 beta fails

โดย Peter Birdsall -
Number of replies: 8

We have made a copy of our site, to try the upgrade, and ..

After system checks, the upgrade runs into this:

Fatal error: Using $this when not in object context in /var/www/virtual/wiuonline-test/lib/db/upgrade.php on line 729

any ideas?

การประเมินโดยเฉลี่ย: -
In reply to Peter Birdsall

Re: Upgrade from 1.8.2 to 1.9 beta fails

โดย Peter Birdsall -
Have solved it. We had a number of extra user profile fields added, and this seemed to cause the failure. Deleted them in another copy, and this time upgrade went well, continuing as one might expect. Might be a problem though?
การประเมินโดยเฉลี่ย: -
In reply to Peter Birdsall

Re: Upgrade from 1.8.2 to 1.9 beta fails

โดย Julian Ridden -
I also discovered an issue that if I had a non-standard theme as default it would also stuff up the install. Can anyone else confirm?
การประเมินโดยเฉลี่ย: -
In reply to Julian Ridden

Re: Upgrade from 1.8.2 to 1.9 beta fails

โดย Skip Marshall -
We are working through install issues with a non-standard theme. We are trying a clean install without the theme and will report back if it makes a difference.
การประเมินโดยเฉลี่ย: -
In reply to Skip Marshall

Re: Upgrade from 1.8.2 to 1.9 beta fails

โดย Skip Marshall -
We've completed a clean install without our template. It hangs on the first few database modifications every time. We're running Win2003 server with IIS 6, PHP 5 and MySQL 5. Has anyone else seen this?

We've also completed and upgrade from 1.8.2+ to 1.9 Beta. The upgrade seemed to go fine, but the Admin index.php page breaks.

I've attached a screen shot of the new installation failure.
Attachment install.gif
การประเมินโดยเฉลี่ย: -
In reply to Skip Marshall

Re: Upgrade from 1.8.2 to 1.9 beta fails

โดย Iñaki Arenaza -
รูปภาพของCore developers รูปภาพของDocumentation writers รูปภาพของPeer reviewers รูปภาพของPlugin developers
I'd say PHP is crashing during the upgrade. That's why you get an imcomplete page. Have a look at this:http://docs.moodle.org/en/Installation_FAQ#Why_is_a_particular_page_blank_or_incomplete.3F

Saludos. Iñaki.
การประเมินโดยเฉลี่ย: -
In reply to Skip Marshall

Re: Upgrade from 1.8.2 to 1.9 beta fails

โดย Andrew Ziobro -

I noticed the same problem when trying to update out 1.8 server to the latest version of 1.8.

I repeat the process and tried with 1.9beta.

I was able to get the upgrade to complete after I deleted all the cutom user fields that we were using.

I think that the upgrade issue is linked to the custom user fields.

I saw one other post somewhere on this, but can't locate it anymore.

การประเมินโดยเฉลี่ย: -
In reply to Peter Birdsall

Re: Upgrade from 1.8.2 to 1.9 beta fails

โดย Martin Dougiamas -
รูปภาพของCore developers รูปภาพของDocumentation writers รูปภาพของMoodle HQ รูปภาพของParticularly helpful Moodlers รูปภาพของPlugin developers รูปภาพของTesters
Hmm, I can't see why extra user profile fields would cause anything to fail ... thoughtful
การประเมินโดยเฉลี่ย: -
In reply to Martin Dougiamas

Re: Upgrade from 1.8.2 to 1.9 beta fails

โดย Shane Elliott -
รูปภาพของCore developers รูปภาพของPlugin developers
That was my bad blush - there was a bug/typo in the upgrade script that affected custom menu types when doing an upgrade. Was fixed 2 weeks ago: http://moodle.cvs.sourceforge.net/moodle/moodle/lib/db/upgrade.php?r1=1.130&r2=1.131

การประเมินโดยเฉลี่ย: -