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

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 18 2025 19:07:45
Script start
Timing: Jan 18 2025 19:07:45
Module start 'layout'
Timing: Jan 18 2025 19:07:45
Module start 'content'
Timing: Jan 18 2025 19:07:45
Module end 'content'
Timing: Jan 18 2025 19:07:45
Script end

Main resources:

Total runtime0.0198 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.0061 589.5938152.6563
Module start 'layout' 0.00610.0050 742.250039.5234
Module start 'content' 0.01100.0065 781.773493.4297
Module end 'content' 0.01750.0023 875.203134.3047
Script end 0.0198  909.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002914.6988140.0002
Check MTime0.00136.6878140.0001
Mysql Total
Database connection0.00073.321710.0007
Mysqli_queries0.004422.232630.0015
Looping result0.00000.121410.0000
Template Total0.00199.410.0019
Template load0.00115.625510.0011
Template processing0.00073.735110.0007
Override
Cache load0.00084.017510.0008
General
dbfile0.00209.850980.0002
String conversion0.00000.064940.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