Loading...
 
Skip to main content

Tiki26 fails to load on OSX using MAMP (php8.1.17) due to locale issue

Status
Closed
Subject
Tiki26 fails to load on OSX using MAMP (php8.1.17) due to locale issue
Version
26.x
Category
  • Bug
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

I've been using OSX and MAMP to setup Tiki on my local computer since a while.

Since Tiki26 (using php8) after the install goes as expected I got a 500 error loading any Tiki page.
Seems it is because the "setlocale" command on "tiki-setup.php"

If I comment the following

Copy to clipboard
setlocale(LC_ALL, '');


Or if I set it with 'en_US.utf8'

Copy to clipboard
setlocale(LC_ALL, 'en_US.utf8');


Tiki load up correctly.

Importance
2
Easy to solve?
5
Priority
10
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8448
Created
Thursday 29 June, 2023 13:04:12 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Tuesday 25 July, 2023 13:59:05 UTC


Show PHP error messages