Menu

#35 Prize Drawing and Printing give PHP errors

0.97.3.5
closed-accepted
6
2005-11-20
2004-09-24
Anonymous
No

I have tested this in your online demo and on my local
server. The interactive prize drawing utility doesn't work
at all. The print prize for drawing does not work if you
submit any prizes into the prize database.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I tracked down the prize drawing error. It is in this line:

    $bgc == $colors['cell_alternate'] ? $bgc = '' ; : $bgc = $colors
    ['cell_alternate'];

    It needs to be changed to this:

    $bgc == $colors['cell_alternate'] ? $bgc = '' : $bgc = $colors
    ['cell_alternate'];

    There was an extra semi-colon after $bgc = ''

    As for the printing of prize slips, i haven't figured that one out
    yet.

     
  • Jarrod Mast

    Jarrod Mast - 2005-02-28

    Logged In: YES
    user_id=798475

    To fix Printing Slips:

    OPEN /admin_prizes_print.php
    INLINE FIND (line 14):

    CODE
    $dbc->getOne(

    REPLACE WITH:

    CODE
    $dbc->queryOne(

     
  • Jarrod Mast

    Jarrod Mast - 2005-11-16
    • labels: 496975 -->
    • milestone: 420974 --> 0.97.3.5
    • priority: 5 --> 6
    • status: open --> pending-fixed
     
  • Jarrod Mast

    Jarrod Mast - 2005-11-16
    • assigned_to: nobody --> skullshot
     
  • Jarrod Mast

    Jarrod Mast - 2005-11-20

    Logged In: YES
    user_id=798475

    This has been fixed in CVS

    The next release will include this fix

     
  • Jarrod Mast

    Jarrod Mast - 2005-11-20
    • labels: --> Prizes Module
    • status: pending-fixed --> closed-accepted
     

Log in to post a comment.