cant run script for regenerate autoload

Author Message

Erland Flaten

Wednesday 18 May 2011 12:04:01 am

I cant un the script in step 5 refered in the upgradedocuments on:http://doc.ez.no/eZ-Publish/Upgrading/Direct-upgrading-to-4.5-from-4.1-4.2-and-4.3/Direct-upgrading-from-4.1-to-4.5

The error is:ezpublish15:~/ezp4_2011$ php bin/php/ezpgenerateautoloads.php --extensionPHP Fatal error: Call to undefined function iconv_substr() in /home/sites/ezfabrikke.ezpublish15.no.ezdeal.no/ezp4_2011/lib/ezc/ConsoleTools/src/input.php on line 589

"ezp4_2011" is the sitefolder of the upgraded ez installationI have also mailed Webdeal if there is something with permissions to run script or whatever it could be that the server host should look into.

Erland Flaten
Lilllehammer, Norway

André R.

Wednesday 18 May 2011 12:34:14 am

As the functions hints about, you need to enable iconv extrension for php.

It is needed for UTF8 support.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Erland Flaten

Wednesday 18 May 2011 2:14:40 am

Thanks. Is eneabling this php extension something that needs to be done by the serverprovider or is it in the settings somewhere?

Erland Flaten
Lilllehammer, Norway

Erland Flaten

Wednesday 18 May 2011 4:52:57 am

The regenerate autoload worked now. Sometings was fixed at the host.

 Scanning for PHP-files.
Scan complete. Found 267 PHP files.
Searching for classes (tokenizing).
Found 129 classes, added 129 of them to the autoload array.

Erland Flaten
Lilllehammer, Norway

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.