Menu

#6 Error in search

open
nobody
None
5
2009-09-07
2009-09-07
Anonymous
No

This is a sloution as well as a problem but in case people come looking...

If you receive a message that looks like this when trying to browse torrents:

Database error in vBulletin 3.8.4:

Invalid SQL:

SELECT COUNT(*) AS count
FROM attachment
WHERE info_hash != '' /(\$style\[css\])/;

There is a problem with an interaction with another mod installed. Basically because the search function concatenates with a previously used variable $search you get this result. The solution is to add $search = "" at the top of the torrents.php page and it solves the problem.

Discussion


Log in to post a comment.