My browsers keep giving me these error messages when I access one particular yii app page.
Firefox: The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
Safari: The error was: “cannot decode raw data” (NSURLErrorDomain:-1015)
IE: Just hangs
I think is is something related to caches and gzip.
I recently deleted around 50,000 records from a mysql table. It was test data. The problem seems to of started after I deleted these records.
I'm wondering if there is some runtime residue I need to clean up in my yii app. I tried clearing all caches,etc in my browsers
Any help would be greatly appreciated.
You may delete everything under /assets and protected/runtime.
Other than those, Yii usually doesn't store any dynamic things on disk.
Thanks Qiang, I tried deleting those and still the same problem.
Any idea what may be causing this problem?
I figured it out. I turned off gzip and figured out what it was sending. Looks like I induced a bug into some of my code and it was creating the browser errors above instead of the regular verbose php errors. I think the gzip prevented the php errors from showing up for some reason.
I really don't understand it all, but for anyone experiencing the same problem in the future, turn off your compression to see where the problem is stemming from.