Template list empty

Author Message

Trond Åge Kvalø

Wednesday 01 September 2004 2:14:07 am

When I try to list my templates in the admin interface, the template list is completely empty.

When I check my design directory, all the templates are where they are supposed to be. And my override.ini.append is also just as expected.

I find this very strange, but I wonder if this might have something to do with me doing a database backup from 3.4-0 tables into an 3.4-1 installation.

Anyone got tips on how to fix this?

best regards

best regards
trondåge

trondåge

Trond Åge Kvalø

Wednesday 01 September 2004 6:21:08 am

Bumping

trondåge

Paul Forsyth

Wednesday 01 September 2004 6:51:01 am

Have you tried checking the database itself from eZ? Goto: <admin>/setup/systemupgrade and run the database checker to see if it throws up anything...

paul

Trond Åge Kvalø

Thursday 02 September 2004 1:49:18 am

Thanks for your suggestion, Paul.

I tried this and it told me to insert an index to the contentobject_version table. So I did.

It also told me to delete all the other tables. I.e the old tables that I've renamed to old_ez*. But I can't really see that those tables should make my template list empty.

What do the template list consist of anyway. I would have thought that it was a listing of all *.tpl files found in the design/ directory. So I've checked for file consistency as well, and the file consistency was ok. But my template list is still empty.

best regards

trondåge

Paul Forsyth

Thursday 02 September 2004 2:15:03 am

The list does show templates are used plus their overrides. It can be useful in showing if your override is active.

I looked at the code briefly. The templatelist template gets its information from: kernel/setup/templatelist.php. Specifically, this function call should return the information needed to populate the template:

$overrideArray =& eZTemplatedesignresource::overrideArray( $siteAccess );

on line 54. Maybe you can backtrack from this to see if anything is obviously wrong?

Sorry i cant be of more help. Without hands on access its hard to diagnose this problem.

paul

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 19:20:10
Script start
Timing: Jan 18 2025 19:20:10
Module start 'layout'
Timing: Jan 18 2025 19:20:10
Module start 'content'
Timing: Jan 18 2025 19:20:11
Module end 'content'
Timing: Jan 18 2025 19:20:11
Script end

Main resources:

Total runtime0.7896 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 589.0391152.6250
Module start 'layout' 0.00590.0030 741.664139.4297
Module start 'content' 0.00890.7793 781.0938519.6563
Module end 'content' 0.78820.0013 1,300.750012.1875
Script end 0.7896  1,312.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4291160.0002
Check MTime0.00130.1663160.0001
Mysql Total
Database connection0.00090.113610.0009
Mysqli_queries0.726191.9588630.0115
Looping result0.00060.0710610.0000
Template Total0.745294.420.3726
Template load0.00210.271020.0011
Template processing0.743194.107120.3715
Template load and register function0.00020.024310.0002
states
state_id_array0.00180.227710.0018
state_identifier_array0.00090.110120.0004
Override
Cache load0.00180.2267280.0001
Sytem overhead
Fetch class attribute can translate value0.00060.080120.0003
Fetch class attribute name0.00150.185850.0003
XML
Image XML parsing0.00020.028720.0001
class_abstraction
Instantiating content class attribute0.00000.001550.0000
General
dbfile0.00150.1913100.0002
String conversion0.00000.001140.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs