logo       

Re: [SMARTY] All sorts of errors on Smarty 2.3.1: msg#00397

php.smarty.general

Subject: Re: [SMARTY] All sorts of errors on Smarty 2.3.1

I'd guess that your relative path to templates_c is not working. Where
is templates_c, in the same directory as your executing script? If so,
is the current directory in your include_path? You could try
./templates_c, see if that helps.

On Tue, 2003-01-28 at 12:05, Didier McGillis wrote:
> I also get these errors when chmod templates and templates_c to 777 and all
> the files underneath.
>
> Warning: Smarty error: unable to read template resource:
> "templates/index.tpl" in
> /home/httpd/vhosts/family.mccullough-net.com/httpdocs/Smarty.class.php on
> line 589
>
> Warning: Smarty error: problem writing
> 'templates_c/%%160/%%1605315750/debug.tpl.php.' in
> /home/httpd/vhosts/family.mccullough-net.com/httpdocs/Smarty.class.php on
> line 589
>
> Warning: unable to create file templates_c/%%160/%%1605315750/debug.tpl.php
> because No such file or directory in
> /home/httpd/vhosts/family.mccullough-net.com/httpdocs/Smarty.class.php on
> line 968
>
> Warning: open_basedir restriction in effect. File is in wrong directory in
> /home/httpd/vhosts/family.mccullough-net.com/httpdocs/Smarty.class.php on
> line 775
>
> Warning: Failed opening 'templates_c/%%160/%%1605315750/debug.tpl.php' for
> inclusion (include_path='.:/usr/share/php') in
> /home/httpd/vhosts/family.mccullough-net.com/httpdocs/Smarty.class.php on
> line 775
>
>
>
>
>
>
>
> >From: "Didier McGillis" <codesmoker@xxxxxxxxxxx>
> >To: smarty-general@xxxxxxxxxxxxx
> >Subject: Re: [SMARTY] All sorts of errors on Smarty 2.3.1
> >Date: Tue, 28 Jan 2003 17:59:13 +0000
> >
> >Here are my collection of errors. Please remember these errors where not
> >present in the previous version installed under this domain. It worked
> >perfectly. I have root access and I have followed the installation
> >instructions to the letter.
> >
> >Warning: stat failed for templates_c/%%206/%%2063496163/index.tpl.php
> >(errno=13 - Permission denied) in
> >/home/httpd/vhosts/family.mccullough-net.com/httpdocs/Smarty.class.php on
> >line 918
> >
> >Warning: Smarty error: unable to read template resource:
> >"template/index.tpl" in
> >/home/httpd/vhosts/family.mccullough-net.com/httpdocs/Smarty.class.php on
> >line 589
> >
> >Warning: Smarty error: problem writing
> >'templates_c/%%160/%%1605315750/debug.tpl.php.' in
> >/home/httpd/vhosts/family.mccullough-net.com/httpdocs/Smarty.class.php on
> >line 589
> >
> >Warning: unable to create file templates_c/%%160/%%1605315750/debug.tpl.php
> >because Permission denied in
> >/home/httpd/vhosts/family.mccullough-net.com/httpdocs/Smarty.class.php on
> >line 968
> >
> >Warning: open_basedir restriction in effect. File is in wrong directory in
> >/home/httpd/vhosts/family.mccullough-net.com/httpdocs/Smarty.class.php on
> >line 775
> >
> >Warning: Failed opening 'templates_c/%%160/%%1605315750/debug.tpl.php' for
> >inclusion (include_path='.:/usr/share/php') in
> >/home/httpd/vhosts/family.mccullough-net.com/httpdocs/Smarty.class.php on
> >line 775
> >
> >
> >
> >
> >
> >
> >>From: "Didier McGillis" <codesmoker@xxxxxxxxxxx>
> >>To: smarty-general@xxxxxxxxxxxxx
> >>Subject: [SMARTY] All sorts of errors on Smarty 2.3.1
> >>Date: Tue, 28 Jan 2003 16:47:11 +0000
> >>
> >>
> >>I did a new install of Smarty 2.3.1 on my server, I think I was at like
> >>2.1.1 or 2.2.x in the previous version. When from a functioning site to
> >>an error filled index.php page. I untarred the backup of the old site and
> >>it went to working fine.
> >>
> >>The errors I got most centered around template/ and tempalates_c/ and some
> >>wierd looking sud-directory that it couldnt setup. Now I have been using
> >>Smarty for a year now. I am familiar with the setup procedure. I
> >>followed the instructions to the letter. I even stepped it up and chmoded
> >>all the template directorys 777 and everything underneath.
> >>
> >>I shouldnt be getting errors writting to these directories. I'm using PHP
> >>4.1.2.
> >>
> >>
> >>
> >>
> >>_________________________________________________________________
> >>Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> >>http://join.msn.com/?page=features/junkmail
> >>
> >>
> >>--
> >>Smarty General Mailing List (http://smarty.php.net/)
> >>To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >_________________________________________________________________
> >MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> >http://join.msn.com/?page=features/virus
> >
> >
> >--
> >Smarty General Mailing List (http://smarty.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
--
Monte Ohrt <monte@xxxxxxxx>


--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise