When I try this module it gives me a very weird result.
What I see is part of the html code of the page it should give me.
Is like it missed to print some of the code (most of the template), including the first tag and therefore showing it as it was a plain txt instead.
I did a search with the same keyword and I get the same search results. What I'm trying to say is that it seems to be doing the searches well but failing when printing the code.
It's probably worth to note that the missing code is from the beginning to part of the link tag of the first result
e.g instead of;
<a href="http://www.mysite.com/whatever/blahblah/boreham.htm">LinkKeyword</a>
<!-- code carries on -->
I get
ysite.com/whatever/blahblah/boreham.htm">LinkKeyword</a>
<!-- code carries on but also missing chunks after the search results -->
It seems that the only part that it's printing right is the search result, anything belonging to the template is missing except for the bottom end;
a footer block I've got and the last </div> tags and </html>
i.e bottom end
<span class="clear"></span>
<p><a href="#top" class="to-top">Back to top</a></p>
</div><!-- /center -->
</div><!-- /content -->
</div><!-- /main -->
<div id="footer">
<div id="block-block-2" class="block block-block">
<div class="blockinner">
<h3 class="title"> </h3>
<div class="content">
<p> footer here</p>
</div>
</div>
</div>
</div>
</div><!-- /wrapper-main -->
</body>
</html>Do you know what I mean?
Curiously if I tick the "Jump directly to the search result when there is only one result" option and only one result is available the jump works fine.
I thought it may be a problem with the theme I use (Aberdeen-liquid) but I tried with other themes (Garland and Bluemarine) and I get exactly the same problem.
I gave this module a try because drupal 404 error handling was giving me blank pages instead of the standard message "Page Not Found"
Any idea of why is this happening? Did I do anything wrong?
Comments
Comment #1
dsnydernc commentedConfirmed. I have this issue as well. To simplify - my template is being ignored when search results are presented to the user via search404. I can navigate to the page myself and all is fine, but when searches are done for the user my template and CSS files seem to be escaped, and only a simple white page with the search results are presented to the site visitor.
Switching to critical as this forces us to disable to the module.
Comment #2
jamonation commentedSeeing this problem as well in a different form -- when on any page generated by search404 none of the blocks that are set to be displayed on every page show up -- sidebar left, right, header etc. Tested with Garland and my own custom theme.
Comment #3
zyxware commentedHello All
Is this issue occurring in the latest dev release of Search404? We did test it out from our side on Drupal 5 and 6 and we did not see any missing tags from our side, can you reconfirm this issue?
Regards
Zyxware
Comment #4
zyxware commentedSince there has been no activity for 25 weeks I am closing this issue, if the problem persists feel free to open the issue
Regards
Zyxware