Forums / Install & configuration / Upgradescripts 3.3-5 to 3.4.0 produce error

Upgradescripts 3.3-5 to 3.4.0 produce error

Author Message

Vivienne van Velzen

Thursday 24 February 2005 1:37:01 am

I placed this as an article comment as well, sorry (don't know how to remove it).

I'm following the complete upgrade-path from 3.3-4 to 3.5.0 (via 3.3-5, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.4.4). Installation of 3.3-5 went well, but when I tried to run the update-scripts from 3.3-5 to 3.4.0 I get the following message:

PHP Fatal error: [] operator not supported for strings in EZP/lib/ezutils/classes/ezini.php on line 632

Anyone know how to solve this?

Roy Bøhmer

Thursday 24 February 2005 1:42:57 pm

I've had similar trouble with the update-scripts using phpMyAdmin. Manually removing the comments starting with -- do the trick for me.

roy

Vivienne van Velzen

Thursday 24 February 2005 11:26:33 pm

Thanks for the reply, but I don't have a problem with the MySQL update scripts. It's the PHP scripts (in /update/common/scripts) that produce the error. Sorry, should have said. Has anyone else come across this problem?

Vivienne van Velzen

Monday 28 February 2005 12:23:00 am

Can anyone help? I'd really like to upgrade to the latest release, but it just won't work. If you need more information, please ask.
TIA,

Vivienne

Vivienne van Velzen

Thursday 03 March 2005 1:11:11 am

Maybe someone from the EZ team? I can't imagine that I'm the first one to experience this problem.

Bård Farstad

Thursday 03 March 2005 3:54:49 am

Which PHP version are you using? Please check the PHP version of the CLI (command line) version of PHP as well.

--bård

Documentation: http://ez.no/doc

Vivienne van Velzen

Thursday 03 March 2005 6:31:13 am

PHP as shown in EZP admin-interface: 4.3.3
PHP as shown on CLI: 4.3.3

Bruce Morrison

Thursday 03 March 2005 3:54:20 pm

Given the error message and the file it occured in I suspect that ez is reading an ini file value, expecting an array and getting a string.

You may have to add some debugging to lib/ezutils/classes/ezini.php to file which var in which file is causing the issue.

Which update script are you running when this error occurs?

Cheers
Bruce

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

Vivienne van Velzen

Monday 07 March 2005 11:54:05 pm

Hi Bruce,

I tried all the scripts that are mentioned in the upgrade-documentation for 3.4:
- updateremoteid.php
- updatesession.php
- updatetoplevel.php
- addorderemail.php

They all produce the same errormessage.

Vivienne

Bruce Morrison

Thursday 10 March 2005 11:31:50 pm

Hi Vivienne

> They all produce the same error message.
It seems there is a string in an ini file where ez is expecting an array. Given that it is happening for all update scripts I'd start checking the siteaccess and override site.ini files against the distribution ones in the settings directory.

Cheers
Bruce

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

Vivienne van Velzen

Monday 14 March 2005 1:56:52 am

Hi Bruce,

I moved all my *.ini.append.php files to a different folder, after which the updatescript runs. This would indicate that there is indeed something wrong with my *.ini.append.php scripts. I then minimalised the site.ini.append.php file to:

[DatabaseSettings]
Database=ezpublish_tmp

And placed this file in /settings/siteaccess/mysite/
This is now the only file in this directory. I ran the updatescript again and the same errormessage appeared. To minimalise even further, I even took out the text above, and still the updatescript gives the error. It seems that the only way that I can avoid the errormessage is to remove all *.ini.append.php scripts. I'm guessing that's not the way to go about it, though.

I'm stumped, please help :-(.

Vivienne

Vivienne van Velzen

Wednesday 23 March 2005 12:30:16 am

OK, I don't like adding another entry just to get this post back in the picture, but I'm still not able to run the upgradescripts, even with minimalised *.ini.append.php scripts.
Does anyone have an idea what the cause of this strange (and apparently unique) behaviour is?
TIA,

Vivienne

Vivienne van Velzen

Wednesday 13 April 2005 1:54:01 am

OK, again kicking this post back to the top. I REALLY want to upgrade, but apparently am not able to when I have override scripts in the settings/siteaccess/design directory. As mentioned before, I tried with a completely stripped down version of site.ini.append.php and that didn't work either. Is it possible to upgrade without the scripts in the directory and after the upgrade place them back? Bit of a hack, but I'm at my wits end. Once again: please help :-(.

Vivienne

eZ debug

Timing: Jan 18 2025 11:03:57
Script start
Timing: Jan 18 2025 11:03:57
Module start 'content'
Timing: Jan 18 2025 11:03:57
Module end 'content'
Timing: Jan 18 2025 11:03:58
Script end

Main resources:

Total runtime0.8699 sec
Peak memory usage4,096.0000 KB
Database Queries228

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 591.2344180.8047
Module start 'content' 0.00670.7184 772.0391727.7813
Module end 'content' 0.72510.1447 1,499.8203349.2813
Script end 0.8698  1,849.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00470.5366210.0002
Check MTime0.00150.1672210.0001
Mysql Total
Database connection0.00080.088610.0008
Mysqli_queries0.774789.05512280.0034
Looping result0.00220.25102260.0000
Template Total0.836696.220.4183
Template load0.00230.262420.0011
Template processing0.834395.911120.4171
Template load and register function0.00020.026010.0002
states
state_id_array0.00160.182110.0016
state_identifier_array0.00080.086920.0004
Override
Cache load0.00190.2176650.0000
Sytem overhead
Fetch class attribute can translate value0.00170.200950.0003
Fetch class attribute name0.00140.1616150.0001
XML
Image XML parsing0.00210.241450.0004
class_abstraction
Instantiating content class attribute0.00000.0035160.0000
General
dbfile0.00540.6257340.0002
String conversion0.00000.000830.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
13content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
19content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
9content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 46
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs