The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I have a custom hack that is an inline chatbox. After upgrading to the latest vB, guests get this error on the forum home:
Code:
<!-- Database error in vBulletin 3.5.2: Invalid SQL: SELECT userid, id, name, comment, date FROM chatbox LEFT JOIN user ON (user.username=chatbox.name) WHERE etat = 0 ORDER BY id DESC LIMIT; 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 3 Error Number : 1064 Date : Sunday, December 11th 2005 @ 01:51:44 PM Script : http://www.thegrimescene.com/forums/ Referrer : http://www.thegrimescene.com/ IP Address : 68.171.28.68 Username : Unregistered Classname : vb_database --> |
#2
|
|||
|
|||
![]()
Does your chat require any file edits? If yes then you possibly have not re-edited the files when upgrading.
If no, then I suggest you contact your coder for support as we can't provide support for a custom mod as we don't know anything about it. |
#3
|
||||
|
||||
![]()
No, it doesn't require any file edits.
|
#4
|
|||
|
|||
![]()
You will need to contact the coder who wrote this mod for you then as you have said that it is a custom mod.
Unfortunately there is nothing that we can do here to help with custom works. |
#5
|
||||
|
||||
![]()
I don't think it's an issue with the mod as it works on another board with the same versions and skin.
|
#6
|
|||
|
|||
![]()
The fact that your error clearly states
Quote:
|
#7
|
||||
|
||||
![]()
As I can see it, your query specifies "LIMIT" yet no value is assigned to it...
It's possible that a variable determining what the LIMIT is has not be added correctly... It should be PHP Code:
PHP Code:
|
#8
|
||||
|
||||
![]()
I have tried changing the query around a bit with no avail.
This is the plugin code: PHP Code:
I figured out the issue, elseif ($vbulletin->userinfo['chatbox'] == 0){ changed to elseif ($vbulletin->userinfo['chatbox'] == 1){. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|