For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > August 2004 > Re: [SMARTY] error - where can I find help with errors?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [SMARTY] error - where can I find help with errors?
Andreas Otterstein

2004-08-16, 3:59 pm

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
Greg Dykema

2004-08-16, 8:58 pm

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:
> 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
Andreas Otterstein

2004-08-16, 8:58 pm

Yes 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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com