Code Comments
Programming Forum and web based access to our favorite programming groups.Hi Amanda, "unable resource" means 1. your file is not there. 2. your setting of template dirs is wrong. Please check yout $smarty->template_dir(). best wishes, Andreas Amanda Hemmerich wrote: >I am receiving an error when trying to include a file. I am unable to >view Smarty.class.php in order to see the code on line 1083. How can I >find out more about this error. > >Warning: Smarty error: unable to read resource: "admin/admin_employ.tpl" >in /usr/local/lib/php/Smarty/Smarty.class.php on line 1083 > >Amanda > > > -- Data-Center system solutions Harras 55 2564 Furth T 02674 88488 office@data-center.at http://www.data-center.at
Post Follow-up to this messageOr it's a permission problem and the web server is not able to read your template... greg On Aug 16, 2004, at 11:50 AM, Andreas Otterstein wrote: > Hi Amanda, > > "unable resource" means > 1. your file is not there. > 2. your setting of template dirs is wrong. Please check yout > $smarty->template_dir(). > > best wishes, > Andreas > > > > > > Amanda Hemmerich wrote: > > > > -- > Data-Center > system solutions > Harras 55 > 2564 Furth > T 02674 88488 > office@data-center.at > http://www.data-center.at > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > ........................................................................ ............................... Greg Dykema, Wellspring Data ~~ Smart Ways to Make Your Work Flow www.wellspringdata.com ~~ (888) 736-8641
Post Follow-up to this messageYes it could be safe-mode = on and then smarty can't read sub_dirs files like 'admin/template_name.tpl' Andreas Greg Dykema wrote: > Or it's a permission problem and the web server is not able to read > your template... > > > greg > > On Aug 16, 2004, at 11:50 AM, Andreas Otterstein wrote: > > ........................................................................ > ............................... > Greg Dykema, Wellspring Data ~~ Smart Ways to Make Your Work Flow > www.wellspringdata.com ~~ (888) 736-8641 > -- Data-Center system solutions Harras 55 2564 Furth T 02674 88488 office@data-center.at http://www.data-center.at
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.