We have been using the Javascript Aggregator module & recently installed the Lighttpd patch on UrbanMinistry.org. Soon after, we saw this error in watchdog:

filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for http://static.urbanministry.org:81/modules/panels/js/panels.js in /home/urbmi5/public_html/modules/javascript_aggregator/javascript_aggregator.module on line 49.

This error was occurring 10 times or so per page load (1 for each Javascript file being aggregator).

I think that this error probably stems from the same root cause as [#268390: Error in multisite environment], but I wanted to report it separately, since we aren't actually a multi-site installation, just a site which has both a dynamic web server (Apache) and a static one (Lighttpd).

I noticed in the comment #1 for the issue I referenced that they are also running Lighttpd. Perhaps that server doesn't support filemtime?

Comments

robloach’s picture

Version: 5.x-1.3 » 5.x-1.5
Status: Active » Fixed

I noticed this too, and removed the use of filemtime() in 1.5. The inspiration also came from Drupal 6, which also doesn't use filemtime().

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.