Loading...
 
Skip to main content

WSOD if layout template pref doesn't match available layouts (e.g., in upgrade)

Status
Closed
Subject
WSOD if layout template pref doesn't match available layouts (e.g., in upgrade)
Version
15.x
15.x Regression
Category
  • Error
  • Regression
Feature
Administration
Theme: Look & feel, Styles, CSS, Theme Control Center
Resolution status
Fixed or Solved
Submitted by
Gary Cunningham-Lee
Volunteered to solve
Jonny Bradley
Lastmod by
Xavier de Pedro
Rating
(0)
Description

Kind of an edge case, but if layout theme names change between versions or due to development work, so there's a mismatch between the stored layout preference and the layouts listed in the files, then a blank screen is the result. The database needs to be edited directly to correct the problem (tiki_preferences site_layout updated to match available layout names).

There should be a fallback to a default layout ("basic") if the preference name isn't found, similar to how the site will fall back to the default theme if the selected theme or stored-preference theme isn't found.

Solution

r58795 ?


Fix Confirmed, Jonny. Thanks!

Importance
8
Easy to solve?
6
Priority
48
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5881
Created
Wednesday 06 April, 2016 04:38:01 UTC
by Gary Cunningham-Lee
LastModif
Monday 06 June, 2016 09:36:05 UTC


Show PHP error messages