Status
Not open for further replies.

skol

Customer
Syntax error when trying to delete a game..

Code:
Database error in vBulletin 4.2.0:

Invalid SQL:
SELECT tournid FROM dbtech_vbarcade_tourn WHERE gameid =;

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
 
I found this myself a couple days ago.

in (forum)/(admincp)/arcade_admin.php

find

PHP:
$qgameid = "'" . $db->escape_string($vbulletin->GPC['gameid']) . "'";

move to above

PHP:
$tourns = $db->query_read("SELECT tournid FROM " . TABLE_PREFIX . "dbtech_vbarcade_tourn WHERE gameid = $qgameid");
 
Status
Not open for further replies.

Legacy vBArcade

vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
902
Customer rating
0.00 star(s) 0 ratings
Back
Top