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.