Problem with the view_count

Author Message

Sébastien Antoniotti

Sunday 11 February 2007 9:53:29 am

Hi,

I have so mistake with the view_count functionnality. I have configured the cronjob.ini to call the updateviewcount script, here is the output when I manually run the runcronjob.php by "php runcronjob.php" :

Update content view count ...
Started at Dimanche 11 Février 2007 6:47:53 pm

Start line:
88.191.254.20 - - [09/Feb/2007:16:40:07 +0100] "GET / HTTP/1.0" 200 28937 "-" "Dedibox"

Finished at Dimanche 11 Février 2007 6:47:54 pm

View count have been updated!

So it seems that the update is done, but when I show the attributes of a node, I always get this :

>>view_count integer 0 

Thanks in advance

eZ Publish Freelance
web : http://www.webaxis.fr

Børge Warvik

Monday 12 February 2007 2:18:28 am

I get the same error. Anyone have any ideas what causes this?

Thanks,
Børge

Kristof Coomans

Monday 12 February 2007 5:53:26 am

See my reply in the original topic: http://ez.no/community/forum/setup_design/how_to_get_the_popularity_of_a_node#msg119935

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

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

Main resources:

Total runtime0.0171 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.0078 587.9141152.6250
Module start 'layout' 0.00780.0025 740.539139.4453
Module start 'content' 0.01030.0046 779.984489.4453
Module end 'content' 0.01490.0022 869.429734.3047
Script end 0.0171  903.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002514.6680140.0002
Check MTime0.00116.5231140.0001
Mysql Total
Database connection0.00095.036710.0009
Mysqli_queries0.003621.213430.0012
Looping result0.00000.188210.0000
Template Total0.001710.110.0017
Template load0.00095.386710.0009
Template processing0.00084.709010.0008
Override
Cache load0.00073.859810.0007
General
dbfile0.00031.489280.0000
String conversion0.00000.036340.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