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

eZ debug

Timing: Jan 29 2025 13:45:25
Script start
Timing: Jan 29 2025 13:45:25
Module start 'content'
Timing: Jan 29 2025 13:45:25
Module end 'content'
Timing: Jan 29 2025 13:45:25
Script end

Main resources:

Total runtime0.1015 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.0313180.8281
Module start 'content' 0.00720.0046 768.859493.8984
Module end 'content' 0.01180.0897 862.7578523.0547
Script end 0.1015  1,385.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00363.5805200.0002
Check MTime0.00141.3651200.0001
Mysql Total
Database connection0.00121.157310.0012
Mysqli_queries0.063862.85931410.0005
Looping result0.00070.67291390.0000
Template Total0.089388.010.0893
Template load0.00090.865710.0009
Template processing0.088587.121510.0885
Override
Cache load0.00070.646910.0007
Sytem overhead
Fetch class attribute can translate value0.00040.368210.0004
XML
Image XML parsing0.00020.238310.0002
General
dbfile0.00545.3519200.0003
String conversion0.00000.003830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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