Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 03:21:22 PM

Pages: [1]   Go Down
  Print  
Author Topic: Installing smarty  (Read 1107 times)
UberMouse
Newbie
*
Offline Offline

Posts: 2


« on: March 05, 2010, 11:23:23 PM »

I'm uploading my smarty powered website for my computer to the webserver. I've managed to do that and all the files are there working fine.
But I can't get smarty working so none of my pages will work, On my computer I had all the paths set as C:/path/to/smarty and I'm unsure how I can do that on the lunar server.
Smarty is installed in website/smarty if that makes any difference.
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12838


WWW
« Reply #1 on: March 08, 2010, 05:16:40 AM »

Well, you would need to make sure the paths are relative to the server locations.  So, if you uploaded it into your public_html folder, inside of the folder named "smarty", the path for that would be:

/public_html/smarty/

or if you need the address from the web site of things, it would be:

http://www.yourdomain.com/smarty/

Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
UberMouse
Newbie
*
Offline Offline

Posts: 2


« Reply #2 on: March 08, 2010, 10:07:46 AM »

Well, you would need to make sure the paths are relative to the server locations.  So, if you uploaded it into your public_html folder, inside of the folder named "smarty", the path for that would be:

/public_html/smarty/

or if you need the address from the web site of things, it would be:

http://www.yourdomain.com/smarty/


Thanks anyway but I managed to get it working.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: