Menu

#533 1.11.0

Future_Requests
open
nobody
None
1
2022-12-29
2022-12-29
Anonymous
No

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

1 Attachments

Discussion

  • Campbell Morrison

    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

    $debug = true;
    

    to display errors in your browser.

     
    • Anonymous

      Anonymous - 2022-12-29

      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

       
    • Daniel

      Daniel - 2022-12-29

      The more on each pageview I get a warnning:

      AH01071: Got error 'PHP message: PHP Notice: Server failed to set locale to ["en.UTF-8","en-GB.UTF-8","en_GB.UTF-8"] for language tag 'en'. in /var/www/vhosts/XYZ/rooms.XYZ/web/language.inc on line 256'

       

      Last edit: Daniel 2022-12-29
      • Campbell Morrison

        This is unrelated. It means that you don't have the 'en' or 'en_GB' locales installed on your server.

         
  • Anonymous

    Anonymous - 2022-12-29

    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

     
  • Campbell Morrison

    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.

     
  • Daniel

    Daniel - 2022-12-29

    Thank you Campbell!