Forums / Setup & design / Template list empty

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