Database character set issue

Author Message

Aaron Carlino

Friday 23 February 2007 9:06:59 am

I'm installing ezPublish 3.6.11 (the latest version that works with PHP 4.3) and I've gotten to following screen:

Site details

This page lets you modify information about the site you've chosen to install. In addition, it also lets you choose a database for the site.

Warning

The database cannot be used, it uses the character set which is different from the requested charset iso-8859-1, iso-8859-2, iso-8859-3, iso-8859-4, iso-8859-9, iso-8859-10, iso-8859-13, iso-8859-14, iso-8859-15, windows-1252, windows-1250, cp850, dec-mcs.

When I go into PHPMyAdmin, I don't have ISO as a choice. I've tried changing it to UTF, but it doesn't work. What does EZPublish want from me?

-Aaron
MYSQL 4.1
PHP 4.3.9

Claudia Kosny

Friday 23 February 2007 12:53:01 pm

Hi Aaron

As the name of the used charset is missing in the error message I think that you are experiencing this bug http://issues.ez.no/6545 (read Vittals comment for the solution).

Here some info about character sets in MySQL:
http://dev.mysql.com/doc/refman/4.1/en/charset-we-sets.html says that:

MySQL's latin1 is the same as the Windows cp1252 character set. This means it is the same as the official ISO 8859-1 ...

Not sure whether eZ 3.6 is smart enough to recognise this though - just try it out if necessary.

Good luck

Claudia

Aaron Carlino

Tuesday 27 February 2007 7:58:39 am

Perfect!!! Thank you!

Betsy Gamrat

Tuesday 27 February 2007 7:29:44 pm

I had the same question, thank you Claudia.

:)

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 19 2025 00:32:56
Script start
Timing: Jan 19 2025 00:32:56
Module start 'layout'
Timing: Jan 19 2025 00:32:56
Module start 'content'
Timing: Jan 19 2025 00:32:57
Module end 'content'
Timing: Jan 19 2025 00:32:57
Script end

Main resources:

Total runtime0.8962 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 589.1484152.6406
Module start 'layout' 0.00770.0060 741.789139.4766
Module start 'content' 0.01370.8811 781.2656546.8203
Module end 'content' 0.89480.0013 1,328.085912.4609
Script end 0.8962  1,340.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4164160.0002
Check MTime0.00160.1816160.0001
Mysql Total
Database connection0.00140.158610.0014
Mysqli_queries0.834693.1320620.0135
Looping result0.00060.0699600.0000
Template Total0.851795.020.4258
Template load0.00250.274720.0012
Template processing0.849294.759820.4246
Template load and register function0.00020.021210.0002
states
state_id_array0.00100.111610.0010
state_identifier_array0.00250.280720.0013
Override
Cache load0.00210.2382270.0001
Sytem overhead
Fetch class attribute can translate value0.00090.098930.0003
Fetch class attribute name0.00110.128050.0002
XML
Image XML parsing0.00080.085130.0003
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00400.4505160.0003
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs