00797: UTF-8 links may break after 2.1.18 upgrade

Summary: UTF-8 links may break after 2.1.18 upgrade
Created: 2006-08-30 10:37
Status: Closed - xlpage-utf-8.php should be included earlier in config.php.
Category: Documentation
From: Pervilä?
Priority: 2
Version: 2.1.18
OS: Apache/2.0.55 (Ubuntu) PHP/5.1.2

Description: 2.1.18 seems to be more picky than earlier versions about the order of configuration statements in local/config.php. After doing the upgrade from 2.1.x our links containing UTF-8 "special" characters (äöå) were broken.

I fixed the issue by moving up the include_once('scripts/xlpage-utf-8.php'); statement in the config file. The culprit might have been the membership.php page from the cookbook. It was include_once'd a few rows above xlpage-utf-8.php.

If the UTF-8 script is to be used, then yes, it needs to be loaded before any other recipes.


The UTF-8 page doesn't mention that, however, so this seems easy to miss. Specially when 2.1.12 (probably) and 2.1.18 differ in their interpretation of the config.php file.

- Perv.

The order of includes is important for UTF-8 wikis: see Cookbook:UTF-8 for tips. --Petko September 25, 2007, at 05:57 PM