Forums / Install & configuration / problems running update scripts

problems running update scripts

Author Message

Alessandro Cipriani

Monday 14 June 2004 5:35:40 am

hi all
i'm updating from 3.3-1 to 3.3-5

i updated the db with no problem
i'm trying now to run the update scripts, but with errors.
i'm working under w2k, and this is the output of the dos prompt:

C:\Programmi\eZpublish\ezpublish\update\common\scripts>c:\programmi\ezpublish\ph
p\php -C updateattributefilter.php
Content-type: text/html
X-Powered-By: PHP/4.3.4

<br />
<b>Warning</b>:  main(lib/ezutils/classes/ezextension.php): failed to open strea
m: No such file or directory in <b>C:\Programmi\eZpublish\ezpublish\update\commo
n\scripts\updateattributefilter.php</b> on line <b>41</b><br />
<br />
<b>Warning</b>:  main(): Failed opening 'lib/ezutils/classes/ezextension.php' fo
r inclusion (include_path='.;c:\php4\pear') in <b>C:\Programmi\eZpublish\ezpubli
sh\update\common\scripts\updateattributefilter.php</b> on line <b>41</b><br />
<br />
<b>Warning</b>:  main(lib/ezutils/classes/ezmodule.php): failed to open stream:
No such file or directory in <b>C:\Programmi\eZpublish\ezpublish\update\common\s
cripts\updateattributefilter.php</b> on line <b>42</b><br />
<br />
<b>Warning</b>:  main(): Failed opening 'lib/ezutils/classes/ezmodule.php' for i
nclusion (include_path='.;c:\php4\pear') in <b>C:\Programmi\eZpublish\ezpublish\
update\common\scripts\updateattributefilter.php</b> on line <b>42</b><br />
<br />
<b>Warning</b>:  main(lib/ezutils/classes/ezcli.php): failed to open stream: No
such file or directory in <b>C:\Programmi\eZpublish\ezpublish\update\common\scri
pts\updateattributefilter.php</b> on line <b>43</b><br />
<br />
<b>Warning</b>:  main(): Failed opening 'lib/ezutils/classes/ezcli.php' for incl
usion (include_path='.;c:\php4\pear') in <b>C:\Programmi\eZpublish\ezpublish\upd
ate\common\scripts\updateattributefilter.php</b> on line <b>43</b><br />
<br />
<b>Warning</b>:  main(kernel/classes/ezscript.php): failed to open stream: No su
ch file or directory in <b>C:\Programmi\eZpublish\ezpublish\update\common\script
s\updateattributefilter.php</b> on line <b>44</b><br />
<br />
<b>Warning</b>:  main(): Failed opening 'kernel/classes/ezscript.php' for inclus
ion (include_path='.;c:\php4\pear') in <b>C:\Programmi\eZpublish\ezpublish\updat
e\common\scripts\updateattributefilter.php</b> on line <b>44</b><br />
<br />
<b>Fatal error</b>:  Undefined class name 'ezcli' in <b>C:\Programmi\eZpublish\e
zpublish\update\common\scripts\updateattributefilter.php</b> on line <b>46</b><b
r />

any hint? how can i run these scripts?

best regards
alessandro

Oscar Cebriá

Friday 18 June 2004 2:11:39 am

Hi alessandro,

I have the same problem here, but working under RedHat Fedora Core 1. I have tried Redhat 9 as well, but with no luck. Please, if you find the solution post it to this forum so we can use it...

Best regards,
Oscar.

andre müller

Monday 28 June 2004 2:21:44 pm

same problem - but no solution. upgrading from 3.2 to 3.4 on rhel 3

Oscar Cebriá

Tuesday 29 June 2004 2:11:37 am

Hi Andre,

I solved the problem deleting the php rpm package and compiling a new one with the cli interface as the main interface. The rpm package included with Red Hat does not have the cli interface but the cgi interface as thefault, so ez cannot work properly. Have a look at the requirements to check wheter you have the right relases of php and apache to work with ez.

best regards,
Oscar.

andre müller

Tuesday 29 June 2004 2:57:34 am

dear osacr
thanks very much! i think zhat will help me a lot. i'm a bit afraid though to recompile my redhat php. i'll try to install a new version of php in a different location and not as apache module. hope this will work..
thanks again!

Tore Skobba

Thursday 08 July 2004 7:52:55 am

Hmm anyone have found any ways to get these update scripts to run on a default Red Hat 9 installation. I do not have the neccesary controll on the server to recompile PHP etc..

Bruce Morrison

Thursday 08 July 2004 7:05:19 pm

See http://ez.no/community/forum/suggestions/workaround_for_installations_without_phpcli

Cheers
Bruce http://www.designit.com.au/

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Kåre Køhler Høvik

Thursday 08 July 2004 11:07:06 pm

About the top post, the php file is run from the wrong directory.

C:\Programmi\eZpublish\ezpublish\update\common\scripts>c:\programmi\ezpublish\php\php -C updateattributefilter.php

Try this instead:

C:\Programmi\eZpublish\ezpublish>c:\programmi\ezpublish\php\php -C update\common\scripts\updateattributefilter.php

Kåre Høvik

eZ debug

Timing: Jan 19 2025 09:58:04
Script start
Timing: Jan 19 2025 09:58:04
Module start 'content'
Timing: Jan 19 2025 09:58:06
Module end 'content'
Timing: Jan 19 2025 09:58:06
Script end

Main resources:

Total runtime1.8857 sec
Peak memory usage4,096.0000 KB
Database Queries217

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.0703180.8281
Module start 'content' 0.00671.6373 769.8984754.1875
Module end 'content' 1.64390.2417 1,524.0859340.4453
Script end 1.8856  1,864.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.2262210.0002
Check MTime0.00150.0806210.0001
Mysql Total
Database connection0.00050.025010.0005
Mysqli_queries1.789894.91452170.0082
Looping result0.00270.14112150.0000
Template Total1.854698.420.9273
Template load0.00210.109220.0010
Template processing1.852598.242220.9263
Template load and register function0.00010.005310.0001
states
state_id_array0.00130.070510.0013
state_identifier_array0.00120.063520.0006
Override
Cache load0.00170.0927420.0000
Sytem overhead
Fetch class attribute can translate value0.00220.114770.0003
Fetch class attribute name0.00150.0797110.0001
XML
Image XML parsing0.00240.127370.0003
class_abstraction
Instantiating content class attribute0.00000.0008110.0000
General
dbfile0.00410.2158380.0001
String conversion0.00000.000430.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
15content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 38
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs