Forums / Install & configuration / Error creating new classes

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