debug warnings

Author Message

André R.

Monday 28 November 2005 5:33:09 pm

Been debugging, and found some errors and warnings I don't quite understand..

Notice: 	Nov 29 2005 02:36:35	

eZTemplate: Loading template "pagelayout.tpl" with resource "design"
Warning: PHP	Nov 29 2005 02:36:35	

array_keys(): The first argument should be an array in /home/sbio/www/var/map/cache/template/compiled/pagelayout-6477835f9e0041732485d45b69a450b3.php on line 795

and

Warning: PHP	Nov 29 2005 02:54:34	

Invalid argument supplied for foreach() in /home/sbio/www/kernel/classes/ezcontentobjecttreenode.php on line 759

ez: 3.7.2
php: 4.4.0-4 debian

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Nathan Kelly

Tuesday 29 November 2005 3:36:05 pm

Hi André, it looks like you may have a couple of syntax errors in either your pagelayout.tpl or other .tpl files.

Can you please post your template code from pagelayout.tpl?

Cheers!

Pardon me while I burst into flames...

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

Main resources:

Total runtime0.0177 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.0056 589.0234152.6094
Module start 'layout' 0.00560.0028 741.632839.3984
Module start 'content' 0.00840.0072 781.031389.3828
Module end 'content' 0.01560.0021 870.414130.3047
Script end 0.0177  900.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002413.7338140.0002
Check MTime0.00116.3132140.0001
Mysql Total
Database connection0.00105.872510.0010
Mysqli_queries0.002111.744930.0007
Looping result0.00000.072610.0000
Template Total0.00179.510.0017
Template load0.00095.337610.0009
Template processing0.00074.130910.0007
Override
Cache load0.00063.467010.0006
General
dbfile0.003217.798880.0004
String conversion0.00000.047040.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