caronm43 Posted November 8, 2016 Share Posted November 8, 2016 Bonjour, J'essai de faire l'installation de Prestashop mais il m'indique l'erreur suivante: Fatal error: Class 'ZipArchive' not found in /var/www/vhosts/.../.../classes/Language.php on line 996. J'ai vérifié avec mon hébergeur et il me confirme que mon extension ZipArchive est activé. Avez-vous une solution à ce sujet? 1 Link to comment Share on other sites More sharing options...
Xavier Estheticien Posted November 8, 2016 Share Posted November 8, 2016 Bonjour J'ai un problème similaire lors de l'installation: Fatal error: Uncaught Error: Class 'ZipArchive' not found in /www/prestashop_1700/classes/Language.php:996 J'utilise Ubuntu 16.10 et php PHP Version 7.0.12-1+deb.sury.org~xenial+1, c'est à dire les dernières versions disponibles. Je ne peux pas installer le paquet php7.0-zip car il y a un problème de dépendance avec la version de PHP. Je ne peux donc pas installer Prestashop 1.7 en l'état. Merci pour votre éclairage Link to comment Share on other sites More sharing options...
bellini13 Posted November 9, 2016 Share Posted November 9, 2016 ZipArchive is a php extension that you need to compile into PHP. Link to comment Share on other sites More sharing options...
caronm43 Posted November 9, 2016 Author Share Posted November 9, 2016 I know and my host confirm this extension is enable. Why then nothing works? Is there another method? I found that when I was a ZipArchive.php file, other errors appears to me is that i'm missing a file? Link to comment Share on other sites More sharing options...
Xavier Estheticien Posted November 9, 2016 Share Posted November 9, 2016 How do you compile ZipArchive into PHP with Ubuntu ? It seems there is a problem with php 7.0, ZipArchive and Debian pachages Thanks for your help Link to comment Share on other sites More sharing options...
Knowband Plugins Posted November 9, 2016 Share Posted November 9, 2016 Try installing the zip extension. You can use the following command in SSH to install the same if you have a Ubuntu server. sudo apt-get install php7.0-zip Link to comment Share on other sites More sharing options...
Xavier Estheticien Posted November 9, 2016 Share Posted November 9, 2016 Thanks for you answer. sudo apt-get install php7.0-zip Returns an error: php7.0-zip : Dépend: php7.0-common (= 7.0.8-3ubuntu3) mais 7.0.12-1+deb.sury.org~xenial+1 devra être installé php 7.0.12 is install on my server, but php7.0-zip is compatible with php 7.0.8. So I have to force the package installation: Download packages php7.0-zip, libzip4: $ aptitude download libzip4 $ aptitude download php7.0-zip Install these packages: $ sudo dpkg -i --force-all libzip4_1.1.2-1.1_amd64.deb $ sudo dpkg -i --force-all php7.0-zip_7.0.8-3ubuntu3_amd64.deb It now works Link to comment Share on other sites More sharing options...
Viral.w3nuts Posted June 27, 2017 Share Posted June 27, 2017 (edited) Having same issue !!! I have cPanel access [PrestaShop] Fatal error in module file :/home/safiedsa/public_html/..../modules/agilekernel/classes/AgileZipper.php: Class 'ZipArchive' not found So far tried ( PS 1.6.1.12 ) 1) Installed and Tested ZipArchive by server people. So its already enabled Any solution ? Edited June 27, 2017 by Viral.w3nuts (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted June 27, 2017 Share Posted June 27, 2017 You should contact the author of the agilekernel module directly for support to find out what the module requirements are. Then make sure your hosting environment has those requirements met. If the module requires the ZipArchive extension, and you continue to receive the "Class 'ZipArchive' not found" error, then your hosting provider has not properly configured PHP http://www.php.net/manual/en/book.zip.php http://www.php.net/manual/en/zip.installation.php Link to comment Share on other sites More sharing options...
Viral.w3nuts Posted June 28, 2017 Share Posted June 28, 2017 Hi bellini13 Thank you for your reply. I will do as you suggested. 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