osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Fatal error after install

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-06-2005, 05:23 PM
New Member
 
Join Date: Nov 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
krystaleyes
Default Fatal error after install

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 11-06-2005, 08:21 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Fatal error after install

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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-06-2005, 09:24 PM
New Member
 
Join Date: Nov 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
krystaleyes
Default RE: Fatal error after install

Operating System Redhat 7.3

Apache 1.3.27

PHP 4.4.0

Perl 5.6.1

MySQL 3.23.56
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-07-2005, 07:54 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Fatal error after install

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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-07-2005, 08:24 AM
New Member
 
Join Date: Nov 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
krystaleyes
Default RE: Fatal error after install

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']) );
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 12-04-2005, 04:59 AM
Lurker
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
phileuro
Default RE: Fatal error after install

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!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 12-04-2005, 10:30 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,562
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default RE: Fatal error after install

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
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 12-05-2005, 01:30 AM
Lurker
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
phileuro
Default RE: Fatal error after install

Sorry - are you referring to a patch for PHP5 or a patch for oscommerce or oscmax?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 12-07-2005, 12:00 PM
chrismole's Avatar
Active Member
 
Join Date: Dec 2003
Location: Chicago
Posts: 102
Thanks: 2
Thanked 2 Times in 2 Posts
Rep Power: 5
chrismole
Default RE: Fatal error after install

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
Any suggestions on a fix?

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 12-08-2005, 10:56 AM
chrismole's Avatar
Active Member
 
Join Date: Dec 2003
Location: Chicago
Posts: 102
Thanks: 2
Thanked 2 Times in 2 Posts
Rep Power: 5
chrismole
Default RE: Fatal error after install

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
A fix for this would really be great. I'm yet to see the frontpage of my new store...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 10:54 AM
help with fatal error msg / johnh osCommerce 2.2 Installation Help 2 12-07-2002 08:28 PM


All times are GMT -8. The time now is 09:05 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax