Adriano Faria Posted July 22, 2017 Author Posted July 22, 2017 The error is about number of tickets per member in the raffle. Are you sure you not set that restriction? I can't do much today as I'm far from my PC. Leave a PM with your ACP access and I'll take a look tomorrow in the morning.
pilotguy Posted July 22, 2017 Posted July 22, 2017 7 minutes ago, Adriano Faria said: The error is about number of tickets per member in the raffle. Are you sure you not set that restriction? I can't do much today as I'm far from my PC. Leave a PM with your ACP access and I'll take a look tomorrow in the morning. Yep I'm positive. I'll DM you access details
Adriano Faria Posted July 22, 2017 Author Posted July 22, 2017 (edited) The error is in your image. It should be 1 ticket, not 0 (zero)! Did you set 0 when you created the raffle? It shouldn't be allowed. EDIT: Probably the UNLIMITED value is saving 0, when should be -1. I'll take a look tomorrow Edited July 22, 2017 by Adriano Faria
pilotguy Posted July 22, 2017 Posted July 22, 2017 Ok. So I created a new raffle - set to 1 then checked UNLIMITED... Same as picture above. Let me try a test with an actual limit...
pilotguy Posted July 22, 2017 Posted July 22, 2017 No dice. Now I place a value in there and click BUY TICKET... "Something went wrong"
Adriano Faria Posted July 22, 2017 Author Posted July 22, 2017 I need to know how you created that raffle. What do you used inthe tickets per member field? Unlimited? 0? 1? Regarding errors, as I already said, can't do anything today. I'm asking to reproduce your issue.
pilotguy Posted July 22, 2017 Posted July 22, 2017 I used 1 and then tried again with 5 for the "tickets per member" also tried with UNLIMITED checked off. No worries as I know you are away from "base" so-to-speak. You have access when/if you need it. Let me know when you are done with the account and I will remove it. Cheers Adriano. P.S. You make excellent apps/plugins! Keep up the great work. Little bugs along the way or unique issues are to be expected. Adriano Faria 1
Adriano Faria Posted July 23, 2017 Author Posted July 23, 2017 Ok, the field is really allowing 0 (zero) and it shouldn't. Minimum will be 1. If I allow 0, no one can buy tickets. Sent you a PM with a query to fix that raffle. 1.0.1 later this week.
Adriano Faria Posted July 23, 2017 Author Posted July 23, 2017 (edited) On 20/07/2017 at 6:00 PM, Cyboman said: if a raffle is expired / closed (and no members took part in the raffle), you can edit the expiration date on the frontend and the backend, but it still doesn't reopen... Can a raffle be reopened? What you mean by "reopen" it? I'm about to release 1.0.1 and testing but it doesn't lock the raffle. If I change the expiration date, it will allow members to participate in the raffle. I guess you mean it changes the status to EXPIRED, right? Edited July 23, 2017 by Adriano Faria
Adriano Faria Posted July 25, 2017 Author Posted July 25, 2017 On 20/07/2017 at 6:00 PM, Cyboman said: I bought it and I like it so far. Even without the group adding and special bulk email features above ^^ But I experience the following issues: you can't change / modify the prizes once they have been defined? Even if no members have bought any tickets until now. I think an admin should be able to change prizes / prize logos and prize descriptions. Why? I'd like to insert more detailed prize descriptions (enhance the raffle prize texts after publication), or the prize photos don't look good enough if I see them next to each other (after publication). if a raffle is expired / closed (and no members took part in the raffle), you can edit the expiration date on the frontend and the backend, but it still doesn't reopen... Can a raffle be reopened? Thanks. On 23/07/2017 at 11:04 AM, Adriano Faria said: What you mean by "reopen" it? I'm about to release 1.0.1 and testing but it doesn't lock the raffle. If I change the expiration date, it will allow members to participate in the raffle. I guess you mean it changes the status to EXPIRED, right? @Cyboman
Cyboman Posted July 25, 2017 Posted July 25, 2017 (edited) 2 hours ago, Adriano Faria said: I guess you mean it changes the status to EXPIRED, right? exactly. sorry, there was a problem with the IPS cloud and I was totally locked out, so I couldn't answer before as I wanted to recheck first... what I meant was, that I created a raffle, nobody participated in it (no ticket purchase), at the expiration time the raffle locked automatically, then I modified the expiration date to a later date (I thought I could reactivate it with a new expiration date), but instead of reopening it, it said "expired". -> but I wanted it to start over again to extend to the new expiration date.... when a raffle is finished, I'd like to have an option to restart it (or a new instance of it). either with the same configuration or with edited details. reason: if nobody takes part, it would be great to just take another go with it I will retest it tomorrow and explain if the behavior is different. Thanks. Edited July 25, 2017 by Cyboman
Adriano Faria Posted July 25, 2017 Author Posted July 25, 2017 I will add a button to make it go live again.
pilotguy Posted July 26, 2017 Posted July 26, 2017 Any idea on when the update will be live Sorry to be a pest... just really excited to get this thing going! Adriano Faria 1
Adriano Faria Posted July 26, 2017 Author Posted July 26, 2017 Today later or tomorrow in the morning. pilotguy 1
Adriano Faria Posted July 26, 2017 Author Posted July 26, 2017 What's New in Version 1.0.1: Added new restriction: minimum age to participate in the raffle/giveaway Added ability to edit or remove prizes (remove will appear if no there is no participant in the raffle/giveaway) Added ability to add members from chosen groups in raffle/giveaway Added a button to reactivate the raffle/giveaway when it's COMPLETED and there were no participant Added new setting to display raffle/giveaway settings on raffle/giveaway view Fixed a couple of minor reported bugs pilotguy 1
Adriano Faria Posted July 26, 2017 Author Posted July 26, 2017 (edited) Edited July 26, 2017 by Adriano Faria Cyboman 1
pilotguy Posted July 26, 2017 Posted July 26, 2017 @Adriano Faria When I go to purchase a ticket... I get this now: ArgumentCountError: Too few arguments to function IPS\raffles\_Raffle::getMyNumberOfTickets(), 0 passed in /var/www/html/applications/raffles/modules/front/raffles/view.php on line 377 and exactly 1 expected (0) #0 /var/www/html/applications/raffles/modules/front/raffles/view.php(377): IPS\raffles\_Raffle->getMyNumberOfTickets() #1 /var/www/html/system/Dispatcher/Controller.php(85): IPS\raffles\modules\front\raffles\_view->participateRaffle() #2 /var/www/html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #3 /var/www/html/applications/raffles/modules/front/raffles/view.php(58): IPS\Content\_Controller->execute() #4 /var/www/html/system/Dispatcher/Dispatcher.php(146): IPS\raffles\modules\front\raffles\_view->execute() #5 /var/www/html/index.php(12): IPS\_Dispatcher->run() #6 {main} That's with 1, 5, or unlimited as a ticket option.
Adriano Faria Posted July 26, 2017 Author Posted July 26, 2017 4 minutes ago, pilotguy said: When I go to purchase a ticket... I get this now: File reuploaded. Try again.
pilotguy Posted July 26, 2017 Posted July 26, 2017 Working!!! How are winners announced?? Adriano Faria 1
Adriano Faria Posted July 26, 2017 Author Posted July 26, 2017 2 hours ago, pilotguy said: How are winners announced?? There's a block in raffle view (take a look in screenshots), they receive a notification and a post is made in the topic, if enabled.
Cyboman Posted July 27, 2017 Posted July 27, 2017 As soon as I want to open existing raffles after the update, I get the following error: Quote Error: Class '\IPS\raffles\extensions\core\FileStorage\Images' not found (0) #0 /var/www/html/rxxxxxx/system/File/Amazon.php(232): IPS\File\_Amazon->getGzipExtensions() #1 /var/www/html/rxxxxxx/system/File/Amazon.php(255): IPS\File\_Amazon->needsGzipVersion() #2 /var/www/html/rxxxxxx/system/File/File.php(499): IPS\File\_Amazon->load() #3 /var/www/html/rxxxxxx/applications/raffles/modules/front/raffles/view.php(55): IPS\_File::get('raffles_Images', 'monthly_2017_07...') #4 /var/www/html/rxxxxxx/system/Dispatcher/Dispatcher.php(146): IPS\raffles\modules\front\raffles\_view->execute() #5 /var/www/html/rxxxxxx/index.php(12): IPS\_Dispatcher->run() #6 {main} xxxxxx was the number of my account, I'm an IPS customer in the cloud. No idea, if it's according to raffles or an IPS bug, as they moved accounts last week...
Adriano Faria Posted July 27, 2017 Author Posted July 27, 2017 Not sure too. I got it running and the extension do exists. Go to your ACP -> System -> Files -> Storage Settings or something. Take a look if it shows there. @pilotguy, happens to you? @Cyboman, do you have a test install? If so, try it. That's a good way to see if it's something in your live install.
Cyboman Posted July 27, 2017 Posted July 27, 2017 (edited) In ACP -> System -> Files -> Storage Settings, I can find the Raffles Prizes Images and the Raffles images both stored in "Amazon ips-cic-filestore" As an IPS CiC, everything is stored in "Amazon ips-cic-filestore", there is no local filestorage at all... If I create a new raffle, the error also occurs. Unfortunately I have no testinstall Edited July 27, 2017 by Cyboman
Adriano Faria Posted July 27, 2017 Author Posted July 27, 2017 Yes, there are those two extensions, so not sure why your error. I'd bet in the Amazon stuff but as I never used, can't tell for sure. Change both to local storage and test.
Cyboman Posted July 27, 2017 Posted July 27, 2017 I would love to change to local storage, but IPS has deactivated local storage for cloud customers. There is no option for "local" in the cloud installation. Time for an IPS ticket, see what they respond to this error...
Recommended Posts