kgtee Posted July 23, 2019 Share Posted July 23, 2019 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 More sharing options...
kgtee Posted July 23, 2019 Author Share Posted July 23, 2019 I have Gzip enabled in PHP 7.3.7. Apache also has mod_deflate installed to handle compress contents. Link to comment Share on other sites More sharing options...
puddlec Posted July 23, 2019 Share Posted July 23, 2019 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 phoenixTinyMCE editor for admin Link to comment Share on other sites More sharing options...
kgtee Posted July 23, 2019 Author Share Posted July 23, 2019 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 More sharing options...
puddlec Posted July 24, 2019 Share Posted July 24, 2019 @kgtee it was always programmed that way as far as i know. @burt this would need to be fixed. Phoenix support now at https://phoenixcart.org/forum/ App created for phoenixTinyMCE editor for admin Link to comment Share on other sites More sharing options...
burt Posted July 24, 2019 Share Posted July 24, 2019 Yeah, it got accidentally removed on the PHP7 updates. Someone raise an issue at Github ? Link to comment Share on other sites More sharing options...
puddlec Posted July 24, 2019 Share Posted July 24, 2019 issue added on github Phoenix support now at https://phoenixcart.org/forum/ App created for phoenixTinyMCE editor for admin Link to comment Share on other sites More sharing options...
burt Posted July 24, 2019 Share Posted July 24, 2019 TY @Harald Ponce de Leon for Commit; https://github.com/gburton/Responsive-osCommerce/commit/c7e38fc5f3a63fcf42affe814d6f073ebac76838 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.