Hello all,
Thanks for reading. I was having some issues performing a fresh install of osCMax v2.0 RC3 on FreeBSD running php 5.2.3
After each fresh install the admin section was working perfectly but the entire catalog was blank. (I have seen that several other members had this exact same issue)
I was getting 2 fatal php errors:
(1) PHP Fatal error: Call to undefined function gzdeflate() in /includes/classes/cache.class.php on line 73
(2) PHP Fatal error: Call to undefined function gzdeflate() in /includes/classes/cache.class.php on line 152
The lines in the includes/classes/cache.class.php these errors refer to are:
(Line 73)
$value = ( $gzip === 1 ? base64_encode(gzdeflate($value, 1)) : addslashes($value) ); // addslashes if not compressed
(Line 152)
$cache_data = ( $cache['cache_gzip'] == 1 ? gzinflate(base64_decode($cache['cache_data'])) : stripslashes($cache['cache_data']) );
In order to get the catalog working I simply commented
those 2 lines from the cache.class.php file out.
Everything seems to work fine, but I am wondering if this is an okay fix
in order to get my site working? Might some functionality not work if I keep
those lines commented out?
Thanks very much for reading and for any assistance.




LinkBack URL
About LinkBacks










Bookmarks