Strange behavior which results in critical error

Author Message

Johan Grasmo

Monday 24 May 2004 11:01:53 pm

Hi,

I've used ez Publish for some time now and I'm very satisfied. However - I observed a very strange behavior yesterday, actually everything went strange.

First it didn't take fetch statements like: class_filter_array, array( 'article' ), but if I replaced 'article' with the correct class number then it worked.
Secondly it stopped understanding "nice links" like 'news' and 'guestbook' and I had to use the node-reference in stead.

I didn't understand why this was happening, so I cleared the cache. After I did this - nothing works! The page loads, but it doesn't display any content. It loads the correct templates and such, and I know it fetches the page content by using |attribute(show). ez Debug tells me that:
[snip]
Error: eZContentObjectVersion May 25 2004 07:13:49
Undefined attribute 'can_read', cannot get
[/snip]

I manage to log on to the administration interface, but the page is empty - no menu, footer and so forth.

I really hope someone can help me - this error really puzzles me. I didn't modify any config file or anything prior to this error. The logs doesn't show anything special either.

Thanks in advance,

Johan Grasmo

Johan Grasmo

Tuesday 25 May 2004 12:39:11 am

It looks like a permission-problem, but I haven't done anything with roles etc. before the error occured.

Thanks,

Johan Grasmo

Johan Grasmo

Tuesday 25 May 2004 1:14:55 am

I downloaded the latest tarball, installed it and copied over the files under design, settings/override and settings/siteaccess.
For some reason it works ?!?

Can someone please tell me why ezPublish behaves so weird ?

Thanks,

Johan Grasmo

Johan Grasmo

Tuesday 25 May 2004 1:18:20 am

One more thing.....

I'm using the same database, so it cannot be any missing class-permissions.

Johan

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 14:53:04
Script start
Timing: Jan 18 2025 14:53:04
Module start 'layout'
Timing: Jan 18 2025 14:53:04
Module start 'content'
Timing: Jan 18 2025 14:53:05
Module end 'content'
Timing: Jan 18 2025 14:53:05
Script end

Main resources:

Total runtime0.8709 sec
Peak memory usage4,096.0000 KB
Database Queries58

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 589.2031152.6406
Module start 'layout' 0.00780.0030 741.843839.4766
Module start 'content' 0.01080.8584 781.3203446.2969
Module end 'content' 0.86930.0016 1,227.617212.1250
Script end 0.8708  1,239.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3857160.0002
Check MTime0.00130.1478160.0001
Mysql Total
Database connection0.00190.214410.0019
Mysqli_queries0.805292.4548580.0139
Looping result0.00070.0795560.0000
Template Total0.833295.720.4166
Template load0.00250.286120.0012
Template processing0.830795.387420.4154
Template load and register function0.00020.025310.0002
states
state_id_array0.00070.076810.0007
state_identifier_array0.00110.122220.0005
Override
Cache load0.00180.2054300.0001
Sytem overhead
Fetch class attribute can translate value0.00080.093810.0008
Fetch class attribute name0.00110.120940.0003
XML
Image XML parsing0.00020.021710.0002
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00420.4779100.0004
String conversion0.00000.000940.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 5

Time used to render debug report: 0.0003 secs