Hi, Can you please send me the PHPExcel library/link used by you ? Regards
Deepak Bhatia On Mon, May 11, 2009 at 12:52 PM, Tomasz Ignatiuk <tomek.ignat...@gmail.com>wrote: > I thought so, but I didn't know how to fix it. For now it is working with > set path. :) > > DEEPAK BHATIA: I also used this plugin, but some thing weren't working so I > dropped it because I didn't have time to look for bugs. Even after updating > PHPExel for newest version, still it reported some bugs. > > 2009/5/9 Richtermeister <nex...@gmail.com> > > >> Hey Tomasz, >> >> the problem is not that symfony doesn't find the files.. The problem >> is that the Excel library does not rely on the autoloader, and it >> contains explicit require statements for required files. That's why >> you have to set the path... I have the same issue, but I don't find it >> much of a hassle really. Also, I put the library into /lib/vendors/ >> PHPExcel, but same difference.. >> >> Hope this helps. >> Daniel >> >> >> On May 8, 6:11 am, Tomasz Ignatiuk <tomek.ignat...@gmail.com> wrote: >> > Hi >> > >> > I use PHPexcel but not by a symfony plugin which mess up somethings >> > but by putting whole library to myproject/lib. >> > >> > So there is: >> > lib/PHPExcel folder with some other libraries and >> > lib/PHPExcel.php with main class. >> > >> > It should be autoloaded automatically after clearing cache. But it >> > isn't. Each time I use it (in action or view) I have to extend include >> > path: >> > >> > set_include_path(get_include_path() . PATH_SEPARATOR . '../lib/'); >> > >> > Unfortunatelly if I delete this it doesn't work. In main PHPExcel >> > class files are included like this: >> > >> > /** PHPExcel_Cell */ >> > require_once 'PHPExcel/Cell.php'; >> > >> > /** PHPExcel_DocumentProperties */ >> > require_once 'PHPExcel/DocumentProperties.php'; >> > >> > /** PHPExcel_DocumentSecurity */ >> > require_once 'PHPExcel/DocumentSecurity.php'; >> > >> > /** PHPExcel_Worksheet */ >> > require_once 'PHPExcel/Worksheet.php'; >> > >> > /** PHPExcel_Shared_ZipStreamWrapper */ >> > require_once 'PHPExcel/Shared/ZipStreamWrapper.php'; >> > >> > /** PHPExcel_NamedRange */ >> > require_once 'PHPExcel/NamedRange.php'; >> > >> > /** PHPExcel_WorksheetIterator */ >> > require_once 'PHPExcel/WorksheetIterator.php'; >> > >> > The same way with other classes that are in PHPExcel directory. Any >> > guess how to add it in symfony config? Maybe in autoload.yml, but I >> > don't knowwhere to put it and how to write rules :( >> http://www.symfony-project.org/book/1_2/19-Mastering-Symfony-s-Config... >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---