Problem with HeaderBlock requests on new server
jfranco 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Problem with HeaderBlock requests on new server
Philipp
From: Austria
Administrator
1342From: Austria
Problem with HeaderBlock requests on new server
This is indeed odd. There should be no different between the CMS files and yours.
Perhaps your config.php is not writable?
There is no way to manually change this setting. The routine is at line 45 - 51 of core.php and will be executed everytime you include core.php in a script.
It is strange though how it only affects these files?
This is indeed odd. There should be no different between the CMS files and yours.
I tried changing the CMS setting as suggested but it dropped me into a blank page, not a 404, but literally a blank white page.
Perhaps your config.php is not writable?
How could I change the setting manually outside of the CMS?
There is no way to manually change this setting. The routine is at line 45 - 51 of core.php and will be executed everytime you include core.php in a script.
1 Re: Problem with HeaderBlock requests on new server
jfranco
OP
0
From: -
From: -
Problem with HeaderBlock requests on new server
Hi Philipp,
Apparently the problem is indeed about output compression. It is strange though how it only affects these files?
I tried changing the CMS setting as suggested but it dropped me into a blank page, not a 404, but literally a blank white page. How could I change the setting manually outside of the CMS?
Thanks,
Julio
Hi Philipp,
Apparently the problem is indeed about output compression. It is strange though how it only affects these files?
I tried changing the CMS setting as suggested but it dropped me into a blank page, not a 404, but literally a blank white page. How could I change the setting manually outside of the CMS?
Thanks,
Julio
1 Re: Problem with HeaderBlock requests on new server
Philipp
From: Austria
Administrator
1342From: Austria
Problem with HeaderBlock requests on new server
Perhaps your new server is already using output compression? Try disabling gzip by changing Other/Config => Disable GZIP Output => Yes
Perhaps your new server is already using output compression? Try disabling gzip by changing Other/Config => Disable GZIP Output => Yes
Hi Philipp,
I'm currently troubleshooting a new server where we will be moving soon. So far the only big problem I'm having porting the CMS files is that I'm getting this strange error on every single page that doesn't belong to the CMS per se, but are custom PHP files where I have used the following to include the site's header and footer:
require("core.php");
HeaderBlock();
I have no idea if the new server configuration is at fault, but we are running a standard installation of RHEL 5.1 (PHP 5.1.6, mysql 5.0.22). Any ideas?
The error I get in Firefox is:
Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
Thanks
Julio
http://www.techspot.com