PDA

View Full Version : [ubuntu] Apache Error: "undefined" being requested.



gjj391
December 17th, 2010, 11:40 PM
I am getting a very odd error in my Apache error_log. It seems to be related to downloading assets such as JavaScript files.

An example error entry looks like:

[error] File does not exist: /webroot/site/undefined

I am not requesting any asset with that file path and its not consistent, but it is happening a good bit.

Any ideas out there?

James78
December 18th, 2010, 01:08 AM
I found this after searching around:
"This is pretty certainly an error in your Javascript. Look out for any places where JS requests a file named "webroot/site"+some_variable - the some_variable part is undefined for some reason"

Maybe it hopefully is applicable to your case? Since you know what might be the cause now you can do some testing on this..