Apache crashes when user edit themself.

Author Message

Tore Skobba

Friday 14 November 2003 3:17:04 am

Hi all

I have a website where users have the option to log in. In order to cope with necessary new user requirements I have made a new user class, Student. The Student class consists of an user_account (original datatype unaltered), First and last name (Text lines), picture (Image) and a CV (binary file). Almost everything works fine now, user can log in/out, and anonymous users have the option to register themselves. However, logged in users should also have an option to edit there own data. In order to allow for this I have overridden the edit.tpl with edit_student_class_17.tpl. My edit_student_class_17.tpl is now almost an exactly copy of the edit.tpl, but WITHOUT the placement and version management edit templates. This as the users should only edit their specific data in a simple way, and NOT where they are stored etc. In order to cope with the lacking placement edit I have added this in my edit template:

<input type="hidden" name="MainNodeID" value= "{$object.main_parent_node_id}" />

But when I press (Edit user) Windows XP says that Apache have crashed, that is during the rendering of the edit_student_class_17.tpl view! I have tried to check the Apache log but there is nothing there to indicate what is wrong. So have anyone here had these kind of problems? Secondly I would also like some tips on people who have implemented self user editing.

Cheers
Tore

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 21:12:23
Script start
Timing: Jan 18 2025 21:12:23
Module start 'layout'
Timing: Jan 18 2025 21:12:23
Module start 'content'
Timing: Jan 18 2025 21:12:25
Module end 'content'
Timing: Jan 18 2025 21:12:25
Script end

Main resources:

Total runtime1.3014 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.1641152.6406
Module start 'layout' 0.00610.0021 741.804739.4766
Module start 'content' 0.00831.2913 781.2813405.7109
Module end 'content' 1.29960.0017 1,186.99228.1406
Script end 1.3013  1,195.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2613160.0002
Check MTime0.00150.1164160.0001
Mysql Total
Database connection0.00140.105210.0014
Mysqli_queries1.261596.9331460.0274
Looping result0.00040.0341440.0000
Template Total1.269297.520.6346
Template load0.00290.221120.0014
Template processing1.266497.308920.6332
Template load and register function0.00020.017110.0002
states
state_id_array0.00140.109410.0014
state_identifier_array0.00220.165520.0011
Override
Cache load0.00220.167490.0002
Sytem overhead
Fetch class attribute can translate value0.00080.059010.0008
Fetch class attribute name0.00070.052910.0007
XML
Image XML parsing0.00010.009010.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00070.0526100.0001
String conversion0.00000.000540.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs