View Single Post
  #117  
Old 09-27-2005, 04:40 PM
HHU HHU is offline
 
Join Date: Sep 2005
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by micheal332001
What version of the vbcasino are you using.

From the looks of what you are trying to insert is wrong its to long.
This is trying to insert 12 fields and there is only 6 for the lottery_setting table.

In the casino_install.php file look for this on link 430 i think.

PHP Code:
 INSERT INTO " . TABLE_PREFIX . "lottery_settings 
It should look like this

PHP Code:
$DB_site->query("
INSERT INTO " 
TABLE_PREFIX "lottery_settings (active,lotteryactive,slotsactive,cashrow,winners,winamount) VALUES ('1','1','1','".$cashrow."','1','60')
"
); 
If it dont look like this try putting that in and run the install again.
Let me know if this fixs your problem.

Mike
Ok I took the new install file you provided and rar for casino and did all the changes etc... Same thing when I install, step three gives me the same error.

So then I did what this post here instructed.. although what you wanted me to change didn't quite look like what you said, and it was line 758.

It looked like this:

Code:
	$DB_site->query("
		INSERT INTO `".TABLE_PREFIX."lottery_settings` VALUES (1, 0, '".$cashrow."', 3, '50,30,10', 1, 1, 1, 1, 1, '1,2,5,10', 1);
	");
(Thats in the install you provided)

But when I did change that, I got this error on step 3 of install...

Invalid SQL:
INSERT INTO `lottery_slots_stats` VALUES (1, 1, 1, 1, 1, 1, 1);

mysql error: You have an error in your SQL syntax near ';
' at line 2

mysql error number: 1064

I really would like to install this... but what could be the problem?

Thanks for the help

Its the "Apply Default Settings" Step



So now, its "installed" but not sure how much its working...

The phrases are not showing up anywhere... I'll screenshot it:

http://img14.imageshack.us/my.php?image=casino12hq.png

And...

http://img14.imageshack.us/my.php?image=casino28ba.png

And same for Roulette etc...

Would really like to have this installed...
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01390 seconds
  • Memory Usage 1,779KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete