I'm using Search 404 and Node Reference URL (http://drupal.org/project/nodereference_url).

When I add a referring node from the link on the referenced node (which is just like adding a comment for a user), I get the message "The page you requested does not exist. For your convenience, a search was performed using the query node OR 63." node/63 is the node that shows on the homepage and I don't see why this error would appear.

CommentFileSizeAuthor
#2 search404-error-bmasters.jpg182.53 KBbmasters

Comments

OneTwoTait’s picture

Title: Incompatibility with Node Reference URL? » Search Message Displayed on non-404 pages

Further use shows this error on many pages, not just pages related to Node Reference URL. It usually, but not always, shows up on pages that involve adding a comment with Node Comment, or while creating a referencing node with Node Reference URL.

bmasters’s picture

StatusFileSize
new182.53 KB

I'm seeing something similar, however I'm not running the Node Reference URL module or Node Comment module. I am running CCK's Node Reference module, however, which is required by Node Reference URL, so my guess is the issue is related to CCK Node Reference??

See attached screenshot of error message.

Has any progress been made on this issue?

zyxware’s picture

Assigned: Unassigned » zyxware
Status: Active » Postponed (maintainer needs more info)

@bmasters - When google CSE is enabled the module only displays the said error and redirects the user to the Google CSE results page - search/google/search-string-here. Try typing in this URL into the address bar and see what happens

bmasters’s picture

@zyxware -

Thanks for your response. I can confirm that the Google CSE and Search 404 modules work together correctly on my site for the most part. That is, if I browse to www.mysite.com/some-page-that-does-not-exist I get redirected to the Google CSE results and see an error message generated by the Search 404 module that reads: "The page you requested does not exist. For your convenience, a google search was performed using the query some page that does not exist." This is the expected behavior.

My issue is that sometimes the Search 404 error message appears on pages where it should not. It doesn't happen very often, but I've seen it more than once. The screen shot that I attached in my previous post captures what I've seen before. In that case, I've browsed to a valid URL yet the Search 404 module has injected an error message anyway. The module did not invoke Google CSE in any meaningful way. And you can tell by the error message that it has picked up something from the HTML and reprinted it. In this case, the error message contains a string of text describing an image that appears on an entirely different page.

BTW, I'm using version 6.x-1.8.

I hope that clarifies my issue.

zyxware’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Closed (works as designed)

@bmasters - I think I can imagine a situation where you can get this. In drupal messages don't necessarily get displayed on the page that results in the message. They are stored in a session variable. So if you have a page where you send simultaneous results of which one results in a 404 while the other results in the actual page. If the 404 page is because of, say a missing image, you could end up with the message on the page while the missing image request gets transparently processed.

I am marking this issue as closed as this does not look like a search404 issue.