Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > ibProArcade Archive
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Database (MySQL) error, how to fix?? Details »»
Database (MySQL) error, how to fix??
Version: , by Akuma2000 Akuma2000 is offline
Developer Last Online: Dec 2014 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-05-2008 Last Update: Never Installs: 0
 
No support by the author.

I'm recently installed the Arcade.

GREAT MOD!

But it is giving me MySQL errors when somebody in the tournament makes a new record:

Code:
Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT * FROM vb_tournament WHERE tid =;

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 Error Number : 1064
Date         : Saturday, January 5th 2008 @ 05:54:13 PM
Script       : http://www.iwsclan.com/forums/index.php?act=Arcade&do=newscore
Referrer     : http://www.iwsclan.com/forums/arcade.php?&do=playtourney&gameid=4&tid=11&rung=1&faceoff=1
IP Address   : XX.XX.XX.XXX
Username     : XXX
Classname    : XXX
Can somebody tell me how to fix this?

Thnx in advance!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-06-2008, 09:46 AM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it should be "tournaments" I guess there is a problem in some file-edit you did ?
Reply With Quote
  #3  
Old 01-06-2008, 12:16 PM
Akuma2000 Akuma2000 is offline
 
Join Date: Dec 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have an idea wich file-edit that should be?

I can't remember doing a file edit with "vb_tournament".
And I copy-pasted everthing, so there should be no error made.

I've installed vbcredits with the ibproarcade addon
Reply With Quote
  #4  
Old 01-06-2008, 05:33 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try to deactivate it - I am SURE that the typo is there...
Reply With Quote
  #5  
Old 01-06-2008, 09:54 PM
Akuma2000 Akuma2000 is offline
 
Join Date: Dec 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's the addon for vbcredits.
There was a bug in there, but the coder made a patch.
See here:
http://www.vbcredits.com/forum/tracker.php?itemid=87

Might come in handy for fellow vbcredits users
Reply With Quote
  #6  
Old 01-07-2008, 04:27 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was sure it was not a problem of my code
Reply With Quote
  #7  
Old 01-07-2008, 06:35 PM
Akuma2000 Akuma2000 is offline
 
Join Date: Dec 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all,

I got another error again:

Code:
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT * FROM vb_tournament WHERE tid = 5;
MySQL Error  : Table 'xxx.vb_tournament' doesn't exist Error Number : 1146
Date         : Monday, January 7th 2008 @ 07:35:40 PM
Script       : http://www.iwsclan.com/forums/index....de&do=newscore
Referrer     : http://www.iwsclan.com/forums/arcade/snake.swf
IP Address   : xx.xxx.xx.xxx
Username     : xxx
Classname    : vb_database
As you can see, the database doesn't exist.
Just as MrZeropage said before.

Because now it calles the table 'vb_tournament' instead of 'vb_tournaments'
I guess that's the problem.

But I don't know in which file this code is used.
Do you got any idea wich file it could be?

Thnx in advance!
Reply With Quote
  #8  
Old 01-07-2008, 07:48 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess it's vbCredit or something like this again - any addon related to ibProArcade...
Reply With Quote
  #9  
Old 01-07-2008, 10:56 PM
Akuma2000 Akuma2000 is offline
 
Join Date: Dec 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes!
And it's fixed again

See it here:
http://www.vbcredits.com/forum/showt...=5929#post5929
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:07 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.05092 seconds
  • Memory Usage 2,276KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete