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 [email protected]

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.