autoload issue

autoload issue

Wednesday 05 January 2011 12:50:31 pm - 4 replies

Author Message

Andrew Duck

Wednesday 05 January 2011 3:11:27 pm

When you regenerate the autoloads via the command line your class eZSplash should have been added to var/autoload/ezp_extension.php

Check that file to make sure that it is actually present in there.

In regard to the fatal error when trying to regenerate from the web interface, check your apache error logs rather than the ez publish logs and you should find what php error caused that fatal error. Let us know what it is.

Andrew Duck, Executive Director, Quiqcorp Limited
eZ Certified Developer and Trainer.
Member of the Community Project Board
http://quiqcorp.com | http://twitter.com/andrewduck

Robert Reeve

Thursday 06 January 2011 12:21:36 am

Good morning Andrew

Thanks for your reply!
My class has not been added to var/autoload/ezp_extension.php and i just checked my apache error logs. There's nothing interesting in there..

Steven E. Bailey

Thursday 06 January 2011 1:02:34 am

Try php bin/php/ezpgenerateautoload.php -e to generate the autoloads for the extensions. Then check to see that your class has been added to var/autoload/ezp_extension.php - if not check the file permissions of the php file with that class definition and make sure it is readable by the user running the ezgenerateautoload.php script. Also make sure that var/autoload/ezp_extension.php is writeable by that user.

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Robert Reeve

Thursday 06 January 2011 1:38:08 am

Hi Steve

Permissions are fine.. I've downloaded some other extensions with classes, they don't appear in var/autoload/ezp_extension.php either.

You must be logged in to post messages in this topic!

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