Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Gzip Compression error in Phoenix 1.0.1.0


kgtee

Recommended Posts

I got this error from Apache log:

 

Quote

Tue Jul 23 09:29:34.764191 2019] [lsapi:error] [pid 3396823:tid 140002482624256] [client xx.xx.xx.xx:55687] [host www.xyz.com] Backend fatal error: PHP Fatal error:  Uncaught Error: Call to undefined function tep_gzip_output() in /public_html/catalog/includes/application_bottom.php:28\nStack trace:\n#0 /public_html/catalog/account.php(46): require()\n#1 {main}\n  thrown in /public_html/catalog/includes/application_bottom.php on line 28\n, referer: https://www.xyz.com/catalog/index.php?cPath=22

Please help. Thank you.

 

This error will disappear if I disable the Gzip Compression in Admin.

Link to comment
Share on other sites

i tried it myself, and got the same error

the feature got introduced in 1.0.0.4 as it was fine in 1.0.0.3

the problem seems to be that 

include("functions/gzip_compression.php");

got removed in 1.0.0.4

 

so i just added it above

 ob_start('ob_gzhandler');

and it seemd to work for me

Phoenix support now at https://phoenixcart.org/forum/
App created for phoenix
TinyMCE editor for admin

 

Link to comment
Share on other sites

8 hours ago, puddlec said:

i tried it myself, and got the same error

the feature got introduced in 1.0.0.4 as it was fine in 1.0.0.3

the problem seems to be that 


include("functions/gzip_compression.php");

got removed in 1.0.0.4

 

so i just added it above


 ob_start('ob_gzhandler');

and it seemd to work for me

Thanks for the nice catch.

Nevertheless, the gzip compression is a core feature. Shouldn't the include function statement be put in the application_bottom.php?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...