Thread: Add-On Releases - vBulletin Raffles
View Single Post
  #194  
Old 07-02-2011, 06:44 PM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trek View Post
I'm having a problem with drawing raffles as well. The Task runs as far as I can tell (meaning it's in the log that it ran), but no raffles are drawn that should be. I only have 1 raffle and it should be complete as the draw date is today, that date is on the server and the task was run.

So I ran the task manually and saw no errors on the page, but still no draws.

Thanks for any help, this is my first raffle I was testing giving out a couple free video games to my members and well... hopefully I can get this fixed soon so I don't look like more of an idiot than usual.

Thanks for any help you can provide!

*EDIT* - When I run the raffledraw.php, I get not visual feedback (makes sense, it's a cron), but it runs so quickly and there's no logs, it just feels like it's not doing anything.
There should be entries in the scheduled task log that look something like this..

15 Draw raffles 15:15, 2nd Jul 2011 Start drawing raffles
16 Draw raffles 15:15, 2nd Jul 2011 Draw raffle Test - winner Snog
17 Draw raffles 15:15, 2nd Jul 2011 Finished Drawing Raffles


Quote:
Originally Posted by Trek View Post
BUG #1: So I guess the problem is that either the raffle page or the raffle entry page aren't using the same timezone modifiers or something and that's where the confusion started. So I guess that's a bug of some sort. =) Awesome stuff though and donation should be there by the time you read this!
As I said above, I'll look into this more. But I don't see the problem on my dev server or a on live site either.

Quote:
Originally Posted by Trek View Post
*EDIT* - Ok, I did that and now am getting the same error as reported by someone else above: Fatal error: Function name must be a string in /home/XXXXX/public_html/includes/cron/raffledraw.php on line 195

I checked that line in the file and it has a $ next to the fetch_phrase function, I removed that and it ran.
I don't see this on either my dev server or a live site. But, removing it (the $) doesn't seem to hurt so it will be in the next update.

Quote:
Originally Posted by Trek View Post
BUG #2: At least I think this is a bug, it let the same member win twice... They had 3 tickets in, which is fine, but.. I didn't really want the same guy to win twice as the prizes were the same. I basically wanted one unique winner per draw, is that possible?
If this is a problem, go to Raffle Settings and change 'Allow One Member Multiple Wins' to no.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01384 seconds
  • Memory Usage 1,776KB
  • 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
  • (4)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