1.11.0
Brought to you by:
jberanek
Hello,
first of all thanks for this great piece of software. I'll try to use it for nonprofit organisations to share rooms and things.
On my fresh install (root- and subsite) I got a "schwerwiegender fehler" (fatal error) when updating a recurring booking.
Best wishes, Daniel
What's the detailed error messsage you get in your PHP error log? If you can't find the log then set, temporarily, in your MRBS config file
to display errors in your browser.
or this in the root site. It seems to happen, when I switch from monthly to weekly or in the other direction.
AH01071: Got error 'PHP message: Uncaught exception 'MRBS\Exception' in /var/www/vhosts/XYZ/rooms.XYZ/web/functions.inc at line 1900\nUnknown monthly repeat type\n#0 /var/www/vhosts/XYZ/rooms.XYZ/web/functions_mail.inc(647): MRBS\get_monthly_repeat_day()\n#1 /var/www/vhosts/XYZ/rooms.XYZ/web/functions_mail.inc(933): MRBS\create_body()\n#2 /var/www/vhosts/XYZ/rooms.XYZ/web/mrbs_sql.inc(2771): MRBS\notifyAdminOnBooking()\n#3 /var/www/vhosts/XYZ/rooms.XYZ/web/edit_entry_handler.php(846): MRBS\mrbsMakeBookings()\n#4 {main}\n\nMRBS GET: Array\n(\n)\nMRBS POST: Array\n(\n [csrf_token] => 6d418719abc40beff9c0d3d23bb6a8d274ab1c0ee8d0ba5563ea4f9636638042\n [returl] => /index.php?view=day&view_all=1&year=2023&month=1&day=4&area=1&room=4\n [rep_id] => 11\n [edit_type] => series\n [original_room_id] => 4\n [ical_uid] => MRBS-63ab5a3ed3cc9-2e72fae2@rooms.XYZ\n [ical_sequence] => 10\n [ical_recur_id] => 20230104T090000Z\n [id] => 131\n [create_by] => username\n [na...', referer: https://rooms.XYZ/edit_entry.php?day=4&month=1&year=2023
The more on each pageview I get a warnning:
Last edit: Daniel 2022-12-29
This is unrelated. It means that you don't have the 'en' or 'en_GB' locales installed on your server.
It is for example:
AH01071: Got error 'PHP message: Uncaught exception 'MRBS\Exception' in /var/www/vhosts/XYZ.de/rooms.XYZ.de/web/functions.inc at line 1900\nUnknown monthly repeat type\n#0 /var/www/vhosts/XYZ.de/rooms.XYZ.de/web/functions_mail.inc(647): MRBS\get_monthly_repeat_day()\n#1 /var/www/vhosts/XYZ.de/rooms.XYZ.de/web/functions_mail.inc(933): MRBS\create_body()\n#2 /var/www/vhosts/XYZ.de/rooms.XYZ.de/web/mrbs_sql.inc(2771): MRBS\notifyAdminOnBooking()\n#3 /var/www/vhosts/XYZ.de/rooms.XYZ.de/web/edit_entry_handler.php(846): MRBS\mrbsMakeBookings()\n#4 {main}\n\nMRBS GET: Array\n(\n [site] => 1\n)\nMRBS POST: Array\n(\n [csrf_token] => 46d9746f894886450344827e80a21d7188cc6d27b47936250fede65b0c9a619b\n [returl] => /index.php?view=day&view_all=1&year=2022&month=12&day=29&area=2&room=5&site=1\n [rep_id] => 5\n [edit_type] => series\n [original_room_id] => 5\n [ical_uid] => MRBS-63adaa1498240-1a3a3b87@rooms.XYZ.de\n [ical_sequence] => 0\n [ical_recur_id] => 20221229T110000Z\n [id] => 261\n [create...', referer: https://rooms.XYZ.de/edit_entry.php?day=29&month=12&year=2022&site=1
I've now fixed the bug in b4f4ca5. Although that change is very simple, there are other changes that have been applied since the release of MRBS 1.11.0 and I recommend that you download a complete set of new files by following the green Code button on this page.
Thank you Campbell!