Page 2 of 2

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

Posted: Tue Nov 09, 2010 1:48 pm
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  :)

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

Posted: Tue Nov 09, 2010 4:22 pm
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

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

Posted: Tue Nov 09, 2010 4:27 pm
by calguy1000
I'm going to disable firing of events during the install/upgrade process in 1.9.1