Forums / Developer / Fatal error with ezpgenerateautoloads.php

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.