vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   error when searching for games (https://vborg.vbsupport.ru/showthread.php?t=183214)

jilly 06-22-2008 12:12 PM

error when searching for games
 
I updated to newest version - when I try to use the search function to search for games, I am getting this error message:

mySQL query error: select g.*, c.password from games_list as g
left join games_cats as c on (g.gcat = c.c_id)
where g.active = 1 and trim(password)='' and gtitle like '%marble motion%' and gcat IN (1,)
order by added ASC

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 ')
order by added ASC' at line 3
mySQL error code:
Date: Sunday 22nd of June 2008 08:49:40 AM

MrZeropage 06-30-2008 04:10 PM

check the usergroup-permissions for the usergroup of the user getting this error, or simply refresh it

But I also implemented some more verification for this in v2.6.8+ to avoid this error

jilly 07-02-2008 12:36 AM

Quote:

Originally Posted by MrZeropage (Post 1563165)
check the usergroup-permissions for the usergroup of the user getting this error, or simply refresh it

check the usergroup permissions where? I tried looking in the regular usergroup options, but didnt see anything about searching restrictions

MrZeropage 07-03-2008 06:19 AM

check group-permissions for accessing game-categories, if this is setup correctly.

the sql-query above in your error-message tells that the user searching is only allowed to play games in category 1 and has one additional separator ( , ) without any following category-id

jilly 07-05-2008 04:22 PM

Quote:

Originally Posted by MrZeropage (Post 1565510)
check group-permissions for accessing game-categories, if this is setup correctly.

the sql-query above in your error-message tells that the user searching is only allowed to play games in category 1 and has one additional separator ( , ) without any following category-id

On the back end, each one of them is set to _ALL_ for the categories - maybe i shoudl try selecting all the categories?


All times are GMT. The time now is 10:50 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01635 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete