error upgrading from 1.8.2 to 1.9 during upgrade.php?sessiontest=1

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: error upgrading from 1.8.2 to 1.9 during upgrade.php?sessiontest=1

Post by Rolf »

Nullig wrote: What errors did you encounter with SimpleSiteInfo?
Here you are:

Code: Select all

Fatal error: Call to a member function Load() on a non-object in /public/sites/www.xxxx.xx/modules/SimpleSiteInfo/event.Core.ModuleUpgraded.php on line 25
Hope this helps,

Rolf  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: error upgrading from 1.8.2 to 1.9 during upgrade.php?sessiontest=1

Post by Nullig »

Thanks, Rolf.

I see where the problem lies.

SimpleSiteInfo has an event handler for module upgrades. Core upgrades contain updates to the core modules, so it fires the handler. Unfortunately, if you're not initially logged into the admin on the site before you do the Upgrade, the nuSoap module doesn't load (it's only available to Admin users), so it throws out this error.

For now, the best workaround is to disable the module prior to Upgrading the core, then re-enabling it after.

I will post a new version that checks for nuSoap load-ability prior to firing the handler.

Nullig
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: error upgrading from 1.8.2 to 1.9 during upgrade.php?sessiontest=1

Post by calguy1000 »

I'm going to disable firing of events during the install/upgrade process in 1.9.1
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Locked

Return to “[locked] Installation, Setup and Upgrade”