[Plugin: Web Optimizer] another problem after updateing to 0.6.6
-
this was one of the best plugins, but I can’t go double check if it still works after upgrade on 8 wordpress installations…
I also understand that its still beta i.e. version < 1 but why does it have to break after every upgrade?´[Tue Nov 17 13:05:31 2009] [error] [client 41.5.119.161] PHP Warning: file_put_contents(/var/www/clients/clientXX/webXX/web/wp-content/plugins/web-optimizer/cache/cfd8b0008f.php) [function.file-put-contents]: failed to open stream: No such file or directory in /var/www/clients/clientXX/webXX/web/wp-content/plugins/web-optimizer/controller/compressor.php on line 811, referer: http://www.knightsenglish.com/wp-admin/options-general.php?page=weboptimizer
´
-
There is complete user guide how to install and tune Web Optimizer
As Wiki: http://code.google.com/p/web-optimizator/w/list
As .pdf: http://code.google.com/p/web-optimizator/downloads/detail?name=web-optimizer.v0.6.4.ug.en.pdfThere must be available for writing cache folder(s). It seems in your case there is no such folder on the server
thx for the links. will read through hand sort it out.
BUT it was working. after doing the upgrade via wordpress it broke.
ok, upgraded to the latest version of the plugin, set the owners and permissions =>
´[Fri Nov 20 11:33:46 2009] [error] [client 85.214.146.68] client denied by server configuration: /var/www/clients/clientXX/webXX/web/wp-content/plugins/web-optimizer/libs/php/css.sprites.php, referer: http://www.quilombobrasil.com
[Fri Nov 20 11:33:46 2009] [alert] [client 85.214.146.68] /var/www/clients/clientXX/webXX/web/wp-content/plugins/web-optimizer/libs/js/.htaccess: Invalid command ‘mod_gzip_on’, perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.quilombobrasil.com
[Fri Nov 20 11:33:46 2009] [alert] [client 85.214.146.68] /var/www/clients/clientXX/webXX/web/wp-content/plugins/web-optimizer/libs/js/.htaccess: Invalid command ‘ExpiresActive’, perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.quilombobrasil.com
[Fri Nov 20 11:42:37 2009] [error] [client 85.214.146.68] PHP Warning: file_put_contents(//progress.html) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/clientXX/webXX/web/wp-content/plugins/web-optimizer/controller/compressor.php on line 810, referer: http://www.quilombobrasil.com
´btw. I fulfill all requirements from the documentation, just read through the 41 pages PDF. All files and folders have been correctly chowned and chmodded => 755 so the webserver has write access to the files.
Web Optimizer has not a single option enabled, yet I get above errors when accessing its options page…then after I enable some options I get:
´[Fri Nov 20 11:43:25 2009] [error] [client 196.36.153.134] (13)Permission denied: file permissions deny server access: /var/www/clients/clientxx/webXX/web/wp-content/plugins/web-optimizer/cache/d22a56032e.css, referer: http://www.quilombobrasil.com/restaurant/brazilian-products/´
So after settign all permissions right, deleting al cache files saving the settings, I still get errors. Then I look inside the cache directory and what do I see?
´h155XXXX:/var/www/quilombobrasil.com/web# ls -al wp-content/plugins/web-optimizer/cache/
total 376
drwxr-xr-x 2 web18 client4 4096 2009-11-20 11:46 .
drwxr-xr-x 8 web18 client4 4096 2009-11-20 11:30 ..
-rw——- 1 web18 client4 102563 2009-11-20 11:46 3f88f18ec2.js
-rw——- 1 web18 client4 36531 2009-11-20 11:46 3f88f18ec2.js.gz
-rw——- 1 web18 client4 97725 2009-11-20 11:46 6bcb20e928.js
-rw——- 1 web18 client4 34213 2009-11-20 11:46 6bcb20e928.js.gz
-rw——- 1 web18 client4 59679 2009-11-20 11:46 d22a56032e.css
-rw——- 1 web18 client4 17213 2009-11-20 11:46 d22a56032e.css.gz
-rw——- 1 web18 client4 1809 2009-11-20 11:46 htaccess.test
h155XXXX:/var/www/quilombobrasil.com/web#
´RW permissions. I am on a vhost running suPhp and need 755 permissions or at least 644. Now I begin to wonder why it was running before the latest upgrade. did the permissions with which files get written change?
thx for this notice. It seems 600 are default permissions PHP set for files on creation. There has been made a fix for that (very strange) PHP behavior.
You can apply a new version (from repository) via
a) deactivating plugin
b) deleting current web-optimizer folder (maybe w/o config.webo.php file)
c) activating plugin once more. All new files will be downloaded from repository.followed your suggestions, still getting this error now:
´[Sat Nov 21 13:17:22 2009] [error] [client 85.214.146.68] PHP Warning: file_put_contents(//progress.html) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/clientXX/webXX/web/wp-content/plugins/web-optimizer/controller/compressor.php on line 812, referer: pacura.ru
´
and ´[Sat Nov 21 13:17:41 2009] [alert] [client 85.214.146.68] /var/www/clients/clientXX/webXX/web/wp-content/plugins/web-optimizer/libs/js/.htaccess: Invalid command ‘ExpiresActive’, perhaps misspelled or defined by a module not included in the server configuration, referer: pacura.ru
´it seems as if the .js concatenation, compression and caching works, but it is currently broken (probably due to these permission problems) for .css
BTW. sorry to sound a little harsh sometimes, its just that yours is the best plugin of this kind I could find and it was working but broke now for me 🙁
I really appreciate all your helpI don’t see here any ‘valid’ errors.
1) progress.html is ued for standalone application. It’s a minor bug that it can’t be written (and this doesn’t influence the main logic, it’s just installation troubles)2) ExpiresActive is being checked via dummy .htaccess. So this error is a ‘good’ one. Web Optimizer disabled mod_expires usage operating data from this error.
Maybe cache clean-up? Can’t tell for sure what is wrong with CSS basing on this info.
some more errors with the latest version:
´[Mon Dec 07 09:46:26 2009] [error] [client 85.214.146.68] PHP Warning: file_put_contents(//progress.html) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/client4/web18/web/wp-content/plugins/web-optimizer/controller/compressor.php on line 816, referer: http://www.quilombobrasil.com
´
´[Mon Dec 07 09:46:46 2009] [error] [client 85.214.146.68] client denied by server configuration: /var/www/clients/client4/web18/web/wp-content/plugins/web-optimizer/libs/php/css.sprites.php, referer: http://www.quilombobrasil.com
´´h1550830:/var/www/quilombobrasil.com/web# ls -al wp-content/plugins/web-optimizer/cache/
total 560
drwxr-xr-x 2 webxx clientxx 4096 2009-12-07 09:47 .
drwxr-xr-x 8 webxx clientxx 4096 2009-12-07 09:41 ..
-rw-r–r– 1 webxx clientxx 161061 2009-12-07 09:47 3189fa9f9f.ie6.js
-rw-r–r– 1 webxx clientxx 60041 2009-12-07 09:47 3189fa9f9f.ie6.js.gz
-rw-r–r– 1 webxx clientxx 100423 2009-12-07 09:47 d13768eb2b.ie6.js
-rw-r–r– 1 webxx8 clientxx 35104 2009-12-07 09:47 d13768eb2b.ie6.js.gz
-rw-r–r– 1 webxx clientxx 99637 2009-12-07 09:45 f46b2ef942.js
-rw-r–r– 1 webxx clientxx 34739 2009-12-07 09:45 f46b2ef942.js.gz
-rw——- 1 webxx clientxx 1809 2009-12-07 09:47 htaccess.test
-rw-r–r– 1 webxx clientxx 284 2009-12-07 09:46 progress.html
-rwxr-xr-x 1 webxx clientxx 10769 2009-12-07 09:41 web.optimizer.stamp.png
-rw——- 1 webxx clientxx 887 2009-12-07 09:45 wo9d543086ed8268273ec96b2150931f1c.js
-rwxr-xr-x 1 webxx clientxx 1003 2009-12-07 09:41 wo.cookie.php
-rwxr-xr-x 1 webxx clientxx 8847 2009-12-07 09:41 wo.static.php
-rwxr-xr-x 1 webxx clientxx 2685 2009-12-07 09:41 yass.loader.js
´
The topic ‘[Plugin: Web Optimizer] another problem after updateing to 0.6.6’ is closed to new replies.