Looks like PHP is running out of memory. Here’s the error, which is the only text on a plain white page:
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 71 bytes) in /home/straightdope/boards.straightdope.com/sdmb/search.php on line 1151
BTW, I noticed this doesn’t actually happen 100% of the time, but it does always happen with the same search terms. For example, if you go to advanced search and put the words “years behind” in the keywords box and then choose “show results as posts” at the bottom and hit submit, it always happens. I have seen other two word searches that work. Presumably, the number of posts containing each individual keyword chosen is a factor.
When you see that message it means the system is so swamped with requests that it’s dropping some … it will always favor reading/writing posts over everything else and will drop sending email and searches.
Sorry about that.
You’ll always do better using Google for your searches anyway.
This is wrong, and is a cop-out. As an example, please show me how to use Google for the simple task of finding posts where TubaDiva used the word “Google”. There is a reason sites have their own search engines instead of just falling back on the lazy answer of “use google,” and it’s that your site has much more insight into the meaning of certain pieces of information and can use that to improve search results, whereas Google can’t see posts, usernames, dates, forum names, etc. It just sees all those things as text on a page.
The error means PHP is running out of memory. This is a configurable setting and not a vB issue. It may be that you can’t increase the setting because you don’t have enough RAM on your web server. This is also not vB’s fault.
This has always been what ground my gears about the automatic “Google!” response to our shitacular search function. First, it’s silly to instruct people to use another website so that they can make good use of this one, but moreover, the fix they offer up is a pretty bad one. I’ve just learned to live with never having a useful search function on this board, and only being able to Google in very limited cases. Feh.
From the error it appears that PHP is being given 512MB of RAM on the server. That is actually quite a lot for PHP but there are quite a lot of messages on the boards. I think the error happens on searches that return too many results. If increasing the memory allocation isn’t an option, reducing the possible number of found posts might also help from the other end of the problem:
Admin CP -> vBulletin Options -> Message Searching Options -> Maximum Search Results to Return
Setting that to a lower number and/or increasing the memory allocation to PHP should allow more searches to succeed without the error.
I just noticed the SDMB is running vBulletin version 3.73.
A PHP memory overrun bug during searches appears to have been fixed in version 3.84
I don’t know if this was the specific bug in question here, but since then there have been many more updates, an entire version 4, 4.x, and the current version of vBulletin is version 5.
If this is caused by a bug or limitation in vB and isn’t just a simple question of not enough memory for the number of results returned, chances are the bug was fixed a long time ago.