| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Help with Smart and PHP calling to a template. | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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? |
|||||||
#2
|
|||||||||
|
|||||||||
![]() what did you change before hand ?
templates/home.tpl ? sounds an odd directory
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#3
|
|||||||
|
|||||||
![]() 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 |
|||||||
|
|||
X-Cart forums © 2001-2020
|