Upgrade from 1.8.2 to 1.9 beta fails

Upgrade from 1.8.2 to 1.9 beta fails

deur Peter Birdsall -
Getal antwoorde: 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?

Gemiddeld van beoordelings: -
In antwoord op Peter Birdsall

Re: Upgrade from 1.8.2 to 1.9 beta fails

deur 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?
Gemiddeld van beoordelings: -
In antwoord op Peter Birdsall

Re: Upgrade from 1.8.2 to 1.9 beta fails

deur 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?
Gemiddeld van beoordelings: -
In antwoord op Julian Ridden

Re: Upgrade from 1.8.2 to 1.9 beta fails

deur 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.
Gemiddeld van beoordelings: -
In antwoord op Skip Marshall

Re: Upgrade from 1.8.2 to 1.9 beta fails

deur 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.
Aanhangsel install.gif
Gemiddeld van beoordelings: -
In antwoord op Skip Marshall

Re: Upgrade from 1.8.2 to 1.9 beta fails

deur 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.

Gemiddeld van beoordelings: -
In antwoord op Peter Birdsall

Re: Upgrade from 1.8.2 to 1.9 beta fails

deur Martin Dougiamas -
Prentjie van Core developers Prentjie van Documentation writers Prentjie van Moodle HQ Prentjie van Particularly helpful Moodlers Prentjie van Plugin developers Prentjie van Testers
Hmm, I can't see why extra user profile fields would cause anything to fail ... thoughtful
Gemiddeld van beoordelings: -