eZ publish 4.0 MySQL utf8 install problem

Author Message

Michael Hall

Monday 24 December 2007 11:15:35 pm

Gday:

I'm trying to install eZ publish 4.0 on the following platform:

openSUSE 10.3
apache 2.2.4 (prefork)
PHP 5.2.4
MySQL 5.0.45

I'm using the wizard which is complaining about the database as follows:

Warning

The database [dbez4] cannot be used, the setup wizard wants to create the site in [utf-8] but the database has been created using character set [iso-8859-1]. You will have to choose a database having support for [utf-8] or modify [dbez4] .

I have fiddled just about everything I can think of in MySQL, and have done all the usual 'SET NAMES' and 'SET CHARACTER SET' stuff. All the character_set_* variables are now utf8, even in the /etc/my.conf file, but I still get the same error message.

I actually started with a manual install and got a site up OK, but it was bare bones and I wanted a 'kick start' so have now opted for the wizard. Have I overlooked something? Could the problem lie in the site packages (plainsite / ezwebin) I'm trying to use, or maybe in PHP?

Confused ... any tips?

Greg McAvoy-Jensen

Monday 24 December 2007 11:27:56 pm

Michael,

Welcome to eZ Publish. Which character were you hoping to use? If UTF8, when you created the database, did you use:

mysql> create database <database> character set 'utf8';?

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Michael Hall

Monday 24 December 2007 11:41:47 pm

That works perfectly, thanks!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:25:49
Script start
Timing: Jan 31 2025 01:25:49
Module start 'layout'
Timing: Jan 31 2025 01:25:49
Module start 'content'
Timing: Jan 31 2025 01:25:49
Module end 'content'
Timing: Jan 31 2025 01:25:49
Script end

Main resources:

Total runtime0.0387 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 588.3750151.2266
Module start 'layout' 0.00860.0052 739.6016220.7188
Module start 'content' 0.01380.0228 960.3203997.8672
Module end 'content' 0.03660.0020 1,958.187533.9922
Script end 0.0386  1,992.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00297.5240140.0002
Check MTime0.00112.7211140.0001
Mysql Total
Database connection0.00194.847910.0019
Mysqli_queries0.00328.356230.0011
Looping result0.00010.142410.0001
Template Total0.00153.810.0015
Template load0.00112.911010.0011
Template processing0.00030.811910.0003
Override
Cache load0.00071.724910.0007
General
dbfile0.00266.636380.0003
String conversion0.00000.034540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs