SugarCE Module Loader Zip Error Fix

Trying to install (upload) a module for Sugar Community Edition using the Module Loader and getting a Zip Error? Try this.

Error message returned to browser:
[code]ZIP Error(0): Status(0):[/code]

File to modify: /sugar/include/utils/zip_utils.php

## Step 1 ##

Comment out the following lines at /sugar/include/utils/zip_utils.php
[code]
40 //if(class_exists(“ZipArchive”)) {
41 // require_once ‘include/utils/php_zip_utils.php’;
42 // return;
43 //} else {
[/code]
Line 130:
[code]130 //} // if (ZipArchive exists)[/code]

## Step 2 ##

Upload the Module again.

Works for SugarCE 6.2.0, CentOS 6 Linux, MySQL 5.1.61, PHP 5.3

Chris

Chris started building web sites and web applications in 1996, after installing Linux and discovering httpd. It was a career in freshwater fisheries and geographic information systems (GIS) that led Chris to the web, and to start Lanexa.net in 1998. Chris has a strong background in Linux/Unix systems administration, HTML, CSS, PHP, as well as Oracle and MySQL database administration. Chris is a proven leader, having lead the development of ecommerce platforms for Fortune 500 companies, as well as start ups. He is able to bridge the gap between Marketing and IT, and turn business requirements into development objectives, and he delivers results. When Chris is not working on web sites, he is usually chasing his kids around or playing mandolin. Finalist, San Diego Magazine's Top Tech Exec Awards, 2012, 2013 Council Member, Magento X-Commerce Merchant Council, 2011

2 thoughts to “SugarCE Module Loader Zip Error Fix”

  1. Please mention that this fix is just for the upload of the file, and that once the upload is complete the code is to be returned to normal so that the insalation may proceed as normal, so that the instal button and later the commit buttons become visible. PS, this is for version 6.5.22 of SugarCrm.

Leave a Reply

Your email address will not be published. Required fields are marked *