
Originally Posted by
Jashank
Hi,
Sugar 5.1.0 CE, from a FreeBSD hosted system to XAMPP on Windows (Apache 2.2.14, PHP 5.3.1, MySQL 5.1.41).
I'm about to upgrade an aging (well, 5.1.0) SugarCRM installation to 6.1. I've copied the database and SugarCRM install directory off our live server onto a test box, and have prodded settings to be correct for this system in config.php.
I have some very bizarre issues on my copy. It looks like some form of content encoding or compression, but no compression or encoding makes this display correctly. Here's an excerpt from the very beginning:
No idea what's going on here; I've checked compression settings and encodings, to no avail.
Jashank
Edit: Here's a screenshot to go with it.

This is due a conflict on a specific stack. I don´t know how to fix that by php.ini configuration, but this hack should works:
Edit script include/utils.php
Go to function "setPhpIniSettings"
Comment the lines
PHP Code:
if(function_exists('gzclose') && headers_sent() == false) {
ini_set('zlib.output_compression', 1);
}
Cheers
Bookmarks