Forum Subject: Bad behavior2 2.0.0 breaks search function
Posted on: 09/26/13 08:05am By: ::Ben
Error message is:
Text Formatted Code
Table 'mytable.gl_bad_behavior2' doesn't exist. SQL in question: SELECT COUNT(*) FROM gl_bad_behavior2 WHERE 1=1 AND ((ip LIKE '%RT2012%' OR http_headers LIKE '%RT2012%'))
Ben
Re: Bad behavior2 2.0.0 breaks search function
Posted on: 09/26/13 08:10am By: Dirk
More context, please.
Is this a new site you're setting up? If so, did you remember to add the line to lib-common.php?
bye, Dirk
Re: Bad behavior2 2.0.0 breaks search function
Posted on: 09/26/13 05:30pm By: ::Ben
I forgot the extra step
***** IMPORTANT! EXTRA STEP FOR THIS PLUGIN *****
5) Edit your lib-common.php file. Find the line where the lib-database.php is
included:
Note: As of Geeklog 1.6.1, the include for lib-database.php is done by the
config class, so you won't find the above line any more. A good place for
the bad_behavior2 include would be just before where we set the webserver's
timezone: