My drupal log is being hammered by these 404 Page not found errors :
Type page not found
Date Wednesday, September 1, 2010 - 11:39
User Anonymous
Location http://www.mysite.net/boost_stats.php?nocache=1&nid=560&title=NULL&q=NULL
Referrer http://www.mysite.net/mypage
Message NULL
Severity warning
I am using 404 auto-search module and this is hitting the server hard, any ideas what can be done to avoid this ?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | boost-899350.patch | 945 bytes | mikeytown2 |
Comments
Comment #1
mikeytown2 commentedWhat does this query return?
SELECT * FROM {menu_router} WHERE path LIKE 'boost_stats.php'are you in a subdomain or subdirectory?
Comment #2
deepesh commentedSQL result
Host: localhost
Generation Time: Sep 02, 2010 at 09:15 AM
SQL query: SELECT * FROM `menu_router` WHERE path LIKE 'boost_stats.php' LIMIT 0, 30 ;
Rows: 1
Result :
http://i.imgur.com/ut7aU.png
Comment #3
mikeytown2 commentedwell thats strange... its there, yet it gives you a 404. using apache right?
Comment #4
deepesh commentedApache with PHP 5.3.1, Also, is the value title=NULL&q=NULL in query string normal ?
Comment #5
mikeytown2 commentedq=NULL doesn't seem correct. it should be qq; its that for ajax, not that for the image.
Comment #6
mikeytown2 commentedComment #7
mikeytown2 commentedcommitted it; let me know if you get q= again after your cache is clear of the old way.
Comment #8
deepesh commentedThis fix seems to be working, "NULL " page not found errors are no more my top "404" error - weired but there are still two mentions of this error in the logs !