PDA

View Full Version : Database error thrown up by usernotes


karnevil
05-05-2008, 12:39 AM
Hi All,
Everytime I go to either view or post a usernote onto a member I get the following Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT gfpoforumoptions FROM vBulletinforum WHERE forumid =;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Date : Monday, May 5th 2008 @ 01:18:10 AM
Script : http://www.legalbeagles.info/forums/usernote.php?u=7
Referrer : http://www.legalbeagles.info/forums/member.php?u=7
IP Address : 82.47.207.165
Username : Tools
Classname : vB_Database

Have tried repairing tables etc in vbulletin and phpmyadmin in server but to no avail.

Can anyone give me a poke with a pointy stick in the right direction please :D

Eikinskjaldi
05-05-2008, 12:47 AM
One of your plugins is playing up. I'll give the usual response of "disable all your plugins, see if that helps"

The problem is this:

WHERE forumid =;

The script is expecting a forum id, but not getting it.

karnevil
06-21-2008, 07:29 AM
disabled all my plug ins and still same error - are there any known conflicts ?

Boofo
06-21-2008, 07:47 AM
Did you disable them in the config.php?