We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Installing PhpExcel in Mithra62's "Export It" Module

How Do I?

Okapi Creative's avatar
Okapi Creative
382 posts
11 years ago
Okapi Creative's avatar Okapi Creative

Trying to install the PhpExcel module into Export It as per instructions on Eric Lamb’s site

The Excel file downloads ok but cannot be opened giving the error “the file may be damaged or modified from its original format”. I can open it in BBEDIT or a text editor and I get this:

A PHP Error was encountered

Severity: Warning Message:  ZipArchive::open() [<a href="http://ziparchive.open">ziparchive.open</a>]: Unable to access php://output
Filename: Writer/Excel2007.php
Line Number: 239

A PHP Error was encountered

Severity: Warning Message:  ZipArchive::open() [<a href="http://ziparchive.open">ziparchive.open</a>]: Unable to access php://output
Filename: Writer/Excel2007.php
Line Number: 240

Fatal error:  Uncaught exception 'PHPExcel_Writer_Exception' with message 'Could not open php://output for writing.' in /home/xxxxx/public_html/cms/expressionengine/third_party/export_it/libraries/Export_data/PHPExcel/PHPExcel/Writer/Excel2007.php:241
Stack trace:
#0 /home/xxxxx/public_html/cms/expressionengine/third_party/export_it/libraries/Export_data/Export_data.php(429): PHPExcel_Writer_Excel2007->save('php://output')
#1 /home/xxxxx/public_html/cms/expressionengine/third_party/export_it/libraries/Export_data/Export_data.php(56): Export_data->download_array(Array, true, 'channel_entry_e...')
#2 /home/xxxx/public_html/cms/expressionengine/third_party/export_it/mod.export_it.php(275): Export_data->export_channel_entries(Array, 'xls')
#3 /home/xxxx/public_html/cms/expressionengine/libraries/Template.php(1559): Export_it->channel_entries()
#4 /home/xxxxx/public_html/cms/expressionengine/libraries/Template.php(1178): EE_Template->process_tags()
#5 /home/xxxx/public_html/cms/expressionengine/libraries/Template.php( in <b>/home/xxxxx/public_html/cms/expressionengine/third_party/export_it/libraries/Export_data/PHPExcel/PHPExcel/Writer/Excel2007.php</b> on line <b>241</b>

Anyone any ideas? Do I need to do something else to install it?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.