Results 1 to 4 of 4

Thread: ZIP Error(5): Status(0) while upgrade to 6.2.2

  1. #1
    lenz1979 is offline Sugar Community Member
    Join Date
    Jun 2009
    Posts
    68

    Default ZIP Error(5): Status(0) while upgrade to 6.2.2

    Hello,

    i have sugarCE 6.2.1 running and wanted to upgrade to 6.2.2

    But while uploading the ZIP File it tells me ZIP Error(5): Status(0).....

    all permissions are set to 777. i can open the ZIP Archive of the Upgrade-File locally without any problems.

    Have you any idea?

    regards
    Last edited by lenz1979; 2011-08-30 at 12:58 PM.

  2. #2
    MatR is offline Sugar Community Member
    Join Date
    Jul 2007
    Location
    Paris, France
    Posts
    311

    Default Re: ZIP Error(5): Status(0) while upgrade to 6.2.2

    Hello,

    I got the same problem with 621 to 622 upgrade on one server. Even in Silent upgrade, it does'nt work and I got this message :

    PHP Code:
    ********************************************************************
    ***************
    This Upgrade process may take sometime***************
    ********************************************************************


    The patch did not contain a proper manifest.php file.  Cannot continue. 
    Problem seems to come form PHP "ZipArchive" class which called for unzip files like upgrades.



    I don't succeed to solve the problem yet but I have a workaround :

    Before upgrade, change the file : include/utils/zip_utils.php

    Comment lines 32, 33, 34, 35 :

    PHP Code:
    //if(class_exists("ZipArchive")) {
      //  require_once 'include/utils/php_zip_utils.php';
       // return;
    //} else { 
    And line 122 :

    PHP Code:
    //} // if (ZipArchive exists) 
    The upgrade should work after that.
    Mathieu Rodrigues
    Consultant CRM
    CARRENET - SugarCRM Gold Partner
    >>> Suivez notre actualité sur Twitter ! http://twitter.com/carrenet

  3. #3
    lenz1979 is offline Sugar Community Member
    Join Date
    Jun 2009
    Posts
    68

    Default Re: ZIP Error(5): Status(0) while upgrade to 6.2.2

    Problem seems to be Ziparchive.

    without using ZipArchive it worked.

    in /includes/utils/zip_utils.php you can change

    PHP Code:
    if(class_exists("ZipArchive")) { 
    to

    PHP Code:
    if(class_exists("NOTAVAILABLEZipArchive")) { 
    then it uses pclzip as fallback. And for me this worked.

  4. #4
    lenz1979 is offline Sugar Community Member
    Join Date
    Jun 2009
    Posts
    68

    Default Re: ZIP Error(5): Status(0) while upgrade to 6.2.2

    thanks MatR.

    found the same solution...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 2012-03-10, 08:24 PM
  2. ZIP Error(0): Status(0):
    By chrisk101 in forum Help
    Replies: 10
    Last Post: 2011-08-30, 01:06 PM
  3. Replies: 1
    Last Post: 2010-03-05, 04:38 AM
  4. Campaign Status gone after upgrade to 5.1
    By matthewboh in forum Help
    Replies: 6
    Last Post: 2009-10-14, 02:48 PM
  5. Red Status text not displayed anymore after upgrade
    By jochenhager in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2009-03-23, 07:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •