Share » Forums » General » Question about classes folder of...

Question about classes folder of custom extension

Question about classes folder of custom extension

Friday 03 July 2009 7:12:23 pm - 2 replies

Modified on Friday 03 July 2009 7:17:24 pm by John Moritz

Author Message

Heath

Friday 03 July 2009 10:47:49 pm

I think your looking for ...

<i>bin/php/ezpgenerateautoloads.php</i>

<i>bin/php/ezcache.php</i>

I think you can comment out your include_once/etc.

eZ Publish has an autoload system to load php classes.

Regenerate the autoload array for extensions

The autoload system has also some changes, for example the autoload array for extensions is now placed in var/autoload of your eZ Publish installation (along teh class changes in extensions itself).

To regenerate the autoload array, execute the following script from

php bin/php/ezpgenerateautoloads.php --extension

Clearing the caches

Whenever an eZ Publish solution is upgraded, all caches must be cleared in a proper way. This should be done from within a system shell:

Navigate into the eZ Publish 4.1 directory. Run the script using the following shell command:

php bin/php/ezcache.php --clear-all --purge

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

John Moritz

Saturday 04 July 2009 1:44:38 am

Wow, thats awesome!
i Took a look at var/autoload and now it dawns to me.

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

36 542 Users on board!

Forums menu