![]() |
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:
|
[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). |
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 |
You need one inside the query too. There is a closing bracket missing from the query not the PHP :p
PHP Code:
|
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:
|
Try:
PHP Code:
|
it was correct cheers m8 and thanks for your quick replys
much appreicated |
What modification are you installing? Not many modifications require external install files these days.
|
All times are GMT. The time now is 10:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|