Forums / Install & configuration / Problem running updatemultilingual.php script

Problem running updatemultilingual.php script

Author Message

Guy Brun

Wednesday 05 July 2006 1:33:21 am

I am trying to upgrade from eZ p. 3.7.3 to eZ p. 3.8.0

I am following the upgrade guidelines from ez.no

When running php -C update/common/scripts/updatemultilingual.php -s admin i get fatal error: eZ publish did not finish its request
The execution of eZ publish was abruptly ended, the debug output is present below.

but no debug output

I tried to insert error_reporting( 2047 ); in the updatescript but no difference.

http://ez.no/community/forum/developer/upgrade_3_8_0/re_upgrade_3_8_0__1

I have php4-cli installed

- GSB

Kristof Coomans

Wednesday 05 July 2006 4:35:48 am

Hi Guy

Enable display_errors ( http://www.php.net/manual/en/ref.errorfunc.php#ini.display_errors ) in php.ini and try again.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Guy Brun

Wednesday 05 July 2006 11:21:27 pm

Hi Kristof and thanks for your reply

I checked both php.ini files for apache2 and cli. They both already had display_errors=On

Kristof Coomans

Thursday 06 July 2006 2:12:55 am

Hello Guy

Can you execute this on the command line:

php -i | more

Look for "Configuration File (php.ini)". Did you check the file mentioned there?

Do you have much experience with PHP and it's configuration? Then we probably can exclude any problems related to the PHP configuration, so please tell us ;-)

The fatal error could be related to this bug: http://ez.no/community/bugs/memory_leak_in_updatemultilingual_php. Please try eZ publish 3.8.1 instead and let us know if it works now.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Guy Brun

Thursday 06 July 2006 5:16:45 am

I tried with eZ publish 3.8.1 and this gave me en error output:

Warning: array_key_exists(): The second argument should be either an array or an object in /srv/www/w3/kernel/common/i18n.php on line 81

I searched for array_key_exists(): in the forum and found one related article which mentioned ldap groups mapping
When I checked the users in my site Inoticed that some admin users have a lot of locations pointing to the anonymous group node. I am also using ldap auth placing all users in anonymous group as default.

I am starting to think that something is wrong with the database. The admin interface is also getting slower and slower.

Output of php -i | grep Configuration:
Configuration File (php.ini) Path => /etc/php4/cli/php.ini
which has display_error enabled

Thanks,
-GSB

Xavier Dutoit

Thursday 06 July 2006 7:43:51 am

Hi,

Don't know if it's related, but I had to increase the memory so it could update the data.

@ini_set( 'memory_limit', '71M' );

71 is a rather random number roughly equal 42*2.

X+

http://www.sydesy.com

Guy Brun

Thursday 06 July 2006 11:56:57 pm

Hi Xavier,

I have now increased mem limit to 71. For now it looks like the admin site is a little bit faster with no fatal errors.

Thanks,
-GSB

Xavier Dutoit

Friday 07 July 2006 3:52:42 am

Hi,

the 71 was for the update script. For the normal config, you can lower it to something like 42.

42 is a rather random number roughly equals 42*1 ;)

X+

http://www.sydesy.com

Yngve Bergheim

Wednesday 26 July 2006 3:42:50 am

I get the same error upgrading from 3.7.3 to 3.8.2.

I got the error from line 135, $script->initialize();
in update/common/scripts/updatemultilingual.php

I guess it have something to do with the database, switching to the new database that comes with 3.8.2 works just fine, but when I try to use the old 3.7.3 database I get the error. Does someone know how to turn on the display errors? I don't get an error in eZ's error.log.

eZ debug

Timing: Jan 18 2025 19:11:15
Script start
Timing: Jan 18 2025 19:11:15
Module start 'content'
Timing: Jan 18 2025 19:11:15
Module end 'content'
Timing: Jan 18 2025 19:11:16
Script end

Main resources:

Total runtime0.1988 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 589.3906180.8047
Module start 'content' 0.00790.0056 770.1953102.1016
Module end 'content' 0.01350.1852 872.2969530.6250
Script end 0.1987  1,402.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00391.9534200.0002
Check MTime0.00180.8852200.0001
Mysql Total
Database connection0.00080.408110.0008
Mysqli_queries0.142371.60161410.0010
Looping result0.00150.73801390.0000
Template Total0.184893.010.1848
Template load0.00110.562010.0011
Template processing0.183692.393110.1836
Override
Cache load0.00090.429710.0009
Sytem overhead
Fetch class attribute can translate value0.00140.688310.0014
XML
Image XML parsing0.00030.138310.0003
General
dbfile0.00401.9980200.0002
String conversion0.00000.003530.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs