View Full Version : Smarty Installation
habtasia
17-05-2009, 08:12 PM
Hi Everyone,
Am i right in thinking that you can install Smarty in an Apache Update using EasyApache in cPanel?
Because i cant find it anywhere on the update :S
Can you actually do it anymore or do you need to use SSH?
Cheers,
Josh
You don't need SSH or some Apache Update to install smarty... its just a few PHP files you can add into your project or put it in your php include directory.
habtasia
17-05-2009, 08:19 PM
Ive tried putting it under /home/media/public_html/smarty but i still get the error:
Warning: Smarty error: unable to read resource: "index.tpl" in /home/media/public_html/smarty/libs/Smarty.class.php on line 1107
Read the documentation on how to use smarty. You need to set up the class properly and point it to the right directories. Or you can use something like MySQL to store the templates; there is an example in the documentation.
Ive tried putting it under /home/media/public_html/smarty but i still get the error:
Warning: Smarty error: unable to read resource: "index.tpl" in /home/media/public_html/smarty/libs/Smarty.class.php on line 1107
habtasia
17-05-2009, 08:32 PM
Ah, i see whats wrong now, cheers
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.