Closed GoogleCodeExporter closed 9 years ago
thx for info. It seems double gzipping causes this issue, but why only on
stage=60, not
on stage=20, 30, or 40. On stage 60 data:URI should be applied through prepared
CSS
file. And this process can output some errors, that can't be shown as they have
incorrect Content-Encoding (not gzip, raw text).
Can you please somehow try to disable gzip in Textpattern and get the error
message
from Web Optimizer? (and/or disable gzip in Web Optimizer)
Original comment by sunny.dr...@gmail.com
on 8 Sep 2009 at 3:40
There is no gzip enabled in textpattern (Since wbo is compressing fine via PHP
the
full page cache solution asy_jpcache is disabled).
First try: I disable all gzip via PHP options. Saving in wbo UI I get a bunch
of errors:
URL as before:
http://sankt-georg.info/wbo/cache/optimizing.php?web_optimizer_stage=60&username
=xxx&password=xxx&auto_rewrite=1
Warning: preg_match_all() [function.preg-match-all]: Unknown modifier 'M' in
/.../wbo/controller/compressor.php on line 1344
Warning: Cannot modify header information - headers already sent by (output
started
at /.../wbo/controller/compressor.php:1344) in
/.../wbo/controller/compressor.php on
line 467
Warning: Cannot modify header information - headers already sent by (output
started
at /.../wbo/controller/compressor.php:1344) in
/.../wbo/controller/compressor.php on
line 288
Result: wbo integration in Textpattern index.php is gone
Result: Disabled gzip options are saved in config file.
Second try: Leaving the state like it is returning to wbo UI. Changing nothing.
Gzip
is disabled (!):
URL:
http://sankt-georg.info/wbo/cache/optimizing.php?web_optimizer_stage=60&username
=xxx&password=xxx&auto_rewrite=1
Warning: preg_match_all() [function.preg-match-all]: Unknown modifier 'M' in
/.../wbo/controller/compressor.php on line 1344
Warning: Cannot modify header information - headers already sent by (output
started
at /.../wbo/controller/compressor.php:1344) in
/.../wbo/controller/compressor.php on
line 467
Warning: Cannot modify header information - headers already sent by (output
started
at /.../wbo/controller/compressor.php:1344) in
/.../wbo/controller/compressor.php on
line 288
Result as above. And the cache was purged (didn't check that in the first try).
Sorry, but that's all I get at the moment when saving the configuration fom the
UI.
Rollback: Activate all gzip options in config file again
Rollback: Copy index.php backup to home directory
Original comment by merzmar...@gmail.com
on 9 Sep 2009 at 9:50
thank you very much. You have unobtrusive logic enabled, so one of the actions
leads to
an error. Please find in compressor.php
@Mail.ru
and replace it with
\@Mail.ru
Fix will be included into 0.5.9
Original comment by sunny.dr...@gmail.com
on 9 Sep 2009 at 10:38
Searching case sensitive for the whole word @Mail.ru doesn't find anything.
I only find Rating@Mail.ru three times in two lines.
OK, I replaced Rating@Mail.ru with Rating\@Mail.ru and saved that to
wbo/controller/compressor.php.
Test: OK > "Your configuration has been successfully saved"
Looks fine so far.
Original comment by merzmar...@gmail.com
on 9 Sep 2009 at 11:50
ok, thank you once more. I hope there were the last bugs with your website :)
Original comment by sunny.dr...@gmail.com
on 9 Sep 2009 at 12:03
Original issue reported on code.google.com by
merzmar...@gmail.com
on 8 Sep 2009 at 12:54