Forums / Install & configuration / Can't run most CLI scripts

Can't run most CLI scripts

Author Message

André Bischof

Thursday 23 December 2004 10:24:36 am

Hello,

I followed the upgrade article
http://ez.no/ez_publish/download/changelogs/ez_publish_3_5/upgrading
to upgrade from 3.4.4 (9297) to 3.5.0 but can't run most of the scripts in bin/php, update/common/scripts/ or additional scripts like importimages.php

Every time I try I get

root@linux:/var/www/domain# php -f importimages.php

Fatal error: eZ publish did not finish its request
The execution of eZ publish was abruptly ended, the debug output is present below.
root@linux:/var/www/domain#

As one can see, no debug output is shown - do I have to change this in the ini-Settings? My php-error-log remains empty as well.

I run Debian-Linux with
ii php4 4.3.10-2 and
ii php4-cli 4.3.10-2

Any clues?
Thanks for helping,
André

Personal weblog and more: http://bischof.homelinux.net

André Bischof

Saturday 25 December 2004 10:04:34 am

I found the solution myself:

Under Debian, the installation of PHP-CLI has no default support of the mysql extension - one has to uncomment it in the php.ini for CLI (/etc/php4/cli/php.ini).

Unfortunatly ezpublish gives no appropriate error message, it just aborts script-execution as quoted above - an error like this would have saved me half a day's time ;-)

But maybe this posting can help some other cli-newbies?

Regards,
André

Personal weblog and more: http://bischof.homelinux.net