Fullscreen
Loading...
 
Skip to main content

Installer in Tiki6 is not ensuring utf-8 in new db and tables (only on upgrade)

Status
Closed
Subject
Installer in Tiki6 is not ensuring utf-8 in new db and tables (only on upgrade)
Version
6.x
Category
  • Consistency
Feature
Installer (profiles, upgrades and server-related issues)
Resolution status
Fixed or Solved
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(0)
Description

If you install a brand new Tiki6 site, and your database was created with latin1 charset (by sys admin, phpmyadmin, by whatever means), Tiki doesn't warn you at installation time that the db is using latin1.

Only when you upgrade the Tiki6 site, tiki detects that db and tables are not utf-8, and allows converting them to utf-8.

This can be reproduced easily with the TikiLiveCD 0.6, which came (from a customized Slax GNU/Linuxd distro) with an empty db called "test" with latin1 charset, that is to be used for Tiki installation.
http://tiki.org/TikiLiveCDQuestion

Solution

ensure that tiki-install.php check for the charset/collation/whatever from the db to install the brand new tiki, and if not in utf-8, then convert it to utf-8 before creating the mysql tables



fixed in r30106 by jonnyb (thanks!)

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3571
Created
Friday 08 October, 2010 09:29:32 UTC
by Xavier de Pedro
LastModif
Wednesday 20 October, 2010 13:51:08 UTC


Show PHP error messages