Forums / Install & configuration / 4.0.1 to 4.1.0 update error

4.0.1 to 4.1.0 update error

Author Message

Michaƫl Todorovic

Tuesday 24 March 2009 1:53:52 am

Hello,
I have a 4.0.1 setup and I would like to update to 4.1.0. I ran sql update script update/database/mysql/4.1/dbupdate-4.0.0-to-4.1.0.sql (I deleted lines "from 4.0.1" and "from 3.10.1" because they crashed the script). I copied all files from ezpublish-4.1.0-gpl.tar.gz except settings/. I have ezComponents 2008.2.1 configured for apache and cli.

Now I have to run system upgrade scripts. From ezpublish root (/var/www/extranet), I run

php update/common/scripts/4.1/addlockstategroup.php -d

and I get this message :

Fatal error: Call to a member function attribute() on a non-object in /var/www/extranet/update/common/scripts/4.1/addlockstategroup.php on line 58

Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.
Error: (eZDB::instance)
Database implementation not supported: ezmysqli

Warning: (PHP)
Invalid argument supplied for foreach() in /var/www/extranet/kernel/classes/ezcontentlanguage.php on line 202

Warning: (eZContentLanguage::prioritizedLanguages)
Language 'eng-GB' does not exist or is not used!

Warning: (PHP)
Invalid argument supplied for foreach() in /var/www/extranet/kernel/private/classes/ezcontentobjectstategroup.php on line 122

No timing points defined
Peak memory usage: 3,057.2344 KB
Group ini_load:
Load cache: 0.0067 sec (13.7235%), 0.0022 avg sec (3)
FindInputFiles: 0.0031 sec (6.3607%), 0.0010 avg sec (3)

Total script time: 0.0488 sec

Other scripts don't work too. I tried the update on a fresh install of 4.0.1 and I get the same error so I guess I'm doing something wrong. What I'm supposed to do ?

Thank you.

edit: I forgot this : i'm running php 5.2.6-1+lenny2 (with apache 2.2.9 and mysql 5.0.51a) under debian lenny.

Marti Pinto

Tuesday 29 June 2010 12:46:45 am

Hello,

I have similar problems with the update.

My errors are:

php update/common/scripts/4.1/addlockstategroup.php -d
Fatal error: Call to a member function attribute() on a non-object in /opt/apache/htdocs/icc2/update/common/scripts/4.1/addlockstategroup.php on line 58
Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.
Warning: ()
Extension 'bpce_access' does not exist, looked for directory 'extension/bpce_access'
Error: (eZDB::instance)
Database implementation not supported: ezoracle
Warning: (PHP)
Invalid argument supplied for foreach() in /opt/apache/htdocs/icc2/kernel/classes/ezcontentlanguage.php on line 202
Warning: (eZContentLanguage::prioritizedLanguages)
Language 'cat-ES' does not exist or is not used!
Warning: (PHP)
Invalid argument supplied for foreach() in /opt/apache/htdocs/icc2/kernel/private/classes/ezcontentobjectstategroup.php on line 122
No timing points defined
Peak memory usage: 2,694.9609 KB
Group ini_load:
Load cache: 0.0039 sec (7.8770%), 0.0019 avg sec (2)
FindInputFiles: 0.0013 sec (2.7001%), 0.0007 avg sec (2)
Total script time: 0.0490 sec

Can you resolve this problems? Can you find the solution?

Thanks in advance!

Denitsa M.

Tuesday 29 June 2010 5:14:17 am

I had the same problem in update to 4.3. This turned out to be actually an error during database connection, because I had forgotten to give permissions for mysql user to access project's database. I would suggest that you first see if your database settings are correct and check if the user you specified there exists and if yes - does this user have permissions on your project's database. Hope this helps.

Deni.

Iguana IT - http://www.iguanait.com