Forums / Install & configuration / 3.5: fatal error running updateiscontainer.php

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

eZ debug

Timing: Jan 19 2025 20:00:13
Script start
Timing: Jan 19 2025 20:00:13
Module start 'content'
Timing: Jan 19 2025 20:00:13
Module end 'content'
Timing: Jan 19 2025 20:00:13
Script end

Main resources:

Total runtime0.1457 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.2031180.8047
Module start 'content' 0.00600.0074 770.007897.9766
Module end 'content' 0.01350.1321 867.9844528.3750
Script end 0.1456  1,396.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00312.1148200.0002
Check MTime0.00120.8257200.0001
Mysql Total
Database connection0.00070.460110.0007
Mysqli_queries0.100769.16451410.0007
Looping result0.00130.87471390.0000
Template Total0.131790.410.1317
Template load0.00080.572510.0008
Template processing0.130989.834510.1309
Override
Cache load0.00050.370710.0005
Sytem overhead
Fetch class attribute can translate value0.00060.400810.0006
XML
Image XML parsing0.00020.151710.0002
General
dbfile0.00664.5195200.0003
String conversion0.00000.004730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs