For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > October 2004 > Re: [SMARTY] need help getting started









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] need help getting started
Messju Mohr

2004-10-04, 3:58 am

On Sun, Oct 03, 2004 at 07:26:19PM -0400, Rick Pasotto wrote:
> I've just installed the debian package 2.6.3-1, copied the demo
> directory from the docs to the root of my server, and changed the owner
> of the templates_c directory.
>
> The errors I'm now getting are:
>
> Warning: Failed opening 'templates_c/%%45^45E^45E480CD%%index.tpl.php'
> for inclusion (include_path='/usr/share/php/smarty/libs') in
> /usr/share/php/smarty/libs/Smarty.class.php on line 1247


I think you need "." in your include_path. or configure
$smarty->compile_dir with an absolute path to templates_c (no trailing
slash needed).

> Warning: Failed opening 'templates_c/%%07^07B^07BAD88F%%debug.tpl.php'
> for inclusion (include_path='/usr/share/php/smarty/libs') in
> /usr/share/php/smarty/libs/Smarty.class.php on line 1922
>
> Both of those files were created and currently exist in the templates_c
> directory. They have 0644 permissions.
>
> --
> "If we escape punishment for our vices, why should we complain if we are
> not rewarded for our virtues?"
> -- John Churton Collins, literary critic (1848-1908)
> Rick Pasotto rick@niof.net http://www.niof.net
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

Sponsored Links







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

Copyright 2008 codecomments.com