Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter sillery4ever

    (@sillery4ever)

    I have a problem with “Bonus Questions”

    My 1st question (ID 3) = 50 pt

    I have 3 players who have good answer.

    After the “full calculations methode” no point for bonus question are add for this 3 players (only the points for their predictions)

    I try to activate manually the good answer in the list and when i close and save … there is this message :

    Fatal error: Call to undefined method DateTime::setTimestamp() in /homez.65/cyrillel/www/wordpress/wp-content/plugins/football-pool/admin/class-football-pool-admin-bonusquestions.php on line 442

    after a new “full calculations methode”, 100 points are allowed to 3 players … rather than 50 … i dont iundertand.

    In the statistic graphic of bonus question i have 2 bad answer …then we have validate only 1 question…. i dont understand ??

    Could you help me, if i cant solve this problem, i should cancelled all my bonus questions very soon.

    TY
    Nano

    Thread Starter sillery4ever

    (@sillery4ever)

    in sql database in table pool_wp_bonusquestions

    i haven t any question with ID 1…do you think this is the cause of the probleme ? My first question is Id 2

    Plugin Author AntoineH

    (@antoineh)

    To answer your first question: answers have to be manually set to correct or wrong by an admin. Only after setting the right value the scores are added. Help page in the admin has info about this.

    Your error is caused by an older PHP version. I thought I removed all setTimestamp references, but I guess I missed one. format("U") is a PHP 5.2 safe alternative for setTimestamp. But upgrading your PHP is better ??

    Thread Starter sillery4ever

    (@sillery4ever)

    I could not upgrading my PhP easily… what is the other solution ? it is possible to correct the file ?

    Thread Starter sillery4ever

    (@sillery4ever)

    i try to insert version in my .htaccess… it is right ?

    SetEnv PHP_VER 5_4

    Thread Starter sillery4ever

    (@sillery4ever)

    It is ok with version 5.4 …thank you : ) the error message dont appear now.

    But i continue to have my problem of points for question Bonus 100pts instead of 50pts ??

    Thread Starter sillery4ever

    (@sillery4ever)

    I have apply the porcess like explain in help page… select “correct” for my 3 players who give a good answer, default point for this question is 50 but after calculations the 3 players are credited by +100 pts … i dont understand why.. and for all others users their statitisques shown 1 bad answer to question1 and a bad answer for an undefinied question.

    i dont find another question in my DB tables…. do you have an idea to debug ?

    Thread Starter sillery4ever

    (@sillery4ever)

    I have apply the porcess like explain in help page… select “correct” for my 3 players who give a good answer, default point for this question is 50 but after calculations the 3 players are credited by +100 pts … i dont understand why.. and for all others users their statitisques shown 1 bad answer to question1 and a bad answer for an undefinied question.

    i dont find another question in my DB tables…. do you have an idea to debug ?

    Thread Starter sillery4ever

    (@sillery4ever)

    here is my last problem unsolved ?? … any idea BIG BOOS ?
    ??

    Plugin Author AntoineH

    (@antoineh)

    I did some testing and I think I found the problem. Look for the following line in admin/class-football-pool-admin-score-calculation.php (line 374 in v2.3.8):

    WHERE q.score_date IS NOT NULL ";

    and change it to:

    WHERE q.score_date IS NOT NULL AND lu.user_id IS NOT NULL ";

    Thread Starter sillery4ever

    (@sillery4ever)

    Perfect It is fix … TY TY TY !

    Thread Starter sillery4ever

    (@sillery4ever)

    Hello I have another similary probleme with calculations.

    I have affected correct Answer to 4 players for the BONUS QUESTION.

    But no Point were added to the score of this players. I dont understand where is the bug ? I have correctly affected my question in the ranking.

    Could you help me ?

    Y I dont know if the is the cause but yesterday i have seen a RED STOP MESSAGE during the calculations and the calculations was stopped… i have lunch another calculation and the calculations have correctly finished.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘about questions calculations ?’ is closed to new replies.