Need someone so fix my smarty error

Discussion in 'Services' started by T-Soul, Aug 1, 2006.

  1. #1
    Hi, i have a script that requires smarty, but for some reason i cant get the thing to work.

    Warning: Smarty error: unable to read resource: "master_page.tpl" in /home/my/public_html/lib/Smarty.class.php on line 1095
    Code (markup):
    If anyone can help, please PM me your price.

    I will be paying via paypal.

    Many regards
     
    T-Soul, Aug 1, 2006 IP
  2. b.a

    b.a Peon

    Messages:
    50
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    just quick help
    make sure you definded the templaate dir.
    example.
    $smarty = New Smarty();

    $smarty->template_dir = "/home/my/public_html/templates";

    and the you must put the "master_page.tpl" in this directory


    also you can define aditional important settings

    $smarty->config_dir = "/home/my/public_html/templates/config";
    $smarty->compile_dir = "/home/my/public_html/templates_c";
    $smarty->cache_dir = "/home/my/public_html/template_cache";

    Hope this help you, good luck
     
    b.a, Aug 1, 2006 IP
  3. T-Soul

    T-Soul Peon

    Messages:
    85
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Got it, thanks for your help mate! :)
     
    T-Soul, Aug 1, 2006 IP