Welcome Guest, Not a member yet? Register   Sign In
Content Encoding Error
#1

[eluser]wyred[/eluser]
I've just installed Apache 2.2 with PHP5 on my Windows XP PC.

I downloaded my web application from a linux server running PHP4 onto my PC so that I can quickly make changes to the code and upgrade it to make ready for a migration to PHP5.

So I got everything setup and running. But when I access a page with a PHP error, instead of CI showing me the error, I get a "Content Encoding Error - The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression." on Firefox.

After much googling, I found out that to be able to view the page normally with the error, I had to go to about:config in Firefox and set network.http.accept-encoding to a blank value. The default value was "gzip,deflate".

Does anyone know where I went wrong in my WAMP configuration?

Thanks
#2

[eluser]wyred[/eluser]
This is what happens when there's an error. Had to disable gzip/deflate in order to see this.
Code:
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Warning</p>
<p>Message:  -error message removed-</p>
<p>Filename: libraries/ImageManager.php</p>
<p>Line Number: 76</p>

</div><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

&lt;html &gt;

&lt;head&gt;
&lt;title&gt;CMS&lt;/title&gt;
#3

[eluser]vitoco[/eluser]
FILE : libraries/ImageManager.php
LINE : 76
FUNCTION : MKDIR

you're tryng to create a folder in an inexistent path... i think

Saludos
#4

[eluser]wyred[/eluser]
That wasn't the problem, let me remove the error message. Sorry for the confusion.
#5

[eluser]wyred[/eluser]
Another temporary solution I've found is to set
Code:
$config['compress_output'] = FALSE;




Theme © iAndrew 2016 - Forum software by © MyBB