Loading...
 
Skip to main content

White page (wsod) if admin language is not an LTR language and database is not used to store files

Status
Closed
Subject
White page (wsod) if admin language is not an LTR language and database is not used to store files
Version
20.x
Category
  • Regression
Feature
File Gallery (elFinder or standard UI)
i18n (Multilingual, l10n, Babelfish)
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

If an Admin set his Tiki file gallery using a directory to store files and he doesn’t use an LTR language for admin he will have a wsod. This is a regression as it was working (18, 19 may be) before we were able to select an Admin language.

I think that the path to the files is reversed leading to an error that shutdown Tiki.

It will require to have access to the db and set (or unset, depending if the non LTR language is Tiki default or Admin language) a different value (like "en") at : language_admin to regain access.

I’m not sure what’s the best course of action but this should be addressed as a user may choose a language on the install without knowing it will brick the application. It is unlikely he will have an idea of what to do.

  • Tiki should be protected from using a wrong or broken path.
  • Setting warning on install, 18n, etc doesn’t seems appropriate and will harm Tiki image.
  • On the other hand, it is not really possible (unless someone want to suffer and die in pain 😊) to use the Admin in Hebrew, Arabic or other RTL languages.


May be the simplest answer is:

  1. Make sure wrong path can’t break Tiki (or can’t be saved)
  2. Limit the usage of the Admin to LTR language


In all case it can’t stay like this.

Importance
8
Easy to solve?
5
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7221
Created
Wednesday 27 November, 2019 11:34:22 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Monday 08 May, 2023 04:35:34 UTC


Show PHP error messages