Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2007
    Location
    UK
    Posts
    532
    Tokens
    0

    Default Smarty Installation

    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

  2. #2
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    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.

  3. #3
    Join Date
    Nov 2007
    Location
    UK
    Posts
    532
    Tokens
    0

    Default

    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

  4. #4
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    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.

    Quote Originally Posted by habtasia View Post
    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

  5. #5
    Join Date
    Nov 2007
    Location
    UK
    Posts
    532
    Tokens
    0

    Default

    Ah, i see whats wrong now, cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •