The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
MYSQL error 1064
I tried looking through all the threads but I could not find an answer.
I'm making a hack and getting a 1064 error when i try to insert a new row through the admin cp. I would appreciate help with this. error Quote:
PHP PHP Code:
|
#2
|
||||
|
||||
You're probably best asking this in the HTL thread I can't see anything wrong on first glance...
|
#3
|
|||
|
|||
Quote:
i cant see anything wrong. Yet I'm getting a syntax error (1064). Anyone have any ideas? |
#4
|
||||
|
||||
Try adding a space after VALUES
|
#5
|
|||
|
|||
i tried that i have also tried putting ". and ." round the vars. and putting spaces after ,. but nothing is working. I have tried using an update query and that too is not working. In other parts of this hack (IE: outside the admin cp) my queries are fine.
Any includes i may have missed? |
#6
|
||||
|
||||
"ON" and "ALL" are reserved words of MYSQL so they should never be used as table field names. Otherwise this happens..
Quoting them in your query might or might NOT help depending on your MYSQL configuration.. |
#7
|
|||
|
|||
Quote:
|
#8
|
||||
|
||||
|
#9
|
|||
|
|||
Quote:
|
#10
|
||||
|
||||
Sorry to drift off topic - but what is a .za domain? Zambia?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|