Edited Class Definitons Will Not Unlock

Author Message

Deane Barker

Wednesday 04 February 2004 8:54:11 am

When I edit a class, I can't get the definition to "unlock." I press "apply," "store" -- doesn't matter, the new version (the changes I just made) will not appear.

When I log in under another account and try to edit the class, I'm told it's locked by the first user.

If I wait for the lock to automatically expire after two hours, then edit and store, it works. But I'm having to wait two hours for class changes.

Deane

Wenyue Yu

Thursday 05 February 2004 4:31:18 am

Hi,

Could you edit settings/content.ini and change DraftTimeout to other values?

[ClassSettings]
# Number of seconds to wait before removing class edit lock.
DraftTimeout=7200

Regards,
wenyue

Deane Barker

Thursday 05 February 2004 5:14:39 am

Thanks, that will help. The underlying problem is still there (class definitions won't store), but this will help a lot in the meantime.

Wenyue Yu

Thursday 05 February 2004 5:49:57 am

Hi,

Which php version are you using? Some older php do have problems with class editing/creating.

Regards,
wenyue

Deane Barker

Thursday 05 February 2004 7:03:28 am

> Which php version are you using?

4.1.2

Wenyue Yu

Thursday 05 February 2004 7:44:50 am

Hi,

OK, that's the reason. eZ publish only works properly after php version 4.2.3. I have exactly the same problem when I using php 4.1.2. You should update your php version.

Regards,
wenyue

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.