Install add-on issue

Permalink 2 users found helpful
I'm trying to download & install add-ons in my project. But every time I got the following error message.

"There was an error unpacking your file. Perhaps you have not uploaded a valid zip file, or you do not have zip installed."

I don't know what to do with these add-ons that I have already purchased but cannot use it. My PHP version is 5.2.6 & Concrete5 Version is 5.4.2. I've got the same problem in C5 version 5.5.0 as well as 5.5.1.Please help me.


Citytech

citytech2
 
JohntheFish replied on at Permalink Reply
JohntheFish
There was a bug introduced in 5.4.2 that gave this sort of error in some php environments. 5.4.2.2 definitely has it fixed. If you cant update 5.4.2 to 5.4.2.2 (because of the unzipping bug), search back through the forums you will see some links about what lines within which file need to be changed to patch it.

I thought it was still fixed in 5.5.x, or maybe what you are saying is that it is preventing you from upgrading to 5.5.1.
adajad replied on at Permalink Reply
adajad
Do you have zip installed? Check your php.ini to see if zip extension is enabled.
citytech2 replied on at Permalink Reply
citytech2
how to check if my zip installed or not?

Citytech
adajad replied on at Permalink Reply
adajad
Open up php.ini and do a search for php_zip. If the extension is commented out, then it is not installed. At least that is the extension name in windows.

You can read about it here: http://se2.php.net/manual-lookup.php?pattern=installing+zip&sco...
citytech2 replied on at Permalink Reply
citytech2
I have already activated the zip & curl. But still I got the error.

The following errors occurred when attempting to process your request:

"There was an error unpacking your file. Perhaps you have not uploaded a valid zip file, or you do not have zip installed."
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
http://www.concrete5.org/developers/bugs/5-4-2/unable-to-download-add-ons-in-5-4-2/