unable to download from marketplace

Permalink 1 user found helpful
I have just purchased the gallery block but an unable to download it.

I have logged into the marketplace from my concrete5 site and when I download the file I get an error

The following errors occurred when attempting to process your request:

* An error while trying to unzip the package: There was an error unpacking your add-on or theme. Perhaps you have not uploaded a valid zip file, or you do not have zip installed.

Can anyone please help

Kind regards
Angela

avonti
 
Tony replied on at Permalink Reply
Tony
not sure what kind of system you're on, but downloading and installing remotely currently doesn't work on windows based systems (it won't unzip). if you're having trouble, try downloading the package, and unzipping it in the packages directory. then you should be able to install it from the dashboard.
avonti replied on at Permalink Reply
avonti
I was trying to install on my own computer so was unable to download and install from the market place. Was a bit confused as I could not find a link anywhere on the website to download the file from.

Finally worked it out when I checked my emails and received the download link there.

Have managed to install and it seems to be working fine

Thanks again
Angela
jgaris replied on at Permalink Reply
I'm experiencing the same issue on a Centos 5.5 machine. I checked that I do have zip and unzip installed.

The problems seems to be that, when I go to my "Add Functionality" page it automatically downloads zip files for the packages I connected to in the marketplace into my /files/tmp directory. However the files are all exactly 690 bytes, and obviously incomplete.

Does anybody have ideas why this would happen? Are there any server requirements for this to work properly.

One other item I noticed, is that if I try to delete the zip files through FTP or CHMOD them through FTP, I get a error "550 Permission denied". I have to delete them through my cPanel file manager.

I do have it set that the /files directory and all subfolders and files are 777. But when it download those zip files they come in as 644. Does that make sense?

Could it be firewall related?
jgaris replied on at Permalink Reply
It was a permissions issue. Apparently what I was doing within the cPanel file manager wasn't sticking, even though the /files directory was 777, the /files/tmp was not and could not be changed from there or through an FTP client. So I had to use SSH to change the permissions as root, and after that I was able to download and install the add-ons directly from within the dashboard.
grovesk replied on at Permalink Reply
grovesk
Ran into the same problem. Here's what worked for me, without changing file permissions. (Thanks to jgaris for pointing out that the zip files actually ARE downloaded to the tmp folder). I opened the tmp folder, unzipped the files inside the tmp folder, and then moved the add-ons to the packages folder.

When I refreshed my dashboard they were ready to install. I am running the site on my local machine (WindowsXP).
ThomasMayer replied on at Permalink Reply
Hi, ran into the same issue as well. But permissions have been okay (/files/tmp/ 755 and /package/ 755). The prob was PHP Safe Mode. Concrete is using the shell_exec() command to unzip files, but shell_exec is only allowed when PHP Safe Mode is off. So if you have the same issue make sure your PHP Safe Mode is off (temporarily).
Nice day.