• Resolved rchayes

    (@rchayes)


    Fresh install of your plugin on a fresh install of WordPress. No changes to code. I have set the reserve buffer to 0 but same day times are not available for registration. We are just looking for the ability to have users register access for computers in a training lab so I have Setup increments and cleanup increments set to 0 also. Any help would be appreciated!

Viewing 15 replies - 1 through 15 (of 15 total)
  • That is strange. Can you try a -1 instead of a 0?

    Thread Starter rchayes

    (@rchayes)

    Yes I found an old post with that suggestion and tried -1 also. Same result.

    I just tried this on our live site, changing it to 0, and I was able to reserve today, so something funky is going on.

    What are your Base increment in minutes, Setup increments (0 I assume) and Cleanup increments (0 I assume)?

    How about Days Allowed to Reserve?

    Thread Starter rchayes

    (@rchayes)

    Base increment in minutes 30
    Setup increment 0
    Cleanup increments 0
    Days Buffer for Reserve 0
    Days Allowed to Resere 90

    Is the branch in question set to “Available to the public?”

    Does the Room Container have “Public?” checked?

    Thread Starter rchayes

    (@rchayes)

    Yes to both.

    Dumb question. Is the branch open today in the settings?

    Thread Starter rchayes

    (@rchayes)

    Ha no such thing. Yes the branch is open 7:00 to 5:00 P.M. every weekday. I actually installed the plugin the other day and had the same problem but I was exploring so I thought I might have jacked it up. So I wiped it, reinstalled it. I went through and set the Settings, one branch, three rooms, and containers for each room. I can provide you a list of the settings for those items if it would help.

    Thread Starter rchayes

    (@rchayes)

    I thought this was interesting. I have two branches setup.
    In Branch1 I have 4 rooms Computer1, Computer2, Computer3, and 3rd Floor Conference Room.

    In Branch1 I have 5 containers – EDComputer1, EDComputer2, EDcomputer3, ED Training Room (which contains Computer1,Computer2,Computer3), and Main Office Conf Room.

    In playing with the system yesterday I set up a reservation for EDComputer1 today at 7:00 AM – 8:00 PM. I also setup an all day event for March 6th for ED Training Room.

    This morning I can reserve the EDComputer1 from 8:00 AM on.

    EDComputer2, EDComputer3, and Main Office Conf Room are not available until 2:00 pm today.

    ED Training Room (which contains EDComputer1) is available from 8:00 AM on.

    So….. my other Branch is similar Branch2 -> WDComputer1 (container) -> Computer4. Reservation times weren’t available until 2:00 pm. I created a reservation for Monday 7:00 AM – 8:00 AM and backdated it in the db until today. Immediately I can book anytime after 8:00 AM today.

    Is your server in the same time zone as you? I has issues with that on our own installation.

    Thread Starter rchayes

    (@rchayes)

    Yes the system time and php.ini both have our timezone set. It does seem like a timezone issue though huh?

    I’m thinking about MySQL’s setting, since that’s where it’s reading the time.

    Can you run MySQL commands?

    Try:

    SELECT @@system_time_zone;

    Thread Starter rchayes

    (@rchayes)

    Shows CST which would be correct.

    Thread Starter rchayes

    (@rchayes)

    I don’t know how or why but timezone setting in WP itself wasn’t working. I finally reinstalled that again and it fixed it. Thanks so much for tracking this down with me.

    I can’t tell you how much trouble I had when we moved to a hosting two time zones over.

    I’m so glad it works now!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Reserve Buffer not allowing same day reservation’ is closed to new replies.