Solution for "unauthorized.tpl" Error Message

Discussion in 'Directories' started by wsfarrell, Aug 30, 2007.

  1. #1
    Apologies if this has already been posted, but I couldn't find it.

    Users submitting links to one of my directories were getting an error message like

    Smarty error: unable to read resource "unauthorized.tpl" in /home/.../.../smarty.class.php on line 1095

    When I googled this I found a lot of people here were having that problem too, but I didn't see any solutions posted.

    It's absurdly simple: in the folder containing your phpLD template (not the 'template' folder, but the one under it that has your specific template files, 'blackgreen3.2' in my case) is a file called "unauthorised.tpl" (spelled with an "s"). Change the "s" to a "z" and the problem goes away.

    Good luck!

    Bill
     
    wsfarrell, Aug 30, 2007 IP
  2. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Its not PHPLD problem dude, its just that someone does not know how to code templates properly or atleast even copy and paste a single file properly before releasing template to public.

    And i am sure problem all started from here : http://www.phplinkdirectory.com/forum/showthread.php?t=13613

    So, david should be way more careful as to what he includes in his template packs. A thorough testing should be done by him.
     
    paidhosting, Aug 30, 2007 IP