Restrict languages in i18n crashes website !
Hi all (again 😉)
I'm using Tiki 26, on Apache server, under PHP 8.1.
I have a quiet big issue and I don't know if it's a bug with Tiki 26 or if it's me didn't set something right :
if I choose to restrict supported languages to only 2 languages (in i18n Admin menu), it crashes the site down...
With the following error message :
Copy to clipboard
Notice: tempnam(): file created in the system's temporary directory in /home/site-exemple/public_html/lib/core/Tiki/TikiInit.php on line 91 Fatal error: Uncaught RuntimeException: Temporary folder is set to /root/tmp, but it is not accessible by Tiki. in /home/site-exemple/public_html/lib/core/Tiki/TikiInit.php:94 Stack trace: #0 /home/site-exemple/public_html/lib/tikilib.php(63): Tiki\TikiInit::getContainer() #1 /home/site-exemple/public_html/tiki-setup_base.php(126): TikiLib::lib() #2 /home/site-exemple/public_html/tiki-setup.php(66): require_once('...') #3 /home/site-exemple/public_html/tiki-admin.php(19): require_once('...') #4 {main} thrown in /home/site-exemple/public_html/lib/core/Tiki/TikiInit.php on line 94
I can (almost) repair it if I delete the languages preferences from the database.
But I'm thus unable to restrict only 2 languages (what it's weird as my website should be in only 2 languages, so I need not the 30-something languages which appear in the language module dropdown...) !
Did someone as the same problem and think it is a bug... ?