vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Database error (https://vborg.vbsupport.ru/showthread.php?t=183534)

hunter22375 06-25-2008 11:03 PM

Database error
 
Database error in vBulletin 3.7.0:

Invalid SQL:
UPDATE casino_blackjack_dealt SET hand = 2, bet = WHERE cardnum = AND playerid = 6;

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 'WHERE
cardnum = AND playerid = 6' at line 1
Error Number : 1064
Request Date : Tuesday, June 24th 2008 @ 03:39:44 PM
Error Date : Tuesday, June 24th 2008 @ 03:39:44 PM
Script : http://thesourcecheck.com/forum/casi...ackjack&ajax=1
Referrer : http://thesourcecheck.com/forum/casino.php?do=blackjack
IP Address :
Username :
Classname : vB_Database
MySQL Version :

Can someone tell me whats going on with this?

org knopper 06-26-2008 12:56 AM

<font color="Navy">
open ur config.php n check whether the DB username n PW are same as the ones u gave for the mysql database n den try running site !</font>

Dismounted 06-26-2008 06:56 AM

This had nothing to do with config.php - it has already connected to the server successfully.

A casino modification is causing this error, due to a malformed SQL statement.

Opserty 06-26-2008 07:16 AM

If you have questions regarding modifications please post in the modification thread from which you downloaded it as the author or other users will be the ones best placed to assist you.

casino.php is not a default vBulletin file.


All times are GMT. The time now is 03:22 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.03298 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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