3.5: fatal error running updateiscontainer.php

Author Message

Graham Tillotson

Monday 10 January 2005 6:20:07 am

I'm trying to upgrade my site from 3.4.1 to 3.5 and I get the following error when I try to run the updateiscontainer.php script:

suse82:/home/webadmin/sites/ezpublish # ./update/common/scripts/updateiscontainer.php northland_admin
Content-type: text/html
X-Powered-By: PHP/4.3.1

<b>Warning</b>: main(lib/ezutils/classes/ezcli.php) [<a href='http://www.php.net/function.main'>function.main</a>]: failed to create stream: No such file or directory in <b>/home/webadmin/sites/ezpublish/update/common/scripts/updateiscontainer.php</b> on line <b>42</b>

<b>Warning</b>: main() [<a href='http://www.php.net/function.main'>function.main</a>]: Failed opening 'lib/ezutils/classes/ezcli.php' for inclusion (include_path='.:/usr/share/php') in <b>/home/webadmin/sites/ezpublish/update/common/scripts/updateiscontainer.php</b> on line <b>42</b>

<b>Warning</b>: main(kernel/classes/ezscript.php) [<a href='http://www.php.net/function.main'>function.main</a>]: failed to create stream: No such file or directory in <b>/home/webadmin/sites/ezpublish/update/common/scripts/updateiscontainer.php</b> on line <b>43</b>

<b>Warning</b>: main() [<a href='http://www.php.net/function.main'>function.main</a>]: Failed opening 'kernel/classes/ezscript.php' for inclusion (include_path='.:/usr/share/php') in <b>/home/webadmin/sites/ezpublish/update/common/scripts/updateiscontainer.php</b> on line <b>43</b>

<b>Fatal error</b>: Undefined class name 'ezcli' in <b>/home/webadmin/sites/ezpublish/update/common/scripts/updateiscontainer.php</b> on line <b>46</b>

suse82:/home/webadmin/sites/ezpublish #

I'm running SUSE 8.2. The site comes up, but I can't see any content on the admin side, and when I try to set the Container flag (edit my classes) the classes come up blank (no values for Name, Identifier, or Object Name Pattern) and none of the attributes show up. I know the classes/attributes are there because I can see the content displayed on the public/user site.

Any help would be appreciated.

DUO : CONSULTING
Web content management experts
www.duoconsulting.com

Paul Borgermans

Monday 10 January 2005 8:55:07 am

I think your php version called is not the cli version. Did you compile php yourself? Did you do an on-line update in which your php binary got updated? For older versions of SuSE up to 9.1 at least, there is no php cli binary and so you better compile php yourself.

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Björn Dieding@xrow.de

Tuesday 11 January 2005 4:14:45 am

try this...

suse82:/home/webadmin/sites/ezpublish # php -C update/common/scripts/updateiscontainer.php

if you get an error about the wrong API you need to install the right one ... like paul said

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Graham Tillotson

Wednesday 12 January 2005 11:47:32 am

I think I'm closer now, but I have new errors. I upgraded a bit by compiling PHP and Apache, and these are working properly, but when I try to run the update (updateiscontainer.php northland_admin) I get the following:

Failed to run update query
No database handler was found for ''

Sorry if this is an obvious question. I may have compiled Apache or PHP wrong.

Thanks,
GRT

DUO : CONSULTING
Web content management experts
www.duoconsulting.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 20 2025 00:26:59
Script start
Timing: Jan 20 2025 00:26:59
Module start 'layout'
Timing: Jan 20 2025 00:26:59
Module start 'content'
Timing: Jan 20 2025 00:27:00
Module end 'content'
Timing: Jan 20 2025 00:27:00
Script end

Main resources:

Total runtime0.9419 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.4063152.6563
Module start 'layout' 0.00480.0025 742.062539.5078
Module start 'content' 0.00720.9334 781.5703602.7656
Module end 'content' 0.94060.0012 1,384.335916.1094
Script end 0.9418  1,400.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3138160.0002
Check MTime0.00120.1314160.0001
Mysql Total
Database connection0.00070.077210.0007
Mysqli_queries0.883693.8075620.0143
Looping result0.00060.0615600.0000
Template Total0.916597.320.4583
Template load0.00190.205220.0010
Template processing0.914697.103020.4573
Template load and register function0.00010.015110.0001
states
state_id_array0.00070.074910.0007
state_identifier_array0.00060.067420.0003
Override
Cache load0.00170.1756340.0000
Sytem overhead
Fetch class attribute can translate value0.00060.059430.0002
Fetch class attribute name0.00120.127070.0002
XML
Image XML parsing0.00280.301230.0009
class_abstraction
Instantiating content class attribute0.00000.001780.0000
General
dbfile0.00240.2530290.0001
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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs