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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:15:18
Script start
Timing: Jan 18 2025 11:15:18
Module start 'layout'
Timing: Jan 18 2025 11:15:18
Module start 'content'
Timing: Jan 18 2025 11:15:19
Module end 'content'
Timing: Jan 18 2025 11:15:19
Script end

Main resources:

Total runtime0.8731 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0091 588.0313152.6406
Module start 'layout' 0.00910.0041 740.671939.4766
Module start 'content' 0.01310.8585 780.1484541.8594
Module end 'content' 0.87160.0014 1,322.007812.1484
Script end 0.8730  1,334.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4551160.0002
Check MTime0.00150.1743160.0001
Mysql Total
Database connection0.00080.092110.0008
Mysqli_queries0.801391.7765590.0136
Looping result0.00060.0724570.0000
Template Total0.809392.720.4047
Template load0.00260.303420.0013
Template processing0.806792.397420.4033
Template load and register function0.00030.029210.0003
states
state_id_array0.00120.137010.0012
state_identifier_array0.00200.224120.0010
Override
Cache load0.00230.2662410.0001
Sytem overhead
Fetch class attribute can translate value0.00100.109030.0003
Fetch class attribute name0.00140.156130.0005
XML
Image XML parsing0.00070.079030.0002
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00640.7357100.0006
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs