The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
code error on install
trying to install a hack and getting an error
can anyone spot what is wrong with the code below as its this what is throwing up the error PHP Code:
PHP Code:
|
#2
|
|||
|
|||
[sql]
INSERT INTO phrase (languageid, varname, fieldname, text, product, username, dateline, version) VALUES ('$lang', 'nopermission_havenot', 'error', 'return to forumhome. Please turn back to the forums .\r\n<br /><br />Good luck! \r\n\r\n<div align=\"{2}\">\r\n<a href=\"index.php\">Home</a>\r\n</div>', 'vbulletin', 'Dominus', '1189940681', '3.6.8') [/sql] There is a closing bracket missing from the end of the query, (I added it in). |
#3
|
|||
|
|||
are u sure as i see the closing bracket ?
is really bugging me this as cant track it down 'Dominus', '1189940681', '3.6.8'"); its closed at end of line unless im missing something |
#4
|
|||
|
|||
You need one inside the query too. There is a closing bracket missing from the query not the PHP
PHP Code:
|
#5
|
|||
|
|||
can u give me the line with the closign bracket added plz
cheers m8 that worked perfect if u dont mind this one is thrwoing up an error now - its the last part of the queries PHP Code:
PHP Code:
|
#6
|
|||
|
|||
Try:
PHP Code:
|
#7
|
|||
|
|||
it was correct cheers m8 and thanks for your quick replys
much appreicated |
#8
|
||||
|
||||
What modification are you installing? Not many modifications require external install files these days.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|