Jump to:

23367 Posts in 18143 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » PHPExcel and Silverstripe autoload

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1346 Views
  • Simkim
    Avatar
    Community Member
    9 Posts

    PHPExcel and Silverstripe autoload Link to this post

    Hi everyone,

    We are trying to develop an excel export for our ModelAdmin application, and we are trying to use PHPExcel. The problem is that when we do an include of the library, the autoloader of PHPExcel has conflicts with the autoloader of Silverstripe.

    Has anyone a solution for this problem (other than include manually every class in PHPExcel)?

    Thank you very much.

    Regards,

    Mercedes

  • Devlin
    Avatar
    Community Member
    215 Posts

    Re: PHPExcel and Silverstripe autoload Link to this post

    Dunno what the autoloader of PHPExcel does, but you can create a empty file with the name "_manifest_exclude" in the PHPExcel folder to prevent the autoloading from Silverstripe. I did this for mPDF and pChart and it works like a charm for me.

  • jhirm
    Avatar
    Community Member
    21 Posts

    Re: PHPExcel and Silverstripe autoload Link to this post

    Simkin, did you ever find a solution to this? I'd be curious to know... I'm running into some issues with autoloading conflicts as well.

    1346 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.