Jump to:

23483 Posts in 18965 Topics by 2878 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: 1366 Views
  • Simkim
    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.



  • Devlin
    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
    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.

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.