What happened to my site??

Author Message

Fabricio Guerrero

Friday 06 October 2006 7:04:48 am

Hi,

A clients site stopped working all of a sudden well or so they say...

anyhow going over the site i was able to pin point down the templates that weren't working properly and it came down to a fetch issue.

what i still cann't understand is why it just stopped working...

previously in my fetches i would filter information such as:

{let leading_articles=fetch( 'content', 'tree', hash( 'parent_node_id', 77,
class_filter_type, "include", class_filter_array, array(25),
attribute_filter, array( array( 'article_issue/leading_article', '=', '1' ) ),
'sort_by', array( 'modified', false() )
))
}

but that stopped working and i've had to re-write all the fetches (about 20)
to do something like:

{let leading_articles=fetch( 'content', 'tree', hash( 'parent_node_id', 77,
class_filter_type, "include", class_filter_array, array(25),
attribute_filter, array( array( 292, '=', '1' ) ),
'sort_by', array( 'modified', false() )
))
}

Now the site works fine again with the new filter style. What could of happened? Why did the site just stop working and fetching information correctly?

any clues?? or is this an ezMystery!!

Fabricio

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

Björn Dieding@xrow.de

Friday 06 October 2006 7:15:58 am

Stupid question i guess but

Did you change any class or attribute indentifier names in db?

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Fabricio Guerrero

Friday 06 October 2006 7:30:17 am

Hi Björn,

I'd thought the same thing.. I thought the client had changed it.. but they were all exactly the same.. and to be precise the classes hadn't been edited in over a month..

1 thing I forgot to mention is this was on a live site. The site has already been live for about 8 months.. and puffff just stopped...

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

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

Main resources:

Total runtime0.0185 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.0048 587.9141152.6250
Module start 'layout' 0.00480.0041 740.539139.4453
Module start 'content' 0.00880.0076 779.984493.3203
Module end 'content' 0.01640.0021 873.304734.3047
Script end 0.0185  907.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002714.3561140.0002
Check MTime0.00126.5794140.0001
Mysql Total
Database connection0.00084.541010.0008
Mysqli_queries0.003116.483230.0010
Looping result0.00000.146610.0000
Template Total0.00179.210.0017
Template load0.00094.838110.0009
Template processing0.00084.310810.0008
Override
Cache load0.00063.112210.0006
General
dbfile0.00137.033480.0002
String conversion0.00000.055340.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