Polls in ez 3.3-4 - vote calculations way off?

Author Message

Mark Marsiglio

Friday 02 April 2004 9:07:24 pm

When I added votes to a poll in my Blog demo site included with eZ, the results of the poll are calculated using huge numbers, even after just 1 vote. An item that received one vote is shown as having received 72057594037927936 in the poll results, which it calculates to be 1.02939420054E+18% of the total votes.

Any ideas what would cause this? The server is based in Florida (where counting votes can be a problem) : )

It is running on OS X with Apache 1.3 and PHP 4.3.

Of course, I would like to count votes accurately, any ideas what to look at?

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

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

Main resources:

Total runtime0.6595 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0091 589.1563152.6406
Module start 'layout' 0.00910.0051 741.796939.4766
Module start 'content' 0.01410.6439 781.2734463.1641
Module end 'content' 0.65800.0015 1,244.43758.1250
Script end 0.6595  1,252.5625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.5921160.0002
Check MTime0.00150.2274160.0001
Mysql Total
Database connection0.00130.194710.0013
Mysqli_queries0.611192.6584460.0133
Looping result0.00050.0723440.0000
Template Total0.611092.620.3055
Template load0.00230.351920.0012
Template processing0.608792.291720.3044
Template load and register function0.00010.017910.0001
states
state_id_array0.00120.184510.0012
state_identifier_array0.00130.194420.0006
Override
Cache load0.00190.286480.0002
Sytem overhead
Fetch class attribute can translate value0.00060.089510.0006
Fetch class attribute name0.00090.132120.0004
XML
Image XML parsing0.00050.070310.0005
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00160.2420150.0001
String conversion0.00000.002440.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs