Log in

View Full Version : Guest Create Tournament Error


ProtoPC
05-19-2008, 03:31 PM
Running vb3.7.0 on php 5.2.1 and installed latest ibProArcade. (Test site) (http://www.cywire.com/index.php?option=com_wrapper&Itemid=42)

Set Unregistered / Not Logged In permissions to "Can view but not play".

When Guests click the "Create a New Tournament" link it shows this error:

mySQL query error: SELECT tourney FROM vb_usergroup WHERE usergroupid IN ()

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
mySQL error code:
Date: Monday 19th 2008f May 2008 10:29:01 AM

Does not show that error for logged in members.

MrZeropage
05-19-2008, 05:58 PM
Thanks, this really is a bug :)

Try this fix:

open /arcade.php and search for// check users private permissions firstabove this add if ($ibforums->member['id']==0)
{
$std->Error( array( 'LEVEL' => 1, 'MSG' => 'no_tourney_group') );
}This should fix it... please check this and let me know if that works, thanks :)

ProtoPC
05-19-2008, 06:16 PM
Works! Thank you.

giannino
12-06-2008, 12:44 PM
Thanks :Dman :)