Forums / Install & configuration / cant run script for regenerate autoload

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

eZ debug

Timing: Jan 17 2025 23:55:38
Script start
Timing: Jan 17 2025 23:55:38
Module start 'content'
Timing: Jan 17 2025 23:55:39
Module end 'content'
Timing: Jan 17 2025 23:55:39
Script end

Main resources:

Total runtime0.7952 sec
Peak memory usage4,096.0000 KB
Database Queries197

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 587.8516180.8281
Module start 'content' 0.00590.6579 768.6797546.5859
Module end 'content' 0.66380.1313 1,315.2656336.7500
Script end 0.7951  1,652.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.5334210.0002
Check MTime0.00160.2018210.0001
Mysql Total
Database connection0.00060.076610.0006
Mysqli_queries0.729691.74921970.0037
Looping result0.00210.25841950.0000
Template Total0.766896.420.3834
Template load0.00210.259320.0010
Template processing0.764796.167920.3823
Template load and register function0.00010.018510.0001
states
state_id_array0.00050.066510.0005
state_identifier_array0.00100.130920.0005
Override
Cache load0.00160.2038150.0001
Sytem overhead
Fetch class attribute can translate value0.00120.157030.0004
Fetch class attribute name0.00140.174350.0003
XML
Image XML parsing0.00100.125230.0003
class_abstraction
Instantiating content class attribute0.00000.001450.0000
General
dbfile0.00260.3272280.0001
String conversion0.00000.000630.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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