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.