linda_petty@shelter. Posted October 10, 2018 Share Posted October 10, 2018 (edited) I am using Prestashop's "1-click upgrade" addon to upgrade from Prestashop 1.6.1.17 to 1.7.4.3. it fails with "Class 'ZipArchive' not found" I have installed Zip with sudo apt-get install php7.0-zip but I get the same ZipArchive error here is the error:- [INTERNAL] /var/www/modules/autoupgrade/classes/ZipAction.php line 126 - Error: Class 'ZipArchive' not found #0 /var/www/modules/autoupgrade/classes/ZipAction.php(70): PrestaShop\Module\AutoUpgrade\ZipAction->compressWithZipArchive(Array, '/var/www/admin5...') #1 /var/www/modules/autoupgrade/classes/TaskRunner/Upgrade/BackupFiles.php(79): PrestaShop\Module\AutoUpgrade\ZipAction->compress(Array, '/var/www/admin5...') #2 /var/www/admin5431/autoupgrade/ajax-upgradetab.php(52): PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\BackupFiles->run() #3 {main} at line 126 in ZipAction.php the statement is $zip = $this->openWithZipArchive($toFile, \ZipArchive::CREATE); Any ideas on how to resolve this would be appreciated. Edited October 10, 2018 by linda_petty@shelter. (see edit history) Link to comment Share on other sites More sharing options...
linda_petty@shelter. Posted October 10, 2018 Author Share Posted October 10, 2018 resolved with a restart Link to comment Share on other sites More sharing options...
Zeryk Posted October 15, 2018 Share Posted October 15, 2018 I have same problem, but my web is online. I guess restart my computer is not a solution then? Link to comment Share on other sites More sharing options...
musicmaster Posted October 15, 2018 Share Posted October 15, 2018 On 10/15/2018 at 5:06 AM, Zeryk said: I have same problem, but my web is online. I guess restart my computer is not a solution then? Expand I am afraid you miss the point: the php module ZIP is a required for Prestashop. In the case of llnda that was not installed and after she installed it she needed a restart to make the installation effective. But the error message is that the Prestashop ZipArchive class is not found. Of course that can be caused by the absence of the PHP module. But the problem can also be with your Prestashop installation. You might start with looking whether the relevant file ('/tools/pclzip/pclzip.lib.php') is there. Link to comment Share on other sites More sharing options...
Zeryk Posted October 16, 2018 Share Posted October 16, 2018 problem solved with activation of ZIP library . had to request the provider to do so. thanks. Link to comment Share on other sites More sharing options...
Cristhian Chavez Posted June 29, 2020 Share Posted June 29, 2020 On 10/16/2018 at 5:48 AM, Zeryk said: problema resuelto con la activación de la biblioteca ZIP. tuvo que solicitar al proveedor que lo haga. Gracias. Expand How do you do that? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now