I’m running some simple simulations using PHP with the Blackberry 6700 simulator and the 6200/7200 simulator. I get the following error message only on the 6700 simulator and only if I run a basic html page through PHP:
Content Encoding Error: Corrupt Chunked Encoding (no CRLF after chunk length)
The page is actually an exact copy of a simple xhtml sample page from the Blackberry guide (no PHP code in it). It works fine if it doesn’t run through PHP (i.e. straight through Apache). But when I change the file extension from ,html to .php I get this error. It doesn’t happen on the 6200/7200 simulations.
I used wget to check the http header info and found that when I don’t use PHP a file length is transmitted but when I do run it through PHP the length is “unspecified”.
Length: unspecified [text/html]
Maybe this has something to do with it. I tried every PHP/Apache setting I can think of but no luck.
I searched high and low for someone else with this error…no luck. I’m completely stuck. Help?
/ian