From: Hudak, T. <Tyl...@ro...> - 2002-07-22 14:27:48
|
Sorry everyone. I found out what was happening. Slash was dying on another module and this was causing the error. Tyler -----Original Message----- From: Hudak, Tyler Sent: Monday, July 22, 2002 9:28 AM To: 'sla...@li...' Subject: Template not found error Hello all, I am modifying the index.pl file on my site to change the way that the stories are displayed. In the sub displayStories, I have changed the lines: my($storytext, $story) = displayStory($sid); $return .= $storytext; to be: $return .= slashDisplay('tyler',{ title => $title},{ Page =>'index', Section => 'default'}); where 'tyler' is a template that I created. However, I am getting an error in the Apache log files that is says: [Mon Jul 22 13:25:42 2002] [error] /message/index.pl:Slash::Display::Provider:/usr/lib/perl5/site_perl/5.6.0/i3 86-linux/Slash/Display/Provider.pm:81:Failed template lookup on 'tyler;index[misc];default[default]', callers: Slash::Display line 228, Apache::ROOT172_2e29_2e89_2e135::message::index_2epl line 334, Apache::ROOT172_2e29_2e89_2e135::message::index_2epl line 59 [Mon Jul 22 13:25:42 2002] [error] Which was called by:Template::Context:/usr/lib/perl5/site_perl/5.6.0/i386-linux/Template/Cont ext.pm:129:Failed template lookup on 'tyler;index[misc];default[default]', callers: Slash::Display line 228, Apache::ROOT172_2e29_2e89_2e135::message::index_2epl line 334, Apache::ROOT172_2e29_2e89_2e135::message::index_2epl line 59 Does anyone know how I can fix this? Nothing is coming up on the main page and when I look at the source for the page, I only see this: <!-- start template: ID , tyler;; --> <!-- end template: ID , tyler;; --> I have verified that the 'tyler' template is in index; default. What am I missing? Thanks. Tyler |