Edit user works, but debug gives lots of errors.

Author Message

Tore Skobba

Wednesday 19 November 2003 7:06:42 am

Hi all

I have implemented an website where students can log in and edit their data. Students is an class consisting of a user_account, picture and a binary file, all standard EZ datatypes. In order to implement this I have taken the code from:

http://ez.no/developer/ez_publish_3/documentation/building_an_ez_publish_site/the_guestbook/the_input_template (the new tutorial for setting up an website)

This works fine and users can edit and save their data. However, once i turn on debug I get several error messages such as:

1: Unknown template variable 'node' in namespace
2: Cannot retrieve attribute of a NULL
3: Missing parameter 'parent_node_id' for function 'list' in module 'content'
4: Missing parameter 'node_id' for function 'node' in module 'content'

Does anybody know what these means? To me it looks like EZ is complaning about a missing attribute ? But I do not have clue which one, any tips?

I am running EZ 3.2 on Windows XP.

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 31 2025 05:31:09
Script start
Timing: Jan 31 2025 05:31:09
Module start 'layout'
Timing: Jan 31 2025 05:31:09
Module start 'content'
Timing: Jan 31 2025 05:31:09
Module end 'content'
Timing: Jan 31 2025 05:31:09
Script end

Main resources:

Total runtime0.0147 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.0050 588.2656151.2266
Module start 'layout' 0.00500.0024 739.492236.6953
Module start 'content' 0.00740.0056 776.187586.0781
Module end 'content' 0.01310.0016 862.265629.9922
Script end 0.0146  892.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002315.6941140.0002
Check MTime0.00107.0687140.0001
Mysql Total
Database connection0.00074.901010.0007
Mysqli_queries0.002215.198530.0007
Looping result0.00000.204710.0000
Template Total0.00128.310.0012
Template load0.00096.217210.0009
Template processing0.00032.010110.0003
Override
Cache load0.00064.088510.0006
General
dbfile0.001711.387980.0002
String conversion0.00000.040640.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.0001 secs