vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Casino (w/ 10 player poker) (https://vborg.vbsupport.ru/showthread.php?t=159151)

Andrew Green 10-19-2007 07:59 PM

Quote:

Originally Posted by Escoh (Post 1363914)
Didnt work for me i tried the same thing odd.

Should i remove then reimport ?


If it's the same problem all you need to do is replace those files, if that doesn't do it send me a link and I'll have a look.

bobster65 10-19-2007 09:48 PM

Quote:

Originally Posted by Andrew Green (Post 1363855)
I doubt that would help. It's a rather odd thing happening, the XML file is being created properly, but with then end off the _functions.php file slapped in front of it. Best I can figure is that the file got a little bigger during the upgrade and pushed it over some sort of choke point, I have no idea why that would occur, and might not even be it. But give the attached a try, I split the file into 2 pieces, so if that is it this will hopefully fix it.

Hey Andrew,

Not sure if this is related or not, but I've not had one single problem yet until I downloaded this and added it...

now I've got a couple DB errors on Stats..

PHP Code:

Database error in vBulletin 3.6.8:

Invalid SQL:

UPDATE casino_bet_stats
SET won 
won 0bet bet 
WHERE userid 8
AND gameid 5;

MySQL Error  You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid = 8
AND gameid = 5' 
at line 3
Error Number 
1064
Date         
FridayOctober 19th 2007 06:32:21 PM
Script       
http://~REMOVED~/forums/casino/slots_ajax.php
Referrer     http://~REMOVED~/forums/casino.php?do=slots
IP Address   : ~REMOVED~
Username     : ~REMOVED~
Classname    vb_database 

Everything else is working fine tho... just got a few of these in the last hr or so..

aztecboi2003 10-19-2007 09:53 PM

I haven't had any errors but my users cash isn't updating when they post, or log in.

Mark.B 10-19-2007 10:12 PM

Quote:

Originally Posted by aztecboi2003 (Post 1363971)
I haven't had any errors but my users cash isn't updating when they post, or log in.

Check your scheduled task logs...there was a syntax error in one of the previous versions that was stopping this from running. The version in the latest zip works, the file is casino_update.php. Have that uploaded and make sure the scheduled task is active and it should work.

Test it by pressing "run now" against the Casino Update in scheduled tasks, you'll soon see if you've got the file with the error.

aztecboi2003 10-19-2007 10:27 PM

Quote:

Originally Posted by Mark.B (Post 1363977)
Check your scheduled task logs...there was a syntax error in one of the previous versions that was stopping this from running. The version in the latest zip works, the file is casino_update.php. Have that uploaded and make sure the scheduled task is active and it should work.

Test it by pressing "run now" against the Casino Update in scheduled tasks, you'll soon see if you've got the file with the error.

Thanks, I did as you said and it just has a blue screen that says update casino cash. Should I just grab the new casino_update.php and overwrite the file?

Mark.B 10-19-2007 10:33 PM

Quote:

Originally Posted by aztecboi2003 (Post 1363980)
Thanks, I did as you said and it just has a blue screen that says update casino cash. Should I just grab the new casino_update.php and overwrite the file?

That message indicates it ought to have worked, if it says "Done". Have you checked everyone's cash to see if it has increased by the amount set in your admin cp?

aztecboi2003 10-19-2007 10:42 PM

Quote:

Originally Posted by Mark.B (Post 1363982)
That message indicates it ought to have worked, if it says "Done". Have you checked everyone's cash to see if it has increased by the amount set in your admin cp?

It says done in the bottom of the browser, but not on the cp page. I checked and it hasn't increased at all.

Mark.B 10-19-2007 10:47 PM

Sounds like it's not running then for some reason.

When manually running it the result should say:

Update Casino Cash

Done

Try grabbing the latest file, uploading it, and seeing if that works. Make sure it's in the includes/cron directory.

aztecboi2003 10-19-2007 10:56 PM

Quote:

Originally Posted by Mark.B (Post 1363988)
Sounds like it's not running then for some reason.

When manually running it the result should say:

Update Casino Cash

Done

Try grabbing the latest file, uploading it, and seeing if that works. Make sure it's in the includes/cron directory.

I did as you said and it works now. Thanks for the great support.

Mark.B 10-19-2007 11:02 PM

Quote:

Originally Posted by aztecboi2003 (Post 1363990)
I did as you said and it works now. Thanks for the great support.

Great stuff...glad you got it fixed.


All times are GMT. The time now is 01:54 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.05103 seconds
  • Memory Usage 1,754KB
  • 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)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete