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



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

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-06-2005, 04: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, 07:21 PM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,736
Thanks: 139
Thanked 608 Times in 520 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

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

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


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,736
Thanks: 139
Thanked 608 Times in 520 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

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-07-2005, 07: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, 03: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, 09:30 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 2,681
Thanks: 12
Thanked 214 Times in 196 Posts
Rep Power: 20
jpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud of
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 - 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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 12-05-2005, 12: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, 11:00 AM
chrismole's Avatar
Active Member
 
Join Date: Dec 2003
Location: Chicago
Posts: 102
Thanks: 2
Thanked 2 Times in 2 Posts
Rep Power: 7
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, 09: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: 7
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 09:54 AM
help with fatal error msg / johnh osCommerce 2.2 Installation Help 2 12-07-2002 07:28 PM


All times are GMT -8. The time now is 08:47 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design