5.4.2 Not installing Add-Ons
Permalink
All my add-ons worked fine before the update, but then I got this:
"There was an error unpacking your file. Perhaps you have not uploaded a valid zip file, or you do not have zip installed."
I've replaced a section of code from here that sounded like a fix:
http://www.concrete5.org/developers/bugs/5-4-2/unable-to-download-a...
But, still not working.
Any ideas?
"There was an error unpacking your file. Perhaps you have not uploaded a valid zip file, or you do not have zip installed."
I've replaced a section of code from here that sounded like a fix:
http://www.concrete5.org/developers/bugs/5-4-2/unable-to-download-a...
But, still not working.
Any ideas?
Same, I also replaced the code and it helped a bit, but the ZIP error does still exist. Happens by sites that got upgraded and also by fresh installed 5.4.2 versions....
Have you patched the file in the updates path?
See
http://www.concrete5.org/community/forums/installation/error-trying...
See
http://www.concrete5.org/community/forums/installation/error-trying...
I have it in a new installation of 5.4.2 also, don't think it needs to be there in the updates folder as it is empty...
I had first the "URL file-access is disabled" error, then updated the marketplace.php file and now this error is gone but the new "There was an error unpacking your file" came.
I had first the "URL file-access is disabled" error, then updated the marketplace.php file and now this error is gone but the new "There was an error unpacking your file" came.
Hi,
Same problem, but the patch made it worse for me.
I have brand new site with brand new install of 5.4.2 and all works great, so far.
I can assign a license and download an add on, easy-peasy, as it should be.
Just built new site for testing with 5.4.1.1 and in second image you will see the downloaded and newly installed add-ons on the left.
But when I UPDATED it to 5.4.2 it wont work?
See first attached image with zip error!
Second image shows download add-ons when pop up is closed?
But when trying to install the same zip error occurs as seen in second image?
This must be a bug
Same problem, but the patch made it worse for me.
I have brand new site with brand new install of 5.4.2 and all works great, so far.
I can assign a license and download an add on, easy-peasy, as it should be.
Just built new site for testing with 5.4.1.1 and in second image you will see the downloaded and newly installed add-ons on the left.
But when I UPDATED it to 5.4.2 it wont work?
See first attached image with zip error!
Second image shows download add-ons when pop up is closed?
But when trying to install the same zip error occurs as seen in second image?
This must be a bug
We will look into this. Can you paste your environment info into this thread? It's in Dashboard > Sitewide Settings > Debug
# concrete5 Version
5.4.2
# concrete5 Packages
Breadcrumbs (2.0), Galleria image gallery (2.0), Solutions Theme (1.0).
# concrete5 Overrides
None
# Server Software
Apache
# Server API
cgi
# PHP Version
5.2.9
# PHP Extensions
bcmath, bz2, calendar, cgi, ctype, curl, date, dbase, dom, exif, filter, ftp, gd, gettext, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mhash, mime_magic, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, pgsql, posix, Reflection, session, SimpleXML, soap, sockets, SPL, SQLite, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Optimizer, zip, zlib.
# PHP Settings
log_errors_max_len - 1024
max_execution_time - 5
max_input_nesting_level - 64
max_input_time - 60
memory_limit - 32M
post_max_size - 8M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 16M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
5.4.2
# concrete5 Packages
Breadcrumbs (2.0), Galleria image gallery (2.0), Solutions Theme (1.0).
# concrete5 Overrides
None
# Server Software
Apache
# Server API
cgi
# PHP Version
5.2.9
# PHP Extensions
bcmath, bz2, calendar, cgi, ctype, curl, date, dbase, dom, exif, filter, ftp, gd, gettext, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mhash, mime_magic, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, pgsql, posix, Reflection, session, SimpleXML, soap, sockets, SPL, SQLite, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Optimizer, zip, zlib.
# PHP Settings
log_errors_max_len - 1024
max_execution_time - 5
max_input_nesting_level - 64
max_input_time - 60
memory_limit - 32M
post_max_size - 8M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 16M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
# Version genehmigen
5.4.2
# Package deinstallieren
Keine
# Concrete5 aktualisieren
blocks/rss_displayer, blocks/autonav, blocks/slidingdoor, blocks/content, blocks/search, blocks/background, controllers/install.php, languages/de_DE, libraries/FirePHPCore-0.3.1, libraries/marketplace, libraries/file, themes/webiteasy, tools/help.php
# Server Software
Apache/2.2.3 (CentOS)
# Server API
cgi-fcgi
# PHP Version
5.2.6
# Geladene Erweiterungen
bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dbase, dom, exif, filter, ftp, gd, gettext, gmp, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcntl, pcre, PDO, pdo_mysql, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, SQLite, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Optimizer, zip, zlib.
# Allgemeine Einstellungen
log_errors_max_len - 1024
max_execution_time - 5
max_input_nesting_level - 64
max_input_time - 180
memory_limit - 512M
post_max_size - 256M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 256M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
5.4.2
# Package deinstallieren
Keine
# Concrete5 aktualisieren
blocks/rss_displayer, blocks/autonav, blocks/slidingdoor, blocks/content, blocks/search, blocks/background, controllers/install.php, languages/de_DE, libraries/FirePHPCore-0.3.1, libraries/marketplace, libraries/file, themes/webiteasy, tools/help.php
# Server Software
Apache/2.2.3 (CentOS)
# Server API
cgi-fcgi
# PHP Version
5.2.6
# Geladene Erweiterungen
bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dbase, dom, exif, filter, ftp, gd, gettext, gmp, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcntl, pcre, PDO, pdo_mysql, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, SQLite, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Optimizer, zip, zlib.
# Allgemeine Einstellungen
log_errors_max_len - 1024
max_execution_time - 5
max_input_nesting_level - 64
max_input_time - 180
memory_limit - 512M
post_max_size - 256M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 256M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
Can both of you guys try upgrading to the version of concrete5 5.4.2.1 that's in github?
OK,
Thanks, will give it a whirl.......
Thanks, will give it a whirl.......
I'm not exactly sure what to pull from Github. I just see the 5.4.2 version.
Does not make any difference?
All I did was replace the new version (5.4.2.1b1) core folder with the old (5.4.2).
Everything seemed to work, but still had zip error.
Then dashboard asked me to upgrade to 5.4.2.1b1, which I did and still get the zip error.
That was yesterday for me, today I went back 5.4.1.1 and then through the dashboard with new update 5.4.2 (16.8.2011).
Same problem with the zip error?
Also, don't know if it's relevant, I tried several different browsers on my Mac and the other one (W7).
All I did was replace the new version (5.4.2.1b1) core folder with the old (5.4.2).
Everything seemed to work, but still had zip error.
Then dashboard asked me to upgrade to 5.4.2.1b1, which I did and still get the zip error.
That was yesterday for me, today I went back 5.4.1.1 and then through the dashboard with new update 5.4.2 (16.8.2011).
Same problem with the zip error?
Also, don't know if it's relevant, I tried several different browsers on my Mac and the other one (W7).
I have pushed 5.4.2.1b2 to github. The only changed file is concrete/libraries/archive.php. Please give this one a try.
OK,
That bit worked.
One thing I have noticed is in some browsers I'm not seeing the latest updates or news.
This must be a Browser 'cache' thing.
Anyway, for the moment 'Add Functionality' is working.
Thanks Andrew, I owe you a beer!
I'll delve deeper later
That bit worked.
One thing I have noticed is in some browsers I'm not seeing the latest updates or news.
This must be a Browser 'cache' thing.
Anyway, for the moment 'Add Functionality' is working.
Thanks Andrew, I owe you a beer!
I'll delve deeper later
Nice. It looks like a fix we made for another bug was really not the right way to approach fixing the problem and caused unintended consequences. So I reverted that fix and tried to approach it in a different way.
Wish I understood more about this s**t.
But then thats why you do what you do and I do what I do.
We can't all be lumberjacks..
But then thats why you do what you do and I do what I do.
We can't all be lumberjacks..
Thanks for the help. Could you also tell us what file(s) in total were changed from 5.4.2 to the working 5.4.2.1b2? Just changing the archive.php does not work...
It's probably also the concrete/libraries/marketplace.php file. I think the downloadRemoteFile function needed to be reverted.
Thank you Andrew, that did it. Replaced this two files and everything works like a charm!
Hi there
I'm using 5.6.0.2 and facing the same issue.
Replace the archieve codes doesn't help.
The marketplace.php doesn't have the code in there. "class Marketplace extends Concrete5_Library_Marketplace {}" is the only code in there. Are they different with the older 5.4 version?
Any other ideas to fix this for 5.6 version?
my debug info:
# concrete5 Version
5.6.0.2
# concrete5 Packages
None
# concrete5 Overrides
libraries/archive.php, themes/asap_theme
# Server Software
Apache
# Server API
apache2handler
# PHP Version
5.3.8
# PHP Extensions
apache2handler, bcmath, calendar, Core, ctype, curl, date, dom, ereg, filter, ftp, gd, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, Reflection, session, SimpleXML, soap, sockets, SPL, SQLite, sqlite3, standard, suhosin, tidy, timezonedb, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, Zend Guard Loader, zlib.
# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
memory_limit - 128M
post_max_size - 8M
safe_mode - Off
safe_mode_exec_dir - /usr/local/php/bin
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 8M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
suhosin.cookie.max_array_depth - 50
suhosin.cookie.max_array_index_length - 64
suhosin.cookie.max_name_length - 64
suhosin.cookie.max_totalname_length - 256
suhosin.cookie.max_value_length - 10000
suhosin.cookie.max_vars - 100
suhosin.executor.include.max_traversal - 0
suhosin.executor.max_depth - 0
suhosin.get.max_array_depth - 50
suhosin.get.max_array_index_length - 64
suhosin.get.max_name_length - 64
suhosin.get.max_totalname_length - 256
suhosin.get.max_value_length - 512
suhosin.get.max_vars - 100
suhosin.log.phpscript.is_safe - Off
suhosin.memory_limit - 0
suhosin.post.max_array_depth - 50
suhosin.post.max_array_index_length - 64
suhosin.post.max_name_length - 64
suhosin.post.max_totalname_length - 256
suhosin.post.max_value_length - 1000000
suhosin.post.max_vars - 1000
suhosin.request.max_array_depth - 50
suhosin.request.max_array_index_length - 64
suhosin.request.max_totalname_length - 256
suhosin.request.max_value_length - 1000000
suhosin.request.max_varname_length - 64
suhosin.request.max_vars - 1000
suhosin.session.max_id_length - 128
suhosin.upload.max_uploads - 25
Thanks in advance!
I'm using 5.6.0.2 and facing the same issue.
Replace the archieve codes doesn't help.
The marketplace.php doesn't have the code in there. "class Marketplace extends Concrete5_Library_Marketplace {}" is the only code in there. Are they different with the older 5.4 version?
Any other ideas to fix this for 5.6 version?
my debug info:
# concrete5 Version
5.6.0.2
# concrete5 Packages
None
# concrete5 Overrides
libraries/archive.php, themes/asap_theme
# Server Software
Apache
# Server API
apache2handler
# PHP Version
5.3.8
# PHP Extensions
apache2handler, bcmath, calendar, Core, ctype, curl, date, dom, ereg, filter, ftp, gd, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, Reflection, session, SimpleXML, soap, sockets, SPL, SQLite, sqlite3, standard, suhosin, tidy, timezonedb, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, Zend Guard Loader, zlib.
# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
memory_limit - 128M
post_max_size - 8M
safe_mode - Off
safe_mode_exec_dir - /usr/local/php/bin
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 8M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
suhosin.cookie.max_array_depth - 50
suhosin.cookie.max_array_index_length - 64
suhosin.cookie.max_name_length - 64
suhosin.cookie.max_totalname_length - 256
suhosin.cookie.max_value_length - 10000
suhosin.cookie.max_vars - 100
suhosin.executor.include.max_traversal - 0
suhosin.executor.max_depth - 0
suhosin.get.max_array_depth - 50
suhosin.get.max_array_index_length - 64
suhosin.get.max_name_length - 64
suhosin.get.max_totalname_length - 256
suhosin.get.max_value_length - 512
suhosin.get.max_vars - 100
suhosin.log.phpscript.is_safe - Off
suhosin.memory_limit - 0
suhosin.post.max_array_depth - 50
suhosin.post.max_array_index_length - 64
suhosin.post.max_name_length - 64
suhosin.post.max_totalname_length - 256
suhosin.post.max_value_length - 1000000
suhosin.post.max_vars - 1000
suhosin.request.max_array_depth - 50
suhosin.request.max_array_index_length - 64
suhosin.request.max_totalname_length - 256
suhosin.request.max_value_length - 1000000
suhosin.request.max_varname_length - 64
suhosin.request.max_vars - 1000
suhosin.session.max_id_length - 128
suhosin.upload.max_uploads - 25
Thanks in advance!
This post is old... but ran into the same problem with 5.6.1...
I upgraded to PHP 3.0 and increased the post_max_size in the php.ini file to 32M (default was 8).
I upgraded to PHP 3.0 and increased the post_max_size in the php.ini file to 32M (default was 8).