• Resolved soroush566

    (@soroush566)


    Dear admin

    Thanks for your plugin
    I was install your plugin and make a pool. Everything is OK. in plugin option I set 3600 seconds (1 hour) before game kickoff, predictions stop, unfortunately it doesn’t work and user can change their predicts. I change it to default time (900 seconds) but it doesn’t work again.
    Could you please help me to fix this problem.

    Best regards,
    Soroush

    https://ww.wp.xz.cn/plugins/football-pool/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author AntoineH

    (@antoineh)

    Did you check the help page in the admin? It contains info about the most common solution to this problem (timezones).

    Thread Starter soroush566

    (@soroush566)

    Dear Antonie

    Thanks for your reply. I checked timezone and everything seems OK.
    The problem is occur whenever we have more than 1 match with 30 minutes difference in start. for example I set the dynamic stop time to 3600 seconds and 1st match start at 16:00 it will be block at 15:00 and is right. But the second match start at 16:30 I have expect 2nd match block at 15:30 but it will be open even at start time (16:30).
    I hope I can explain my problem correctly.

    Best regards,

    Plugin Author AntoineH

    (@antoineh)

    The help section about times also contains a link to a debug script. Can you run that script for both matches and display the results here?

    Thread Starter soroush566

    (@soroush566)

    Match: (14) Ars – Man
    Match date (database, should be UTC): 2014-08-03 05:30:00
    Match date (local): 2014-08-03 09:00
    Match timestamp (database, should be UTC): 1407043800
    Match is locked: false
    Match was/will be locked at time (local): 2014-08-03 08:00
    WordPress timezone offset: 3.5
    WordPress timezone string:
    WordPress current date (local): 2014-08-03 07:37:42
    WordPress current timestamp (local): 1407051462
    WordPress current date (UTC): 2014-08-03 04:07:42
    WordPress current timestamp (UTC): 1407038862
    Plugin prediction stop method matches: 0
    Plugin dynamic stop threshold (in seconds) for matches: 3600
    Plugin prediction stop date for matches: 2014-08-01 09:30
    Plugin prediction stop method questions: 0
    Plugin match time display setting: 2
    PHP current date and time (UTC): 2014-08-03 04:07
    PHP current timestamp (UTC, time()): 1407038862
    PHP current timestamp (UTC, date->format(“U”)): 1407038862
    PHP default timezone setting: UTC
    MySQL current date and time (UTC): 2014-08-03 04:07:42
    MySQL current timestamp (UTC): 1407038862
    MySQL current date and time (local): 2014-08-03 04:07:42
    MySQL global timezone setting: SYSTEM
    MySQL session timezone setting: SYSTEM

    Plugin Author AntoineH

    (@antoineh)

    Is this the match that was correctly locked? Or is this the match that should be open?

    Thread Starter soroush566

    (@soroush566)

    I changed only the first match date and time and I saw that this match is not locked correctly. So I didn’t change the second match.

    Thread Starter soroush566

    (@soroush566)

    Dear Antonie

    Thanks for your replies. Fortunately my problem solve with your helps.
    My mistake was on general time zone setting.

    Best regards

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Dynamic Stop Problem’ is closed to new replies.