There was an error unpacking your file ???

Permalink
Hi all

I'm having one of those 'head-hitting-desk' moments here - I keep getting this error when I try to Download add-ons from the Marketplace via Dashboard\Add Functionality;

"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."

The confusing thing is this funtion worked for me in January and February - eg. Tweeter, Simple News etc. But why would this funtion stop working for me now? I have been trying to install 'Page Redirect Block' and 'Galleria Image Gallery'.

I have spoken with my web hosts and they say they can't see anything wrong. They are now asking me if I am able to edit the path to zip, but I can't see that option in the Dashboard - Help!?

Many thanks,
Anthony
Debug info;
# concrete5 Version
5.4.1.1
# concrete5 Packages
Easy News (1.1), Pro Blog (2.1.5), Tweeter (1.0.6).
# concrete5 Overrides
themes/creativity
# Server Software
Apache/2.0.61 (FreeBSD) mod_python/3.3.1 Python/2.5.1 PHP/5.2.6 with Suhosin-Patch mod_fastcgi/2.4.6 mod_ssl/2.0.61 OpenSSL/0.9.7e-p1 DAV/2 mod_perl/2.0.3 Perl/v5.8.8
# Server API
cgi-fcgi
# PHP Version
5.2.13
# PHP Extensions
bcmath, calendar, cgi-fcgi, ctype, curl, date, dom, exif, filter, gd, gettext, hash, iconv, imap, json, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, posix, pspell, Reflection, session, SimpleXML, soap, sockets, SPL, SQLite, standard, tokenizer, xml, xmlreader, xmlwriter, Zend Optimizer, zlib.

IVT
 
Mnkras replied on at Permalink Reply
Mnkras
looks like zip isn't installed or enabled.
IVT replied on at Permalink Reply
IVT
It looks that way doesn't it, thanks for the reply.

I think I have found the paths to the zip in C5 and I have passed the following onto my web host as I could not find 'unzip' or 'zip' folders within the /usr/bin' folder (via FTP);
Search "ZIP" (11 hits in 2 files)
  /httpdocs\concrete\config\base.php (7 hits)
   Line 139: # (gzip encoding?)
   Line 348: if (!defined('DIR_FILES_BIN_UNZIP')) {
   Line 349:     define('DIR_FILES_BIN_UNZIP', '/usr/bin/unzip');
   Line 349:     define('DIR_FILES_BIN_UNZIP', '/usr/bin/unzip');
   Line 353: if (!defined('DIR_FILES_BIN_ZIP')) {
   Line 354:     define('DIR_FILES_BIN_ZIP', '/usr/bin/zip');
   Line 354:     define('DIR_FILES_BIN_ZIP', '/usr/bin/zip');
  /httpdocs \concrete\config\file_types.php (4 hits)
   Line 47: $ft->define('zip', t('Zip Archive'), FileType::T_APPLICATION);
   Line 47: $ft->define('zip', t('Zip Archive'), FileType::T_APPLICATION);
   Line 48: $ft->define('gz,gzip', t('GZip Archive'), FileType::T_APPLICATION);
   Line 48: $ft->define('gz,gzip', t('GZip Archive'), FileType::T_APPLICATION);
Mnkras replied on at Permalink Reply
Mnkras
You need to recompile it with zip enabled
On Mar 10, 2011 4:54 AM, "Concrete5 Community" <discussions@concretecms.com>
wrote:
IVT replied on at Permalink Best Answer Reply
IVT
Solved!

My web hosts told me to point the two above zip paths to here instead: '/usr/local/bin/unzip' and '/usr/local/bin/zip'.

Hurrah =)