Post by McGreal » Mon Apr 11, 2011 5:31 am

Running at hostgator shared Apache. Installed Import/Export on OpenCart 1.4.9. Export works fine, but import generates this error:

Fatal error: require_once() [function.require]: Failed opening required 'Classes/PHPExcel.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mcgreal/public_html/admin/model/tool/export.php on line 1166

I didn't make any changes to the exported file, nor did I open it.

Newbie

Posts

Joined
Fri Apr 08, 2011 9:10 pm

Post by rscherer » Mon Apr 18, 2011 10:50 am

McGreal wrote:Running at hostgator shared Apache. Installed Import/Export on OpenCart 1.4.9. Export works fine, but import generates this error:

Fatal error: require_once() [function.require]: Failed opening required 'Classes/PHPExcel.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mcgreal/public_html/admin/model/tool/export.php on line 1166

I didn't make any changes to the exported file, nor did I open it.
i too have a similar problem.

2011-04-18 2:25:57 - PHP Fatal Error: Class 'ZipArchive' not found in /home/rscherer/public_html/bookstore/system/PHPExcel/Classes/PHPExcel/Shared/File.php on line 53
2011-04-18 2:27:20 - PHP Fatal Error: Class 'PHPExcel_Worksheet_PageSetup' not found in /home/rscherer/public_html/bookstore/system/PHPExcel/Classes/PHPExcel/Worksheet.php on line 337

2.2.16
PHP version 5.2.14
MySQL version 5.0.92-community
Architecture x86_64
Operating system linux

Newbie

Posts

Joined
Mon Apr 18, 2011 10:39 am

Post by yiyinlah » Wed Jun 01, 2011 1:25 pm

Can someone help please?

I have this problem too!

Fatal Error: Class 'ZipArchive' not found in /home/blahblahblah/public_html/system/PHPExcel/Classes/PHPExcel/Shared/File.php on line 53

I'm using Opencart 1.5.4.1 & vQmod 2.3.2.


User avatar
Active Member

Posts

Joined
Thu Sep 23, 2010 1:19 pm
Location - Singapore

Post by jersey » Sat Jun 25, 2011 8:59 pm

yiyinlah wrote:Can someone help please?

I have this problem too!

Fatal Error: Class 'ZipArchive' not found in /home/blahblahblah/public_html/system/PHPExcel/Classes/PHPExcel/Shared/File.php on line 53
Im having the same error.. any resolve?

Newbie

Posts

Joined
Sat Oct 30, 2010 6:18 pm

Post by ankur0101 » Thu Jul 14, 2011 4:29 pm

I have same problem. After uploading xls file, this error is occuring


Fatal error: Class 'ZipArchive' not found in /home/blahblah/public_html/opencart.itemple.in/system/PHPExcel/Classes/PHPExcel/Shared/File.php on line 53
Fatal Error: Class 'ZipArchive' not found in /home/blahblah/public_html/opencart.itemple.in/system/PHPExcel/Classes/PHPExcel/Shared/File.php on line 53

Website Hosting Mumbai Domain Registration Mumbai
Web Hosting India


New member

Posts

Joined
Tue Jul 15, 2008 6:59 pm


Post by taylordsmith » Sat Feb 04, 2012 2:54 am

I have the exact same error when importing a .csv file. Exporting works fine. I am using import/export v1-5-1-x on OpenCart v1-5-1-3-1.

When I try importing a .xls file I get:

Fatal error: Class 'PHPExcel_CachedObjectStorage_Memory' not found in /home/....../public_html/system/PHPExcel/Classes/PHPExcel/CachedObjectStorageFactory.php on line 123
Fatal Error: Class 'PHPExcel_CachedObjectStorage_Memory' not found in /home/......./public_html/system/PHPExcel/Classes/PHPExcel/CachedObjectStorageFactory.php on line 123


Has there been any resolution to this?

Thanks,
Taylor

OpenCart V1.5.1.3.1


Newbie

Posts

Joined
Tue Jan 31, 2012 9:47 am

Post by taylordsmith » Tue Feb 07, 2012 12:25 am

Problem solved. Turns out there were a few files missing in my PHPExcel folder. I'm not sure why they were left out, because I uploaded all the folders together then unzipped them on my server..

In any case, I should have double checked. Hope this helps if you're experiencing the same error. Thanks to JNeuhoff for the extension and the support.

-Taylor

OpenCart V1.5.1.3.1


Newbie

Posts

Joined
Tue Jan 31, 2012 9:47 am

Post by xavierwong » Sat Apr 26, 2014 6:15 pm

Hi,

I encountered a similar error and I've copied the PHPExcel files but still encounter the same error.
Hope someone can help.

Fatal error: require_once(): Failed opening required 'Classes/PHPExcel.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /DATA/.../admin/model/tool/export.php on line 2573

Newbie

Posts

Joined
Sat Apr 26, 2014 6:11 pm

Post by xavierwong » Sun Apr 27, 2014 12:31 am

Hi,

I encountered the same issue:

Fatal error: require_once(): Failed opening required 'Classes/PHPExcel.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /DATA/myclick/public_html/store/admin/model/tool/export.php on line 2573

The file is located in store/system/PHPExcel/Classes/PHPExcel.php.

I've tried changing the path to store/system/PHPExcel and have double check that all the files are copied correctly but still encountering this.

Can someone please help?

Newbie

Posts

Joined
Sat Apr 26, 2014 6:11 pm

Post by swapt » Thu Jun 26, 2014 7:13 pm

Change the file path from

require_once('Classes/PHPExcel.php' );
TO
require_once(DIR_SYSTEM.'PHPExcel/Classes/PHPExcel.php' );

Change it everywhere in the export.php file (admin/model/tool/export.php)

It solved my problem and might be helpful for you also
Try it.
Thanks

Newbie

Posts

Joined
Thu Jun 26, 2014 7:07 pm
Who is online

Users browsing this forum: No registered users and 7 guests