0

I am getting an error "Class 'ZipArchive' not found in opencart" whenever i am trying to export from server. It works fine from loacl system what is the exact problem can anyone tell me ?

In server: php version 5.5.32

In local: php version 5.5.9

4 Answers4

1

STEP 1:

Go to Cpanel - PHP Pear Packages - Find PHP Extension - Search for zip. Install the zip extension found.

STEP 2:

Go to Cpanel - Select PHP Version - Tick the zip Option - Save.

Now try to upload the .ocmod.zip file. Should work now. Worked for me.

Pavan Mehta
  • 314
  • 2
  • 5
1

It worked for me too this morning. From Cpanel I went to Select PHP version, and then checked the zip extension before I installed Opencart 3.02.

Tony
  • 11
  • 1
0

Enable the extension zip.so extension, by adding the following line of code to your server php.ini file:

extension=zip.so
Sankar V
  • 4,110
  • 5
  • 28
  • 52
  • Still getting this error "Fatal error: Class 'ZipArchive' not found in /home/project/public_html/system/PHPExcel/Classes/PHPExcel/Writer/Excel2007.php on line 232" – Subhankar Bhattacharjee Mar 25 '16 at 05:31
0

This problem is raised due to some server configuration.

If you are on linux server you need to add zip archive module in php version.

cpanel -> Select PHP version -> check zip module in this page
Chitresh goyal
  • 313
  • 1
  • 7