CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.2 Release Testing »
  • install zip functionality error
Pages: [1]

Author Topic: install zip functionality error  (Read 8127 times)

nshack31

  • Guest
install zip functionality error
February 10, 2009, 04:32:16 am
hi all, i receive the following error when trying to install...

Quote
Your PHP version is missing zip functionality. Please ask your system administrator / hosting provider to recompile PHP with zip support.
You will need to uninstall CiviCRM from the Joomla Extension Manager.

ive been using the Install from Directory method

any ideas
thanks!

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: install zip functionality error
February 10, 2009, 05:01:24 am
We have made few changes to joomla installer in recent release, that require zip extension for php. Check http://civicrm.org/node/502
Hence you are getting this error.( even for install from directory)

Kurund
Found this reply helpful? Support CiviCRM

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: install zip functionality error
February 10, 2009, 05:54:28 am
That's a pretty rough restriction on your hosting provider. Since 90% of Joomla extensions are zipped and installed via the browse option, you're going to be stuck doing manual installs of everything unless you can get them to turn that php module on.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

nshack31

  • Guest
Re: install zip functionality error
February 10, 2009, 06:02:35 am
other modules install fine, is this a server restriction or a compatibility issue with joomla 1.5.9?

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: install zip functionality error
February 10, 2009, 06:08:59 am
I'd ask your hosting provider. The Civi v2.2 installation file has a zip file inside the main zip file that packages up all the admin-side files. But its the same installation process in Joomla that is unpacking extensions on install, that would be unpacking the "inside" zip file in Civi. In other words, if one zip is being unpacked, they all should. I'd run it by your host to see what they say.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: install zip functionality error
February 10, 2009, 06:41:38 am

the joomla code has a php version of zip if your compiled php lacks native zip version

the php zip was really slow (and never completed) on our test installs. Hence we require your compiled php to include the native zip

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

nshack31

  • Guest
Re: install zip functionality error
February 10, 2009, 07:02:58 am
Quote from: lcdweb on February 10, 2009, 06:08:59 am
I'd ask your hosting provider. The Civi v2.2 installation file has a zip file inside the main zip file that packages up all the admin-side files. But its the same installation process in Joomla that is unpacking extensions on install, that would be unpacking the "inside" zip file in Civi. In other words, if one zip is being unpacked, they all should. I'd run it by your host to see what they say.

their response was...

Quote
It looks like the module requires PHP 5, however your hosting package is currently on PHP 4. This can be changed from within the Control Panel by selecting Switch PHP Version from under the Web Tools section.

kenlyle

  • I post occasionally
  • **
  • Posts: 116
  • Karma: 7
Re: install zip functionality error
February 25, 2009, 06:41:53 am
Oh, awesome about the -alt version!  I had put some question marks in the Wiki Page to ask for clarification.  I'll go fix that now.

After I posted, I did find these detailed instructions (Thanks, Lobo!) in the other post on this subject:
====
if you are php/shell savvy, you can do the following:

1. unzip the civicrm distribution to a directory

2. unzip the civicrm.zip file from the above directory

3. modify the civicrm.xml file to reference the civicrm folder (<folder>civicrm</folder>) and remove the reference to the zip file

4. modify configure.php and comment out the part which unzips the zip file

lobo
====
Thanks,
K
« Last Edit: February 25, 2009, 07:09:04 am by kenlyle »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: install zip functionality error
February 25, 2009, 06:50:35 am

You should try the -alt.zip version. this is the 2.1 style of packaging and does not require native zip functionality. if you could install 2.1, you should be able to install this version to

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

kenlyle

  • I post occasionally
  • **
  • Posts: 116
  • Karma: 7
Re: install zip functionality error
February 25, 2009, 07:12:17 am
I put this into the 2.2 Joomla upgrade Wiki page, in the downloading section:

# You may notice a file on the named something like civicrm-2.2.xxx-joomla-alt.tar.gz the -alt version DOES NOT require .zip functions compiled into PHP by your hosting company.  If you get errors like "Your PHP version is missing zip functionality. Please ask your system administrator / hosting provider to recompile PHP with zip support." - Try the -alt version.

K

kenlyle

  • I post occasionally
  • **
  • Posts: 116
  • Karma: 7
Re: install zip functionality error
February 25, 2009, 06:25:11 pm
I unzipped the -alt version, and tried to install from

/home2/****/public_html/site15-20090225/administrator/components/com_installer/component/com_civicrm

and still get the error message that .zip is required- but after clearing the Joomla cache, I now get a couple of errors about a missing package-

* Please enter a package directory

Unable to find install package

I think I will be checking into the manual install...oops, it seems that the only doc is for Drupal, and requires command line access, which I don't have, unfortunately :(

K
« Last Edit: February 25, 2009, 06:29:08 pm by kenlyle »

kenlyle

  • I post occasionally
  • **
  • Posts: 116
  • Karma: 7
Re: install zip functionality error
March 06, 2009, 10:36:20 am
I'd like to resume on this next week.  Can anyone confirm that the -alt file of the .zip works correctly in the absence of zip functionality compiled into PHP?

Thanks!
K

FatherShawn

  • Ask me questions
  • ****
  • Posts: 372
  • Karma: 25
    • C3 Design
  • CiviCRM version: 4.2.11
  • CMS version: Drupal 7.23
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Re: install zip functionality error
March 07, 2009, 03:59:38 am
Kenlyle-

I ran into this same issue setting up a development environment on a desktop machine.  Lobo's notes that you posted about unzipping everything before install that you posted earlier in the thread did the trick for me!

- Shawn
Lead Developer, C3 Design.
Twitter: @FatherShawn

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: install zip functionality error
March 09, 2009, 07:11:28 pm
Quote
Can anyone confirm that the -alt file of the .zip works correctly in the absence of zip functionality compiled into PHP?

Yes, you should use -alt package if you don't have zip complied into PHP.

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.2 Release Testing »
  • install zip functionality error

This forum was archived on 2017-11-26.