« Bay Area Movable Type Gathering | Main | CocoaMySQL - MySQL Tool for Mac »
September 5, 2004
Search Throttle Bug
There is a bug in MT3.1 that prevents MT from recognizing that a keyword search has been completed. Thus if you make a second search soon after your first search, you'll get the error message:
"Got an error: You are currently performing a search. Please wait until your search is completed."The search function has a built-in throttle to prevent a user from a single IP address from flooding the system with search requests while existing searches are being conducted. This throttle is 60 seconds by default. Normally MT sees that a search has been completed and allows you to start another one. However, this is not happening and everyone is being subjected to the 60 second throttle.
For a temporary solution to this problem, until Six Apart releases a bug fix, you can adjust the throttle seconds in the lib/MT/App/search.pm file.
Download the file from your server using an FTP program and open in a text editor. Find the following lines of code near the top of the file:

Change the 60 to a lower number, such as 20. Save the file, upload back to your server in the correct folder as an ASCII text file. Set the permissions of the file to 644.
Links:
MT Support Forums thread on this subject
Have you found the tutorials at Learning Movable Type helpful? Please consider linking to LMT at http://www.learningmovabletype.com/ . Thanks!
Posted by elise on September 5, 2004 to Announcements | Email to a friend
| Comments(1)
|
Printer-friendly version
» Search error at Waveflux from Waveflux
Let's get this out of the way: It's Movable Type's fault. I learned this morning that visitors are currently unable to properly use the "search this site" function here at Waveflux. I think that the function works okay the first......[read more]
Tracked: September 15, 2004 7:00 AM
» Upgrades from Bryce YehlFedEx and UPS both delivered yesterday. My laptop has now been upgraded from 1.25GB to 2GB RAM. This second 1GB......[read more]
Tracked: October 7, 2004 9:21 AM
» Bugfix: You Are Currently Performing A Search from LGF Watch WatchIt's the result of a well-intended but poorly implemented MT feature, the idea being that a malicious user could flood the system with search requests and cripple your server, so MT introduces a throttle to force users to wait in between conducting sea......[read more]
Tracked: October 12, 2004 1:02 PM
Comments (1)
Thanks for this. I was wondering if I was doing something wrong or if it was a bug. I find your site invaluable, by the way.
Posted by evariste on October 12, 2004 6:58 PM