Open AxelDuerrbaum opened 6 months ago
In version v1.9.1 the language "German_uttf8" drops an error when using php8.2:
php:922\nStack trace:\n#0 /opt/WWW/webcalendar/includes/classes/WebCalendar.php(922): mb_language()\n#1 /opt/WWW/webcalendar/includes/classes/WebCalendar.php(1010): WebCalendar->_initTranslate()\n#2 /opt/WWW/webcalendar/includes/classes/WebCalendar.php(168): WebCalendar->setLanguage()\n#3 /opt/WWW/webcalendar/includes/classes/WebCalendar.php(978): WebCalendar->_initInitSecondPhase()\n#4 /opt/WWW/webcalendar/includes/classes/WebCalendar.php(1001): WebCalendar->_doInit()\n#5 /opt/WWW/webcalendar/includes/init.php(72): WebCalendar->initializeSecondPhase()\n#6 /opt/WWW/webcalendar/view_v.php(23): require_once('...')\n#7 {main}\n thrown in /opt/WWW/webcalendar/includes/classes/WebCalendar.php on line 922
Solution: changing all occourences of "German_utf8" to "German" in the database (webcal_user_pref, webcal_config) and reconfigure Webcalendar.
Problem is: I can still select "German_utf8" in the Admin prefs.
In version v1.9.1 the language "German_uttf8" drops an error when using php8.2:
php:922\nStack trace:\n#0 /opt/WWW/webcalendar/includes/classes/WebCalendar.php(922): mb_language()\n#1 /opt/WWW/webcalendar/includes/classes/WebCalendar.php(1010): WebCalendar->_initTranslate()\n#2 /opt/WWW/webcalendar/includes/classes/WebCalendar.php(168): WebCalendar->setLanguage()\n#3 /opt/WWW/webcalendar/includes/classes/WebCalendar.php(978): WebCalendar->_initInitSecondPhase()\n#4 /opt/WWW/webcalendar/includes/classes/WebCalendar.php(1001): WebCalendar->_doInit()\n#5 /opt/WWW/webcalendar/includes/init.php(72): WebCalendar->initializeSecondPhase()\n#6 /opt/WWW/webcalendar/view_v.php(23): require_once('...')\n#7 {main}\n thrown in /opt/WWW/webcalendar/includes/classes/WebCalendar.php on line 922
Solution: changing all occourences of "German_utf8" to "German" in the database (webcal_user_pref, webcal_config) and reconfigure Webcalendar.
Problem is: I can still select "German_utf8" in the Admin prefs.