The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Instead of this:
PHP Code:
PHP Code:
|
#12
|
||||
|
||||
you are getting parse errors because there are no single quotes around the post id .. and there was an extra ) at the end.. try:
PHP Code:
|
#13
|
||||
|
||||
Sebastian, the single quotes are not needet, just the ) was the buggy part
|
#14
|
||||
|
||||
ok well i tried
PHP Code:
PHP Code:
Quote:
|
#15
|
||||
|
||||
you should use query_first as i told ya above...
|
#16
|
||||
|
||||
done taht and i still get the same error, it's really baffling
|
#17
|
||||
|
||||
seems like you haven't required global.php so $DB_site hasn't been declared.
|
#18
|
||||
|
||||
ok now i don't seem to have any errors however all coding beneath has dissapeared so nothing that comes after that codes appears on the page, could it be because i've already declared the $dbusername $dbpassword $servername and $dbname at the beginning of the file for use by something else?
|
#19
|
||||
|
||||
My bad on the query_first :ermm:
For sabret00the: What did you finally put in the file? Is this a core vB php file? I'm assuming it's not and in that case maybe you should post all the php. |
#20
|
||||
|
||||
nah it's still not working nomb
PHP Code:
and the whole file is PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|