![]() |
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? |
what did you change before hand ?
templates/home.tpl ? sounds an odd directory |
I changed skin1 to templates. Im just playing around with smarty and the php to see what does what.
I did figure it out though and got it all working. Thanks for the response |
All times are GMT -8. The time now is 03:20 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.