Hi,

on one site I lost folding fieldgroups, CCK autocomplete and pulldown menus from 'admin_menu' immediately after installing 'javascript_aggregator'. Some other sites are (so far) running fine on the same server, so this is most probably not caused by certain settings of the Apache configuration.

Disabling/uninstalling the module did not gave these Javascript/jQuery (?) features back. Re-installing the module revealed that it stores something in the database which is not fully removed when uninstalling: At ./admin/settings/performance the setting "Use JSMin+ instead of JSMin" was still checked after uninstalling and re-installing; by default it is unchecked.

Any ideas or suggestions?

Thanks & greetings, -asb

Comments

asb’s picture

Debugging with FF -> Firebug -> Net -> JS:

Response Header:

HTTP/1.1 403 Forbidden
Date: Mon, 31 May 2010 13:06:05 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_perl/2.0.4 Perl/v5.10.0
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 328
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

Query Header:

GET /sites/default/files/js/js_1378e510664b0d76fc3327f0209497dd.jsmin.js HTTP/1.1
Host: XXXXXX.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
Accept: */*
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://XXXXXX.org/
Cookie: __utma=163322150.1868542655.1170901275.1273952871.1274800175.102; __utmv=163322150.authenticated%20user%2CSysop; __utmz=163322150.1266097007.86.2.utmcsr=XXXXXX.org|utmccn=(referral)|utmcmd=referral|utmcct=/; SESSa41bc661bd3c370b31a51172f5f4a8f7=720a0aa82888fb332da3272f2f0d70b7
Cache-Control: max-age=0

So something creates an "403 Forbidden". ./sites/default/files/js is readable for the web server (www-data:www-data).

If it works correctly, the headers are looking like this:

Response Header:

HTTP/1.1 304 Not Modified
Date: Mon, 31 May 2010 13:14:27 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_perl/2.0.4 Perl/v5.10.0
Connection: Keep-Alive
Keep-Alive: timeout=15, max=100
Etag: "582ff8a-6242-487cfc38388c0"

Query Header:

GET /sites/default/files/js/js_71c6206c11490aa59c19e6ded0723d5d.jsmin.js HTTP/1.1
Host: XXXXXX.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
Accept: */*
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://XXXXXX.org/
Cookie: __utma=164879789.1153102278.1182176592.1270684613.1275311623.44; __utmv=164879789.authenticated%20user%2CSysop; __utmz=164879789.1266097987.31.1.utmcsr=XXXXXX.org|utmccn=(referral)|utmcmd=referral|utmcct=/admin/settings/performance; __utmb=164879789.1.10.1275311623; __utmc=164879789
If-Modified-Since: Sun, 30 May 2010 13:31:55 GMT
If-None-Match: "582ff8a-6242-487cfc38388c0"
Cache-Control: max-age=0

Any ideas?

asb’s picture

Apache error log:

[Mon May 31 16:11:30 2010] [error] [client 58.61.164.141] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/drupal/sites/default/files/css/css_bfc2bae758d02672cf19dc21f9faf6ac.css, referer: http://XXXXXX.org/
[Mon May 31 16:11:33 2010] [error] [client 58.61.164.141] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/drupal/sites/default/files/js/js_f850bba1a5bd9cb89e4b38fbe25deeae.jsmin.js, referer: http://XXXXXX.org/

Configuration for the VirtualHost:

...
        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>

        <Directory /sites/default/files/js>
                Options +SymLinksIfOwnerMatch
                AllowOverride All
        </Directory>

        <Directory /sites/default/files/css>
                Options +SymLinksIfOwnerMatch
                AllowOverride All
        </Directory>
...

= 403 Forbidden

        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>

        <Directory /sites/default/files/js>
                Options FollowSymLinks
                AllowOverride All
        </Directory>

        <Directory /sites/default/files/css>
                Options FollowSymLinks
                AllowOverride All
        </Directory>

= 403 Forbidden

        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>

= 403 Forbidden

derjochenmeyer’s picture

Version: 6.x-1.4 » 6.x-1.x-dev
Status: Active » Postponed (maintainer needs more info)

What can we do about it?

this?
#516882: .min.js does not redirect to .min.js.gz in some Apache configurations

#0

Disabling/uninstalling the module did not gave these Javascript/jQuery (?) features back.

This should fix it: #248880: Make sure all variables and .htaccess file get deleted on uninstall

derjochenmeyer’s picture

Status: Postponed (maintainer needs more info) » Needs review
derjochenmeyer’s picture

Status: Needs review » Postponed (maintainer needs more info)

Please check if changes of issues mentioned in #1 solved this.

asb’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I haven't experienced this issues for some months, so closing.