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.

eZ debug

Timing: Jan 18 2025 02:57:46
Script start
Timing: Jan 18 2025 02:57:46
Module start 'layout'
Timing: Jan 18 2025 02:57:46
Module start 'content'
Timing: Jan 18 2025 02:57:47
Module end 'content'
Timing: Jan 18 2025 02:57:47
Script end

Main resources:

Total runtime0.5446 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.1719152.6406
Module start 'layout' 0.00600.0028 741.812539.4844
Module start 'content' 0.00880.5255 781.2969541.4922
Module end 'content' 0.53430.0103 1,322.789112.1406
Script end 0.5445  1,334.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.5654160.0002
Check MTime0.00120.2265160.0001
Mysql Total
Database connection0.00130.236010.0013
Mysqli_queries0.490990.1317600.0082
Looping result0.00050.0964580.0000
Template Total0.518695.220.2593
Template load0.00200.361020.0010
Template processing0.516694.854720.2583
Template load and register function0.00020.028610.0002
states
state_id_array0.00030.060410.0003
state_identifier_array0.00070.126920.0003
Override
Cache load0.00160.2901150.0001
Sytem overhead
Fetch class attribute can translate value0.00050.099320.0003
Fetch class attribute name0.00110.199550.0002
XML
Image XML parsing0.00060.114720.0003
class_abstraction
Instantiating content class attribute0.00000.001750.0000
General
dbfile0.00120.2209170.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs