I'm using the module in multisite environment, whr i use the same code base but the files folder for each website is different. i got error
"warning: filemtime() [function.filemtime]: stat failed for 3000/misc/jquery.js in /path to core/sites/all/modules/javascript_aggregator/javascript_aggregator.module on line 49."
any solutions
Comments
Comment #1
waddles commentedI am seeing the same thing, also with a multisite:
but this file does exist. I don't know why it's appending '?79487' to it
The error gets logged to the system log on every page view when JS Aggregator is enabled.
Comment #2
christefano commentedabhinavlal, are you using Lighttpd? filemtime() is known to fail with Lighttpd.
Comment #3
abhinavlal commentedno i'm using apache only.
Comment #4
christefano commentedAh, well in that case.
Comment #5
aruna.kulatunga commentedI am also receiving the same error, using Drupal 5.7 on Apache 2.
warning: filemtime() [function.filemtime]: stat failed for http://xx.xx.xx.xx/web/files/js/c8bd83cd9b3d8d14a762518fda0cdc60-1222780149.js in /var/www/sites/all/modules/javascript_aggregator/javascript_aggregator.module on line 50,where line 50 reads
$scripts_js_files[$value] = filemtime($value);We are also using the CDN module and mysql is hosted in a win 2003 server. CDN is temporary also in a win server. Definitely not using lighttpd at the moment. Any help will be most welcome...
Comment #6
robloachDon't use a common files directory if you're on a multi-site install. Use sites/example.com/files.
Comment #7
waddles commentedI can't see how "Don't use a common files directory" is a fix. It may be a known issue, but I don't see anything in the README.txt to warn people about it.
If it can't be fixed, can it at least be documented?
Comment #8
robloachGreat idea! http://drupal.org/cvs?commit=152719
"Make sure you have site specific files directories setup in admin/settings/file-system."..... Think it needs more?