Forums / Setup & design / eZ Publisher 3.3 override file/caching problems - possible bug?

eZ Publisher 3.3 override file/caching problems - possible bug?

Author Message

James Packham

Wednesday 03 December 2003 9:05:34 am

Hi I'm using the new eZp 3.3 testing version to develop my site and I've started getting some problems with accessing the mysql database for the site. I was having trouble updating roles for the anonymous user (Pressing the "store" button caused all the roles for that user to be wiped). This seemed to go away when I simply looked at the database using command line mysql (bizzare I know, but you can't argue if it works).

Anyway I've been left with another problem, in that I can't make effective changes to my site.ini files (i.e. any that I do add simply don't work!). I'm guessing there must be another override file somewhere, or it must be somehow caching my old settings, however even when I clear cache from the commandline I'm left with the old settings.

Has anyone else seen these kinds of errors on the testing version? If so do you know a work around?

The ini files I've tried editing to change my site settings are:

settings/site.ini
settings/siteaccess/mysite/site.ini.append
settings/override/site.ini.append.php

(I'm aware that each of these overrides the previous respectively)

Any suggestions greatly appreciated! I know I could wait for the stable version, but it'd be nice if I found a fix (it'd probably help me understand ez a little better too).

Thanks!

James

Björn Dieding@xrow.de

Wednesday 03 December 2003 9:21:37 pm

this might be something really simple...

did you check the permission of the cache files? They might not get deleted?

Can you turn on debug output in the site.ini? DO you notice something?

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/

James Packham

Thursday 04 December 2003 1:01:18 am

This is what I thought as well: probably a caching issue. At the moment my cache directory has

drwxrwxrwx 7 apache apache 4096 Dec 4 2003 cache
drwxrwxrwx 3 apache apache 4096 Dec 2 11:33 storage

I can't turn off debug output at the moment because like I said changing the site.x files doesn't seem to have an affect on the site settings. I've noticed that there's one recurring "Warning PHP" error/warning:

Undefined index: name in /[ezpublishdir]/kernel/classes/ezcontentobjecttreenode.php on line 2408

I went to that line and found the following: $object->setName($node['name']);

Do you/does anyone else know what all this means?

Thanks,

~James~

eZ debug

Timing: Jan 18 2025 22:37:05
Script start
Timing: Jan 18 2025 22:37:05
Module start 'content'
Timing: Jan 18 2025 22:37:06
Module end 'content'
Timing: Jan 18 2025 22:37:06
Script end

Main resources:

Total runtime0.8419 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.0076 589.3984180.7969
Module start 'content' 0.00760.8269 770.1953553.0000
Module end 'content' 0.83440.0074 1,323.195346.3516
Script end 0.8418  1,369.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4497140.0003
Check MTime0.00140.1638140.0001
Mysql Total
Database connection0.00100.116210.0010
Mysqli_queries0.787793.5646580.0136
Looping result0.00070.0822560.0000
Template Total0.798694.920.3993
Template load0.00250.300620.0013
Template processing0.796194.560820.3980
Template load and register function0.00010.010710.0001
states
state_id_array0.00140.169510.0014
state_identifier_array0.00140.172020.0007
Override
Cache load0.00210.2525320.0001
Sytem overhead
Fetch class attribute can translate value0.00070.077720.0003
Fetch class attribute name0.00160.193550.0003
XML
Image XML parsing0.00090.106720.0004
class_abstraction
Instantiating content class attribute0.00000.001360.0000
General
dbfile0.00300.3565240.0001
String conversion0.00000.000630.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs