Forums / Install & configuration / 4.1.0 Fail to setup ezwebin_site due to int value err

4.1.0 Fail to setup ezwebin_site due to int value err

Author Message

Shawn Xie

Monday 04 May 2009 1:52:49 pm

I am installing ezpublish-4.1.0 with the setup wizard onto my Windows XP laptop. I select Website Interface in the site selection step (I have no any setup problem if Plain site is selected). Everything seems fine until the last step "Finish". I got a

Fatal error: A database transaction in eZ Publish failed.

The error.log of at \var\log\ shows following message (only the problem data line is copied here):

Query error: Incorrect integer value: '' for column 'next_word_id' at row 128.
Query: INSERT INTO ezsearch_object_word_link
( word_id,
contentobject_id,
frequency,
placement,
next_word_id,
prev_word_id,
contentclass_id,
contentclass_attribute_id,
published,
section_id,
identifier,
integer_value )
VALUES (

( '295', '144', '0', '127', '', '1286', '16', '187', '1241453677', '1', 'body', '0' ) ,

You can the fifth param which correspond to next_word_id is an empty string. I check both cleandata.sql files in \kernel\sql\mysql\ and kernel\sql\common\ but cannot find the original source of the error insert data. Also manually importing kernel_schema.sql and one of the cleandata.sql files ro mysql works fine.

Why 4.1.0 setup wizard does not work for website interface and how to correct the error? Please help!

Thanks in advance,

-Shawn

 

Ɓukasz Serwatka

Monday 04 May 2009 2:35:02 pm

Hi,

See my comment in the following issue report: http://issues.ez.no/IssueView.php?Id=14615&ProjectId=3&Anchor=Comment261442

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

Shawn Xie

Monday 04 May 2009 8:28:14 pm

Thanks, Lukasz. I changed to use php5.2.8 and the problem solved!

-Shawn

Piotr Dabrowski

Sunday 10 May 2009 3:22:22 am

PHP 5.2.9
Postgres 7.4.9

I got the same problem with ez version 4.0.3 and after upgrading to 4.0.4
I'm in the hosting environment so cannot change php version.
In that case what kind of solution could be done to eliminate this?

Thanks
Peter

eZ debug

Timing: Jan 18 2025 16:04:36
Script start
Timing: Jan 18 2025 16:04:36
Module start 'content'
Timing: Jan 18 2025 16:04:38
Module end 'content'
Timing: Jan 18 2025 16:04:38
Script end

Main resources:

Total runtime1.3615 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.9766180.8047
Module start 'content' 0.00651.2320 768.7813593.3125
Module end 'content' 1.23850.1229 1,362.0938337.3594
Script end 1.3615  1,699.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.3061210.0002
Check MTime0.00150.1111210.0001
Mysql Total
Database connection0.00060.046210.0006
Mysqli_queries1.287894.58021990.0065
Looping result0.00180.13381970.0000
Template Total1.327297.520.6636
Template load0.00210.152720.0010
Template processing1.325197.321920.6625
Template load and register function0.00010.010310.0001
states
state_id_array0.00260.193310.0026
state_identifier_array0.00190.143120.0010
Override
Cache load0.00180.1309440.0000
Sytem overhead
Fetch class attribute can translate value0.00140.102740.0003
Fetch class attribute name0.00110.084250.0002
XML
Image XML parsing0.00100.075440.0003
class_abstraction
Instantiating content class attribute0.00000.000950.0000
General
dbfile0.00500.3679290.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/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: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs