Garbage in browser window when viewing .../min/ directory
Closed this issue · 3 comments
GoogleCodeExporter commented
1) Upload /min/ to server.
2) Visit http://sitename.com/min/
3) See garbage on screen as displayed in the attached screenshot.
When running tests (http://sitename.com/min_unit_tests/test_all.php) all
tests pass except the last one which says:
!FAIL: environment : PHP/server does not auto-HTTP-encode content (1 of 72
tests run so far have failed)
Original issue reported on code.google.com by rige...@gmail.com
on 6 Jan 2010 at 4:10
Attachments:
GoogleCodeExporter commented
You have a PHP (or server) setting causing all output to be encoded. Minify
tries to
disable these, but it can't always do that. Check your PHP settings first.
Original comment by mrclay....@gmail.com
on 6 Jan 2010 at 4:46
- Changed state: NeedInfo
GoogleCodeExporter commented
the two phpini variables that are most likely causing it are:
zlib.zlib.output_compression
zlib.output_compression_level
It's mostly likely coming from lib.output_compression_level try setting it to
-9:
ini_set('zlib.output_compression_level', '-9');
Also make sure zlib.output_compression is set to Off.
Hope that helps
Original comment by josh.pen...@gmail.com
on 6 Apr 2010 at 11:34
GoogleCodeExporter commented
Thanks Josh. I'm gonna go ahead and close this.
Original comment by mrclay....@gmail.com
on 7 Apr 2010 at 12:04
- Changed state: Invalid