[TYPO3-english] typo3temp on 4.2 - major problem

Christopher Torgalson bedlamhotel at gmail.com
Wed Jun 10 00:05:46 CEST 2009


Wow.

On Tue, Jun 9, 2009 at 2:55 PM, La Farge Douglas<doug at gcnpublishing.com> wrote:
> I used:
>
> find . -name "*.js" -print | xargs rm -f
>
> That cleared out about half a million files.
>
>
> 10 minutes later I get:
> -rw-r--r--  1 apache apache     674 Jun  9 17:42
> javascript_15f08c23f4.js
> -rw-r--r--  1 apache apache     674 Jun  9 17:40
> javascript_3ca7463ab2.js
> -rw-r--r--  1 apache apache     674 Jun  9 17:50
> javascript_4fbc85af4a.js
> -rw-r--r--  1 apache apache     674 Jun  9 17:51
> javascript_627eb52131.js
> -rw-r--r--  1 apache apache     674 Jun  9 17:41
> javascript_7c46649959.js
> -rw-r--r--  1 apache apache     674 Jun  9 17:46
> javascript_7c75205431.js
> -rw-r--r--  1 apache apache     674 Jun  9 17:44
> javascript_7f41b0c9d5.js
> -rw-r--r--  1 apache apache     674 Jun  9 17:52
> javascript_8f13f0e13d.js
> -rw-r--r--  1 apache apache     674 Jun  9 17:44
> javascript_b4a55f4a1f.js
> -rw-r--r--  1 apache apache     674 Jun  9 17:42
> javascript_b57d349c59.js
> -rw-r--r--  1 apache apache     674 Jun  9 17:51
> javascript_d4dd2ab112.js
> -rw-r--r--  1 apache apache     674 Jun  9 17:52
> javascript_f31064279f.js
>
>
> Looks like it makes a new file once or twice a minute.  Great.
>
> var browserName=navigator.appName;var
> browserVer=parseInt(navigator.appVersion);var version="";var
> msie4=(browserName=="
> Microsoft Internet
> Explorer"&&browserVer>=4);if((browserName=="Netscape"&&browserVer>=3)||
> msie4||browserName=="Konqueror
> "||browserName=="Opera"){version="n3";}else{version="n2";}
> function blurLink(theObject){if(msie4){theObject.blur();}}
> function T3_onmousemoveWrapper(e){GL_getMouse(e);GL536002_getMouse(e);}
> function T3_onmouseupWrapper(e){GL_mouseUp('536002',e);}
> function T3_onloadWrapper(e){GL_initLayers();GL_restoreMenu("536002");}
> document
> .onmousemove
> =
> T3_onmousemoveWrapper
> ;document
> .onmouseup=T3_onmouseupWrapper;document.onload=T3_onloadWrapper;


This is just a theory, but I think you might've uncovered a fun bug.
I'm guessing that you've got config.removeDefaultJS = external set in
your main template and that the javascript produced by that
abomination of a menu (*MENU_LAYERS) is DIFFERENT ON EVERY PAGE. This
would mean a different js temp js file for every page on the site and,
if there are *other* things on pages that can change the js in the
document head (i.e. if you have pages in that menu that are not
available for some user groups...), possibly multiple js files being
generated for a given page depending on how it's accessed.

I'd encourage you to test this theory and (if it seems true) to file a
bug report.

-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list