Forums / Install & configuration / Installer: content pack:Out of range value...

Installer: content pack:Out of range value...

Author Message

Gunnar Skogen

Friday 19 May 2006 2:05:29 am

OS: Windows XP Proffessional, SP2
PHP: 4.4.0, 4.4.1, 4.4.3.060519 ( tried all these for this problem)
DB: MySql 5.0
Http server: Apache 1.3.3.5

Running the installer:
Tried 2 packages during install, corporate and intranet: Both had the same problem:
"Fatal error: A database transaction in eZ publish failed." etc

The error log:
[ May 19 2006 10:41:26 ] [127.0.0.1] eZMySQLDB:
Query error: Out of range value adjusted for column 'data_int' at row 1. Query: UPDATE ezcontentobject_attribute
SET language_id='2', contentclassattribute_id='4',
attribute_original_id='0', sort_key_int='0', sort_key_string='latest news',
data_type_string='ezstring', data_text='Latest news', data_int='', data_float='0.000000'
WHERE id='186' AND contentobject_id='57' AND version='1' AND language_code='eng-GB'
[ May 19 2006 10:41:26 ] [127.0.0.1] eZDBInterface::commit TRANSID-ed1e96b60a17b57033ab4a29a2bba25f:
Transaction in progress failed due to DB error, transaction was rollbacked. Transaction ID is TRANSID-ed1e96b60a17b57033ab4a29a2bba25f.

Tried to run the statement in SQL : same error, the data_int='' will not fly with MySql
-- should probably be data_int=null because that works in SQL....

NB: also set the my.ini::innodb_table_locks=0 on suggestion for problems with Transactions on this forum

Hope someone can help - still have not gotten through the pearly gates of eZ..

Łukasz Serwatka

Friday 19 May 2006 2:14:59 am

It looks that you experiencing this problem:
http://ez.no/community/bugs/installation_problem_on_mysql_5

Which exactly version of MySQL 5 do you have? Try with latest 5, if still no luck then use latest 4.1.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Gunnar Skogen

Friday 19 May 2006 2:23:08 am

Saw that bug report - (but it is old and did not have a resolution)

Version is 5.0.18-win32 which is consistent with :
>mysql -V
mysql Ver 14.12 Distrib 5.0.18, for Win32 (ia32)

Will see if there is a newer and eventually try 4.1

Kristof Coomans

Friday 19 May 2006 3:50:44 am

I've also reported this in April: http://ez.no/bugs/view/8163 (sorry for the duplicate, I must have missed the other one).

Take a look at my report for a solution.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Łukasz Serwatka

Friday 19 May 2006 3:55:35 am

Ah, nice! I haven't seen that you have posted solution as well. I haven't time to look deeper in that issue. Good to know :)

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Gunnar Skogen

Friday 19 May 2006 4:00:59 am

Finally:

MySql 5.0.21 : No Cigar :(
MySql 4.1.19 : Cigar :)

Thanks for all hjelp.

Comment:
I am also new to MySql - used to Oracle - but it seems to me that :
data_int = ''
in update or insert where '' is supposed to give null and column is an INT is not a good practice - would not even use it if the column was a STRING : null is null.
Have not checked on MySql site if they have tightened up this but that seems logical to me...

STRICT_TRANS ... sorta confirms my comment - so with that I can try 5.0.21 again (?)
Will wait with that ( tired of installing - now to the business at hand :)

eZ debug

Timing: Jan 19 2025 11:55:55
Script start
Timing: Jan 19 2025 11:55:55
Module start 'content'
Timing: Jan 19 2025 11:55:55
Module end 'content'
Timing: Jan 19 2025 11:55:56
Script end

Main resources:

Total runtime0.7731 sec
Peak memory usage4,096.0000 KB
Database Queries205

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0110 589.1094180.8047
Module start 'content' 0.01100.6464 769.9141632.2656
Module end 'content' 0.65740.1156 1,402.1797341.6719
Script end 0.7730  1,743.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5356210.0002
Check MTime0.00160.2083210.0001
Mysql Total
Database connection0.00150.190010.0015
Mysqli_queries0.687288.89642050.0034
Looping result0.00210.27702030.0000
Template Total0.738995.620.3694
Template load0.00180.230420.0009
Template processing0.737195.341720.3685
Template load and register function0.00030.036510.0003
states
state_id_array0.00090.121510.0009
state_identifier_array0.00060.079820.0003
Override
Cache load0.00150.1944530.0000
Sytem overhead
Fetch class attribute can translate value0.00140.175040.0003
Fetch class attribute name0.00120.155380.0002
XML
Image XML parsing0.00140.183940.0004
class_abstraction
Instantiating content class attribute0.00000.002590.0000
General
dbfile0.00851.0989350.0002
String conversion0.00000.001130.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 6

Time used to render debug report: 0.0003 secs