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
|