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 ?

CommentFileSizeAuthor
#5 boost-899350.patch945 bytesmikeytown2

Comments

mikeytown2’s picture

What does this query return?
SELECT * FROM {menu_router} WHERE path LIKE 'boost_stats.php'

are you in a subdomain or subdirectory?

deepesh’s picture

SQL 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

mikeytown2’s picture

well thats strange... its there, yet it gives you a 404. using apache right?

deepesh’s picture

Apache with PHP 5.3.1, Also, is the value title=NULL&q=NULL in query string normal ?

mikeytown2’s picture

StatusFileSize
new945 bytes

q=NULL doesn't seem correct. it should be qq; its that for ajax, not that for the image.

mikeytown2’s picture

Status: Active » Needs review
mikeytown2’s picture

Status: Needs review » Fixed

committed it; let me know if you get q= again after your cache is clear of the old way.

deepesh’s picture

This 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 !

Status: Fixed » Closed (fixed)

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