Forums / Developer / OO extension setup / Comment44222

Author Topic

Tony Wood

Tuesday 20 September 2005 6:20:04 am

Comment44222

Interesting,

After testing I think the problem lies with the delivery. by removing
//eZDir::recursiveDelete( $this->OOExportDir );
//eZDir::recursiveDelete( $this->OOTemplateDir);
I can see that all the xml info is being created.

The problem is with the zip/chdir command in the file...

chdir( $this->OOExportDir ); just plain fails on a chroot environment (and appears to be the only time it has been used in eZP). So I hard coded for now.
Even with the hardcoded info the zip file is not being created.

I will keep digging, but would really prefer if you could use the zlib code rather than the exec zip command.

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future