View Single Post
  #1  
Old 10-06-2003, 06:51 PM
 
Gibberish Gibberish is offline
 

Senior Member
  
Join Date: Sep 2003
Posts: 182
 

Default Help with Smart and PHP calling to a template.

Ok highly modified xcart here that Im testing out. I keep getting this error and cant get around it. Help me out if you can.

Here is the error:

Warning: Smarty error: unable to read template resource: "templates/home.tpl" in /usr/local/4admin/apache/vhosts/design4rent.com/httpdocs/mythsandlegends/libs/Smarty.class.php on line 1042

Now line 1042 in smart.class.php says:

trigger_error("Smarty error: $error_msg", $error_type);

So I am guessing that is just the generic error shoing up?

that resource the error is talking about is being called by this:

$smarty->display("templates/home.tpl");

which is in my index.php

There is a home.tpl in my templates folder. Any suggestions?
Reply With Quote