PDA

View Full Version : code error on install


lasto
19 Sep 2007, 18:01
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




Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



the error i get is :




Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Opserty
19 Sep 2007, 19:33
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


There is a closing bracket missing from the end of the query, (I added it in).

lasto
19 Sep 2007, 19:39
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

Opserty
19 Sep 2007, 19:40
You need one inside the query too. There is a closing bracket missing from the query not the PHP :p


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

There that should work

lasto
19 Sep 2007, 19:41
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



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



the error is



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Opserty
19 Sep 2007, 20:02
Try:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

I think thats it.

lasto
19 Sep 2007, 20:05
it was correct cheers m8 and thanks for your quick replys

much appreicated

Dismounted
20 Sep 2007, 08:04
What modification are you installing? Not many modifications require external install files these days.