Fatal error with ezpgenerateautoloads.php

Author Message

Lea Reynaud

Tuesday 13 April 2010 12:58:31 am

Hi,

I'm trying to create a design extension with a custom operator. Since my operator is not registered, I tried to regenerate the autoloads using, as root, the command line:

php bin/php/ezpgenerateautoloads.php

which unfortunately returned: "Fatal error: Class 'ezcConsoleInput' not found in /var/www/my/path/bin/php/ezpgenerateautoloads.php on line 48"

Does anybody knows how I can fix this or, at least, how I can have my operator being registered without using this script?

Thank you.

Lea

André R.

Tuesday 13 April 2010 4:00:53 am

ezcConsoleInput is a ezc class, aka eZ Component, so in other words it seems that you don't have eZ Components installed or correctly set up.

Either use eZ Publish pre bundled with eZ Components or install it from PEAR as described here: http://www.ezcomponents.org/docs/install#installation

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

Lea Reynaud

Wednesday 14 April 2010 2:13:22 am

Thank you, André. It worked just fine.

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 29 2025 23:49:33
Script start
Timing: Jan 29 2025 23:49:33
Module start 'layout'
Timing: Jan 29 2025 23:49:33
Module start 'content'
Timing: Jan 29 2025 23:49:33
Module end 'content'
Timing: Jan 29 2025 23:49:33
Script end

Main resources:

Total runtime0.0108 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0037 588.2656151.2266
Module start 'layout' 0.00370.0017 739.492236.6797
Module start 'content' 0.00540.0041 776.171990.0938
Module end 'content' 0.00950.0013 866.265633.9922
Script end 0.0108  900.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002219.9178140.0002
Check MTime0.00109.5956140.0001
Mysql Total
Database connection0.00054.196010.0005
Mysqli_queries0.001715.916230.0006
Looping result0.00000.075110.0000
Template Total0.00109.110.0010
Template load0.00087.133210.0008
Template processing0.00021.916910.0002
Override
Cache load0.00055.039610.0005
General
dbfile0.00076.280880.0001
String conversion0.00000.048640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs