To post a new support question, click the Post New Topic button below.
Current Version: 4.9.2 | Sytist Manual | Common  Issues | Feature Requests

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

Booking Feature Not Working

M
40 posts
Wed Jan 19, 22 7:27 AM CST
Hi, I just check if my booking page are still up and found that it's not working anymore.
I can open the calendar from a buttton, but when i click on a date, nothing happen.

Iv'e check the error log and got this message:

[19-Jan-2022 08:21:27 America/New_York] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/.../sy-inc/booking-functions.php on line 455

or

[19-Jan-2022 08:18:19 America/New_York] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/.../sy-inc/booking-functions.php on line 486

Everything was fine when I set it up, and nothing seem to have change on the server.

I'm running sytist 3.2.2. I know it's an old version, but everything was fine.

It seen that only booking feature is broken. The rest seem ok.
Edited Wed Jan 19, 22 7:28 AM by Maxime Maheu
This reply was deleted.
M
40 posts
Wed Jan 19, 22 7:41 AM CST
Current line:

$bookeds = whileSQL("ms_bookings", "*", "WHERE (book_date='".$cyear."-".$cmonth."-".$_REQUEST['day']."' OR book_recurring_dow='".$dow."' OR book_recurd='".$_REQUEST['day']."' OR book_unavailable='1' ) AND (book_time='".date("H:i:s", mktime($h,$m,1,1,1,1))."' OR (book_time>'".date("H:i:s", mktime($h,$m,1,1,1,1))."' AND book_time'0' AND (book_confirmed='1' OR book_confirmed='2') $and_override ");

M
40 posts
Wed Jan 19, 22 9:26 AM CST
16,246 posts (admin)
Wed Jan 19, 22 11:40 AM CST
Possible causes:

1) In your booking service, nothing set for the length.

2) Time Blocks. In Calendar -> Booking Settings, or if you are using custom available times in your booking service, the time block need to match the ending time.

Example, if you have 30 minute time blocks, then the end time must end with either :00 or :30 (5:00 or 5:30). If your time blocks are 15 minutes, the end time needs to end with with either :00,:15,:30, :45 (5:00, 5:15, 5:30, 5:45).

If they don't, it can cause an infinite loop.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
M
40 posts
Wed Jan 19, 22 12:48 PM CST
Oh great, it's working. That the only things i never looked! thanks!
6 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 266 times
Category: Error
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close