Invalid UFT-8 byte sequence detected

Author Message

Oliver Pawellek

Sunday 08 January 2006 6:11:46 pm

Greetings:

I have just attempted to deploy eZ Publish 3.7.2 with the latest Postgres 8.1 atabase (UTF-8 encoded); most of the initial eZ publish setup went somewhat smooth until near the end of installation I receive a database application crash after table for "ezworkflow_process":

Excerpt from postgresql log (last three lines):
NOTICE: ALTER TABLE / ADD PRIMARY KEY will create implicit index "ezworkflow_group_link_pkey" for table "ezworkflow_group_link"
NOTICE: ALTER TABLE / ADD PRIMARY KEY will create implicit index "ezworkflow_process_pkey" for table "ezworkflow_process"
ERROR: invalid UTF-8 byte sequence detected near byte 0xf8

I have been informed that Postgres 8.1 is less forgiving about UTF-8 encodings. Has anyone crossed similar problems with eZ Publish 3.7.2 deployment and the latest Postgres 8.1. Might this be a bug or problem with the php scripts of eZ publish 3.7.2? and perhaps has been corrected in the latest SVN stable release..

Oliver Pawellek

Saisung Corporation Ltd
www.saisung.com

Oliver Pawellek

Monday 09 January 2006 2:04:32 am

Please ignore my above recent post. I have just bumped into the eZ Publish documentation detailing the modification of files site.ini, i18n.ini and template.ini with "Charset=utf-8" within eZ Publish, and it appears to have cured the utf-8 database encoding dilemma.

Oliver Pawellek

Saisung Corporation Ltd
www.saisung.com

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 04:37:49
Script start
Timing: Jan 19 2025 04:37:49
Module start 'layout'
Timing: Jan 19 2025 04:37:49
Module start 'content'
Timing: Jan 19 2025 04:37:49
Module end 'content'
Timing: Jan 19 2025 04:37:49
Script end

Main resources:

Total runtime0.8359 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0100 589.2813152.6406
Module start 'layout' 0.01000.0032 741.921939.4766
Module start 'content' 0.01320.8212 781.3984486.1094
Module end 'content' 0.83440.0014 1,267.50788.1406
Script end 0.8359  1,275.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4208160.0002
Check MTime0.00150.1760160.0001
Mysql Total
Database connection0.00230.279010.0023
Mysqli_queries0.782593.6140520.0150
Looping result0.00080.0963500.0000
Template Total0.797395.420.3987
Template load0.00180.220020.0009
Template processing0.795595.158920.3977
Template load and register function0.00030.032210.0003
states
state_id_array0.00090.103210.0009
state_identifier_array0.00140.166220.0007
Override
Cache load0.00150.1803140.0001
Sytem overhead
Fetch class attribute can translate value0.00180.220510.0018
Fetch class attribute name0.00150.181730.0005
XML
Image XML parsing0.00330.400310.0033
class_abstraction
Instantiating content class attribute0.00000.001640.0000
General
dbfile0.00350.4165160.0002
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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs