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.

eZ debug

Timing: Jan 18 2025 22:21:38
Script start
Timing: Jan 18 2025 22:21:38
Module start 'layout'
Timing: Jan 18 2025 22:21:38
Module start 'content'
Timing: Jan 18 2025 22:21:40
Module end 'content'
Timing: Jan 18 2025 22:21:40
Script end

Main resources:

Total runtime1.0266 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.1250152.6250
Module start 'layout' 0.00510.0032 741.750039.4453
Module start 'content' 0.00831.0169 781.1953536.0234
Module end 'content' 1.02530.0013 1,317.218812.1563
Script end 1.0266  1,329.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2879160.0002
Check MTime0.00110.1118160.0001
Mysql Total
Database connection0.00070.069110.0007
Mysqli_queries0.972894.7543660.0147
Looping result0.00060.0570640.0000
Template Total0.994796.920.4973
Template load0.00180.178720.0009
Template processing0.992896.710420.4964
Template load and register function0.00010.010510.0001
states
state_id_array0.00120.113210.0012
state_identifier_array0.00270.258420.0013
Override
Cache load0.00160.1550330.0000
Sytem overhead
Fetch class attribute can translate value0.00070.068420.0004
Fetch class attribute name0.00130.129870.0002
XML
Image XML parsing0.00070.067120.0003
class_abstraction
Instantiating content class attribute0.00000.001590.0000
General
dbfile0.00080.0770160.0000
String conversion0.00000.000840.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/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: 25
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs