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~

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 19 2025 01:00:43
Script start
Timing: Jan 19 2025 01:00:43
Module start 'layout'
Timing: Jan 19 2025 01:00:43
Module start 'content'
Timing: Jan 19 2025 01:00:43
Module end 'content'
Timing: Jan 19 2025 01:00:43
Script end

Main resources:

Total runtime0.0209 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.0063 589.4141152.6563
Module start 'layout' 0.00630.0041 742.070339.5078
Module start 'content' 0.01050.0081 781.578193.3984
Module end 'content' 0.01860.0022 874.976634.3047
Script end 0.0208  909.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002913.8113140.0002
Check MTime0.00125.9539140.0001
Mysql Total
Database connection0.00083.960110.0008
Mysqli_queries0.003416.451430.0011
Looping result0.00000.110810.0000
Template Total0.00188.510.0018
Template load0.00115.258510.0011
Template processing0.00073.174510.0007
Override
Cache load0.00083.739710.0008
General
dbfile0.00104.848580.0001
String conversion0.00000.053740.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.0002 secs