Upgrading 3.5.1 -> 3.6.0, upgrade script issues...

Author Message

Uchendu Nwachukwu

Saturday 30 July 2005 5:55:28 pm

I installed eZ Publish 3.5.1 on my hosting provider's platform.

I'm trying to migrate to eZ Publish 3.6.0 (I like the new template language and it appears that all the docs going forward will be geared towards 3.6.0 so I want to be ready.)

I have the distribution unpacked and in its own folder, and I've replicated the database and the relevant custom folders on the new install.

Now all that remains is to run the migration scripts. Unfortunately, therein lies my problem. My hosting provider does not provide shell access, so I've had to install PhpShell 2.0 to perform the shell commands. Unfortunately, every time I execute convertxmllinks.php, I get this:

PHP Warning:  Zend Optimizer for PHP 4.4.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer-2.5.7/php-4.4.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0
Content-type: text/html
X-Powered-By: PHP/4.4.0

Please run this script from the root document directory!

Does anyone know how I can go about fixing this? Is there a way to run these scripts from a web browser directly?

Tim Dickinson

Sunday 31 July 2005 3:08:16 am

Well I've never used phpshell but with standard ssh, before executing the script you first need to be in the root directory of your site. So that would mean typing (on a standard shared hosting linux box):

cd /home/youraccount/public_html

The above is if your ezpublish installation is located in your main directroy, just modify it to be yohur subdirectory if you installed in there instead.

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Uchendu Nwachukwu

Monday 01 August 2005 6:55:28 am

My ezp install is located in the htdocs/v3/ directory, so that's where I run it from.

Luc Chase

Monday 01 August 2005 10:52:04 am

PHP 4.4 with EZP 3.6 ??

The Web Application Service Provider

Uchendu Nwachukwu

Monday 08 August 2005 5:35:58 pm

Is there a problem with that combination?

Paul Borgermans

Tuesday 09 August 2005 1:35:52 am

Yes,

More:

http://ez.no/community/news/ez_publish_3_7_0_rc1

hth

-paul

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

Uchendu Nwachukwu

Tuesday 09 August 2005 3:23:01 pm

Oh, I see. I guess I'll stick with 3.5.1 for the time being then.

Uchendu Nwachukwu

Tuesday 25 October 2005 12:55:04 pm

So now ezP 3.7.0 is out and it works with PHP 4.4.0. I'm trying to do this upgrade, but I'm running into the same problem.

Is there anyway to run these scripts from a web browser? My hpst will not allow them to be run from the command line.

Thanks in advance.

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 18 2025 19:07:42
Script start
Timing: Jan 18 2025 19:07:42
Module start 'layout'
Timing: Jan 18 2025 19:07:42
Module start 'content'
Timing: Jan 18 2025 19:07:43
Module end 'content'
Timing: Jan 18 2025 19:07:43
Script end

Main resources:

Total runtime0.8325 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 589.2813152.6563
Module start 'layout' 0.00720.0028 741.937539.5078
Module start 'content' 0.01000.8209 781.4453661.8359
Module end 'content' 0.83090.0015 1,443.281316.1094
Script end 0.8325  1,459.3906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4330160.0002
Check MTime0.00160.1880160.0001
Mysql Total
Database connection0.00090.112710.0009
Mysqli_queries0.765291.9129760.0101
Looping result0.00090.1119740.0000
Template Total0.795895.620.3979
Template load0.00210.247820.0010
Template processing0.793795.334220.3968
Template load and register function0.00030.031010.0003
states
state_id_array0.00190.231310.0019
state_identifier_array0.00120.139120.0006
Override
Cache load0.00170.2056340.0001
Sytem overhead
Fetch class attribute can translate value0.00090.108640.0002
Fetch class attribute name0.00150.1808100.0002
XML
Image XML parsing0.00130.154740.0003
class_abstraction
Instantiating content class attribute0.00000.0036100.0000
General
dbfile0.00120.1382230.0001
String conversion0.00000.000840.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs