Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 12:38 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
Posted: Wed Oct 11, 2006 2:14 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Mar 23, 2006 5:39 am
Posts: 112
Good day,

I've been looking at a few of the posts where others got this error, and I haven't found a solution as of yet.

I currently run two servers:

Server 1:
Mac OS X 10.3.9
PHP4.3.11
MySQL4.0
joomla installs:  1.0.10(Japanese) and 1.0.11(English)

Server 2:
Mac OS X 10.4.8
PHP5.1.6
MySQL5.0
joomla installs:  1.0.11(english)

I am currently migrating and building new sites on Server 2 (primarily due to MySQL 5.0 and UTF8).  Anyway, on Server 2, whenever I try to install a module/component/template, I am getting  Unrecoverable error "PCLZIP_ERR_BAD_FORMAT (-10)"

I test the exact same module/component/template on a dev joomla install on Server 1 and it installs without issue. 

I also try to unzip the files on server 2 manually, and that works with no problem.

I did a phpinfo for both systems to compare the zip properties of php.ini thinking this might be cause:

Server 1:
Configure Command './configure' '--prefix=/usr/local/php' '--with-config-file-path=/usr/local/php/lib' '--with-apxs' '--with-iconv=/usr/local/php' '--with-openssl=/usr' '--with-zlib=/usr' '--with-mysql' '--with-pgsql=/Users/marc/svn/php4-maintenance/php-module/build/postgresql-build' '--enable-cgi' '--with-gd' '--with-png-dir=/usr/local/php' '--with-freetype-dir=/usr/local/php' '--with-t1lib=/usr/local/php' '--with-jpeg-dir=/usr/local/php' '--with-tiff-dir=/usr/local/php' '--with-curl=/usr/local/php' '--with-mcal=/usr/local/php' '--with-mcrypt=/usr/local/php' '--with-mhash=/usr/local/php' '--with-pdflib=/usr/local/php' '--with-imap=../imap-2002d' '--with-imap-ssl=/usr' '--with-expat-dir=/usr/local/php' '--with-gettext=/usr/local/php' '--with-dom=/usr/local/php' '--with-dom-xslt=/usr/local/php' '--with-dom-exslt=/usr/local/php' '--with-xslt-sablot=/usr/local/php' '--with-mime-magic=/usr/local/php/etc/magic.mime' '--with-mssql=/usr/local/php' '--with-fbsql=/Users/marc/svn/php4-maintenance/php-module/build/frontbase-build/Library/FrontBase' '--with-ming=/Users/marc/svn/php4-maintenance/php-module/build/ming-build' '--enable-xslt' '--with-ldap' '--with-xml' '--with-xmlrpc' '--with-iodbc=/usr' '--enable-sockets' '--enable-dbx' '--enable-dbase' '--enable-trans-sid' '--enable-exif' '--enable-wddx' '--enable-ftp' '--enable-mbstring'
Registered PHP Streams php, http, ftp, https, ftps, compress.zlib
HTTP_ACCEPT_ENCODING gzip,deflate


Server 2:
Configure Command './configure' '--prefix=/usr/local/php5' '--with-apxs' '--with-config-file-scan-dir=/usr/local/php5/php.d' '--with-iconv' '--with-openssl=/usr' '--with-zlib=/usr' '--with-gd' '--with-zlib-dir=/usr' '--with-ldap' '--with-xmlrpc' '--with-iconv-dir=/usr' '--with-snmp=/usr' '--enable-exif' '--enable-wddx' '--enable-soap' '--enable-sqlite-utf8' '--enable-ftp' '--enable-sockets' '--enable-dbx' '--enable-dbase' '--enable-mbstring' '--enable-calendar' '--enable-bcmath' '--with-bz2=/usr' '--with-curl=shared,/usr/local/php5' '--with-mysql=shared,/usr/local/php5' '--with-mysqli=shared,/usr/local/php5/bin/mysql_config' '--with-pdo-mysql=shared,/usr/local/php5' '--with-libxml-dir=shared,/usr/local/php5' '--with-xsl=shared,/usr/local/php5' '--with-pdflib=shared,/usr/local/php5' '--with-oci8=shared,instantclient,/usr/local/php5/oracle' '--with-pdo-oci=shared,instantclient,/usr/local/php5/oracle,10.1.0.3' '--with-imap=../imap-2004g' '--with-kerberos=/usr' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr/local/php5' '--with-png-dir=/usr/local/php5' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local/php5' '--with-iodbc=shared,/usr' '--with-pgsql=shared,/usr/local/php5' '--with-pdo-pgsql=shared,/usr/local/php5' '--with-t1lib=/usr/local/php5' '--with-gettext=shared,/usr/local/php5' '--with-ming=shared,/usr/local/php5' '--with-mcrypt=shared,/usr/local/php5' '--with-mhash=shared,/usr/local/php5' '--with-mssql=shared,/usr/local/php5' '--with-fbsql=shared,/Users/liyanage/svn/entropy/universalbuild/src/FBDeveloperLibraries/Library/FrontBase' '--with-json=shared' '--enable-memcache' '--enable-openbase_module'
Registered PHP Streams php, file, http, ftp, compress.bzip2, compress.zlib, https, ftps
HTTP_ACCEPT_ENCODING gzip,deflate


You'll note that they are pretty much identical.  Server 2 has the added capability of bzip2.  I'm really at a loss as to where this error is coming from.  Is there somewhere in Joomla that I can set the zip settings?  or is the problem with php.ini?  or perhaps with gzip/bzip2 itself?

All comments and help welcome :D

_________________
If you learn by making mistakes, be sure to make lots... so you learn more ;)


Last edited by Jin597 on Wed Oct 11, 2006 2:16 am, edited 1 time in total.

Top
  E-mail  
 
Posted: Wed Feb 07, 2007 9:36 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Sat Sep 17, 2005 12:04 am
Posts: 73
Location: British Columbia Canada
Did you ever get a fix...?
Post here if you did,

Thanks

_________________
~~
RipRip


Top
  E-mail  
 
Posted: Thu Feb 08, 2007 12:59 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Mar 23, 2006 5:39 am
Posts: 112
Yes... actually, with the help of people on the Apple Forums, I managed to get a resolution to this problem.  The problem was in the binary install of PHP that I had from Marc Lyniage's Entropy.  Apparently it wasn't compiled with all the necessary resources.  A person on the apple forums helped me to rebuild PHP from scratch.  After doing so, Joomla was a happy camper and handled the zip files properly. 

_________________
If you learn by making mistakes, be sure to make lots... so you learn more ;)


Top
  E-mail  
 
Posted: Thu Feb 08, 2007 1:04 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Sat Sep 17, 2005 12:04 am
Posts: 73
Location: British Columbia Canada
wow thats a big fix, thanks

_________________
~~
RipRip


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 38 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group