Error creating new classes

Author Message

tofik sahraoui

Thursday 29 April 2010 3:50:32 pm

My installation is on a RHEL5 OS with Postgresql 8.2.6 as a database. I get problems when i try to create new classes within the ezpub. admin. My installation is very basic out of the box.

This is the error message i get:

[ Apr 30 2010 00:39:41 ] eZPostgreSQLDB:
Error: error executing query: INSERT INTO ezcontentclass (version, serialized_name_list, serialized_description_list, identifier, contentobject_name, url_alias_name, creator_id, modifier_id, created, remote_id, modified, is_container, always_available, language_mask, initial_language_id, sort_field, sort_order) VALUES(1, 'a:2:{s:6:"eng-GB";s:9:"Ny klasse";s:16:"always-available";s:6:"eng-GB";}', 'a:2:{s:6:"eng-GB";s:0:"";s:16:"always-available";s:6:"eng-GB";}', '', '', '', 74074, 74074, 1272580781, 'a64a556b43e03b7713187248bb702de1', 1272580781, 0, 0, 3, 2, 1, 1) ERROR: value too long for type character(1)
[ Apr 30 2010 00:39:41 ] eZDBInterface::commit TRANSID-b8e60eb94aed8f90dc3b2593cad47c5d:
Transaction in progress failed due to DB error, transaction was rollbacked. Transaction ID is TRANSID-b8e60eb94aed8f90dc3b2593cad47c5d.

André R.

Friday 30 April 2010 6:26:32 am

See:

http://share.ez.no/forums/install-configuration/upgrade-to4.3-script-postgresql

http://issues.ez.no/IssueView.php?Id=16740&activeItem=40

Please provide feedback in the issue about proposed fix in forum post, thank you.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 29 2025 14:40:45
Script start
Timing: Jan 29 2025 14:40:45
Module start 'layout'
Timing: Jan 29 2025 14:40:45
Module start 'content'
Timing: Jan 29 2025 14:40:45
Module end 'content'
Timing: Jan 29 2025 14:40:45
Script end

Main resources:

Total runtime0.0135 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.2500151.2266
Module start 'layout' 0.00470.0025 739.476636.6641
Module start 'content' 0.00720.0050 776.140690.1563
Module end 'content' 0.01230.0012 866.296933.9922
Script end 0.0134  900.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002417.4475140.0002
Check MTime0.00118.1680140.0001
Mysql Total
Database connection0.00075.442410.0007
Mysqli_queries0.002115.580330.0007
Looping result0.00000.125710.0000
Template Total0.00096.910.0009
Template load0.00075.516710.0007
Template processing0.00021.313310.0002
Override
Cache load0.00053.651310.0005
General
dbfile0.001410.114980.0002
String conversion0.00000.067340.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.0001 secs