I changed my local test blog (updated the bulletproofed theme).
Now my local blog reports
Warning: Smarty error: unable to read resource: "index.tpl" in /var/www/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1092
and nothing more.. How do I find out *wich* index.tpl is not accessible? Both files (and directories) in bp and default are RWX for *all* so it can't be an file access right problem.
I'm near to reinstalling the whole blog, because I'm absolutely blind in that situation.
Someone with an idea where to look into?
Warning: Smarty error: unable to read resource: "index.tpl"
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Warning: Smarty error: unable to read resource: "index.tpl"
Did you change the folder name? Can you log into the backend and change templates to something different? Perhaps something with templates_c? I dunno - have never encountered that problem.
=Don=
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
Re: Warning: Smarty error: unable to read resource: "index.tpl"
I changed the folder name *later* in the hope, s9y would use the default theme then, what wasn't changed at all. Nothing changed.
And no: I can''t login, because the only thing the blog shows me at the moment is the error message *only*
I think: The only way to restore the blog is to completely rebuild it, as this error message says nothing meaningful to me..
This is bad of course. If this would be my first impression of s9y... omg..
I don't think, something is wrong with the template or s9y itself. But I have no idea, where to search for the problem, as all index.tpl's are there and accessible..
And no: I can''t login, because the only thing the blog shows me at the moment is the error message *only*
I think: The only way to restore the blog is to completely rebuild it, as this error message says nothing meaningful to me..
This is bad of course. If this would be my first impression of s9y... omg..
I don't think, something is wrong with the template or s9y itself. But I have no idea, where to search for the problem, as all index.tpl's are there and accessible..
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Warning: Smarty error: unable to read resource: "index.tpl"
log into your site as http://yourtestdomain/serendipity_admin.php. Seems odd to me that you are getting a smarty error saying index.tpl cannot be read - I would think s9y would fall back to templates/default/index.tpl... but perhaps that only happens if a template does not actually have an index.tpl. Hopefully someone else will offer a better suggestion.... or maybe I will see if I can trigger the same error.
=Don=
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Warning: Smarty error: unable to read resource: "index.tpl"
Hi!
What exactly did you update?
Such an error would really only occur if you maybe changed anything in the serendipityPath options or if a file is not shell-accessibly.
You could check the serendipity_getTemplateFile function and see what it does...
Regards,
Garvin
What exactly did you update?
Such an error would really only occur if you maybe changed anything in the serendipityPath options or if a file is not shell-accessibly.
You could check the serendipity_getTemplateFile function and see what it does...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Warning: Smarty error: unable to read resource: "index.tpl"
Hmmm. Just a wild guess, but maybe it's neither /templates/bulletproof/index.tpl nor /templates/default/index.tpl, but /templates/default/admin/index.tpl?blog.brockha.us wrote:And no: I can''t login, because the only thing the blog shows me at the moment is the error message *only*
I seem to remember a case where someone was unable to log into his blog since he accidentally deleted /templates/default/ altogether ...
YL
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
Re: Warning: Smarty error: unable to read resource: "index.tpl"
Thanks to all! The hint of Don leaded me to the solution.. Calling the admin interface directly the blog said, it can't access admin/index.tpl. As this file was accessible too, I searched a little deeper..
It was the folder templates itself, that was not accessible for the webserver...
Oh man, sometimes I am a DAU, too (DAU is German meaning: most stupid user you can imagine..)
Sorry for my absolute blindness..
It was the folder templates itself, that was not accessible for the webserver...
Oh man, sometimes I am a DAU, too (DAU is German meaning: most stupid user you can imagine..)
Sorry for my absolute blindness..
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Warning: Smarty error: unable to read resource: "index.tpl"
Or, as Homer Simpson would say, DOH!!!
=Don=
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact: