vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   [HELP] High Scores causes Database Error (https://vborg.vbsupport.ru/showthread.php?t=217449)

Doom Stone 06-29-2009 08:16 PM

[HELP] High Scores causes Database Error
 
Hello,

I've been having the following issue with the arcade.

Quote:

I installed the arcade and checked that it was working, it was, I then ran the converter and uninstalled v3arcade. I then deleted the v3arcade files.

I now get this error when accessing the arcade:
Note: User 1824 was the current arcade champion.

Quote:

mySQL query error: SELECT user.userid, user.avatarid, user.avatarrevision, avatar.avatarpath, customavatar.filename, NOT ISNULL(filedata) AS hascustom, customavatar.dateline FROM (SELECT * FROM dbuser WHERE userid=1824) AS user LEFT JOIN dbavatar AS avatar ON avatar.avatarid = user.avatarid LEFT JOIN dbcustomavatar AS customavatar ON customavatar.userid = user.userid WHERE customavatar.userid=1824 OR user.userid=1824

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 'SELECT * FROM dbuser WHERE userid=1824) AS user LEFT JOIN dbava
mySQL error code:
Date: Friday 26th of June 2009 01:25:08 PM
Update:
I wasn't able to find a workaround for this unfortunately, so I have uninstalled everything and started over.
Installed v3, installed v3 games, installed ibpro, converted games to ibpro.
Being no scores, there was no issue this time.

However there is now the same error when scores are added, not sure where i've gone wrong here.

Vbulletin 3.8.0
V3arcade 1.1.1
Any help would be greatly appreciated as I can't seem to figure out whats causing the database error to appear once high scores have been registered.
Also, when I access different parts of the arcade it still works, however accesing the forumhome/arcade.php page the error occurs.

MrZeropage 07-05-2009 07:03 AM

I think your mySQL-Version is <4.1 ?

I already did a better solution for this for ibProArcade v2.6.9+ please contact me via PM and let me know where to send the updated php-file via mail ...


All times are GMT. The time now is 07:11 PM.

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.01085 seconds
  • Memory Usage 1,713KB
  • 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
  • (2)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