Undefined requests and logging the error
Posted: Thu Mar 26, 2009 2:15 pm
I keep getting a undefined requests sent to one server. It doesn't happen on other sites following the same template, leading me to believe I have made an error somewhere in my PHP.
[Thu Mar 26 13:56:38 2009] [error] [client (removed)] File does not exist: (site path removed)/undefined
Sometimes it has a referer address and sometimes it doesn't. When trying to use my own error handler (works but doesn't hit the error handler for this)
This is the request from the access log. It usually exists after a page load, not always the root of the site.
(removed) - - [26/Mar/2009:13:56:38 -0500] "GET /undefined HTTP/1.1" 404 706 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729)"
Is there something I should be setting in PHP so I can see more about these requests? Maybe I need to set something in Apache? If it was a constant error it would be easier to find, but it's often different addresses and varying times.
[Thu Mar 26 13:56:38 2009] [error] [client (removed)] File does not exist: (site path removed)/undefined
Sometimes it has a referer address and sometimes it doesn't. When trying to use my own error handler (works but doesn't hit the error handler for this)
This is the request from the access log. It usually exists after a page load, not always the root of the site.
(removed) - - [26/Mar/2009:13:56:38 -0500] "GET /undefined HTTP/1.1" 404 706 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729)"
Is there something I should be setting in PHP so I can see more about these requests? Maybe I need to set something in Apache? If it was a constant error it would be easier to find, but it's often different addresses and varying times.