When javascript is coming from a virtual path, the locale module reports an error during (or slightly after) update.php is run.
This happens when locale Parses a JavaScript file, extracts strings wrapped in Drupal.t() and Drupal.formatPlural() and inserts them into the database.

warning: file_get_contents(countdowntimer/timerjs) [function.file-get-contents]: failed to open stream: No such file or
directory in /... /public_html/includes/locale.inc on line 1622.

The code in question calls the file_get_contents($filepath) which cannot load urls.

Comments

jvandervort’s picture

The last line should read:
The code in question calls the file_get_contents($filepath) which cannot load urls in all php installations.
There is apparently an allow_url_fopen boolean which can be set only in the php.ini file.

Also there is an interaction with drupal_add_js which appends a ?987987987 to the end of the url.

dpearcefl’s picture

Status: Active » Postponed (maintainer needs more info)

Does this issue exist in current D6?

dpearcefl’s picture

Status: Postponed (maintainer needs more info) » Active
jvandervort’s picture

It might, but I have no way of testing anymore. I redeveloped the module to create an actual javascript file instead of using a virtual path callback.

dpearcefl’s picture

Status: Active » Closed (cannot reproduce)

I guess since no one else was contributing comments, we'll have to mark this one "can't reproduce" which isn't entirely correct but until someone else pops up, it will have to do.