This is a discussion on Fatal error after install within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; After fresh installation I can get to the Admin page just fine but when I call the catalog I receive ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| After fresh installation I can get to the Admin page just fine but when I call the catalog I receive the following error: Fatal error: Call to undefined function: gzdeflate() in /nfs/cust/2/30/33/633032/web/catalog/includes/classes/cache.class.php on line 73 Any ideas? |
|
#2
| ||||
| ||||
| Update your php version to something current, as it does not seem to have support for gzdeflate... What version of php do you have? It must be pretty old.
__________________ Michael Sasek osCMax Developer *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
|
#3
| |||
| |||
| Operating System Redhat 7.3 Apache 1.3.27 PHP 4.4.0 Perl 5.6.1 MySQL 3.23.56 |
|
#4
| ||||
| ||||
| That is odd because gzdeflate is standard in php versions after 4.04 You could workaround by turning off the pagecache in the admin.
__________________ Michael Sasek osCMax Developer *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
|
#5
| |||
| |||
| I tried turning off the global cache and the page cache and still get the same results. Here is the line in question: $cache_data = ( $cache['cache_gzip'] == 1 ? gzinflate(base64_decode($cache['cache_data'])) : stripslashes($cache['cache_data']) ); |
|
#6
| |||
| |||
| I get the same problem. I'm on php 5.0.4 Also, as far as I can tell, there is no page caching: Admin -> Configuration -> Cache -> Use Cache = false and Admin -> Configuration -> Page Cache Settings -> Enable Page Cache = false I'm trying to run oscmax_2_RC2 (first try with it!) |
|
#7
| ||||
| ||||
| With PHP5 - you should install the PATCH! This covers (among other things) code to work with PHP5 that was not known when OSC-MS2 came out (which MAX is based on). IMHO this is a required patch for security reasons!!!!
__________________ JPF - osCMax Fourm Moderator - To contact, post on the forum or click here Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#8
| |||
| |||
| Sorry - are you referring to a patch for PHP5 or a patch for oscommerce or oscmax? |
|
#9
| ||||
| ||||
| I've run both the RC1 to RC2 patch and the security patch and I am still gettitng the same fatal error: Code: Fatal error: Call to undefined function: gzdeflate() in /home/bigmoss/www/shop/includes/classes/cache.class.php on line 73 PHP Version: 4.4.1 (Zend: 1.3.0) Database: MySQL 4.1.14-standard All cacheing is disabled in the admin. Also, phpmyadmin is showing my database Collation values as "latin1_swedish_ci ". Is that correct? Shouldn't it be "latin1_general_ci" or something similar? |
|
#10
| ||||
| ||||
| This is actually the line of code causing the error for me: Code: # check to see if it should be compressed $value = ( $gzip === 1 ? base64_encode(gzdeflate($value, 1)) : addslashes($value) ); // addslashes if not compressed |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fatal error!! | newtothis | osCMax v2 Installation issues | 1 | 07-13-2005 04:48 PM |
| Fatal Error | Anonymous | osCMax v1.7 Discussion | 3 | 06-17-2004 06:28 AM |
| fatal error running install | glenng | osCommerce 2.2 Installation Help | 3 | 08-26-2003 06:58 PM |
| Fatal error | swisscheese | osCommerce 2.2 Installation Help | 2 | 01-11-2003 09:54 AM |
| help with fatal error msg / | johnh | osCommerce 2.2 Installation Help | 2 | 12-07-2002 07:28 PM |