Page 1 of 1
static page error
Posted: Wed Feb 22, 2006 4:10 pm
by bigowner
when i want to create a static page it give me an error like this
Code: Select all
Warning: Smarty error: unable to read resource: "file:/home/imacin/domains/boshver.com/public_html/plugins/serendipity_event_staticpage/plugin_staticpage.tpl" in /home/imacin/domains/boshver.com/public_html/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
what is the problem?
Re: static page error
Posted: Wed Feb 22, 2006 4:35 pm
by garvinhicking
The problem is that the file 'plugin_staticpage.tpl' is either not existing or not readable for the webserver.
Please check if you have that file and if it is readable.
Regards,
Garvin
Posted: Thu Feb 23, 2006 5:29 am
by bigowner
i check it is in and also readable...
Posted: Thu Feb 23, 2006 11:08 am
by garvinhicking
Please check if the path is correct. The error means that Smarty cannot read that file. There must be a problem in the filesystem somewhere...
Regards,
Garvin
Posted: Tue Apr 18, 2006 11:05 am
by Hokey
Hi bigwoner!
Did you solve the problem? I have the same and no idea how to solve it.
Warning: Smarty error: unable to read resource: "file:/home/www/doc/13460/serendipity/templates/carl_green/" in /home/www/doc/13460/serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
I'm sure the path is correct. And it's repeatable by changing the theme. Then the "carl_green" changes e.g. to "default" or "plain_vanilla".
Posted: Tue Apr 18, 2006 11:45 am
by garvinhicking
Hi!
it seems your static page is missing a template association and has set it to an empty string! Check your static pagetypes, and see that a template file is given in each pagetype.
Regards,
Garvin
Posted: Tue Apr 18, 2006 12:07 pm
by Hokey
Ah thank you - I found it... "plugin_staticpage.tpl" is (maybe only one possible) answer.
Static page basics
Posted: Sat Apr 22, 2006 4:27 am
by papermoon
Is there a resource anyone can refer me to with a discussion of how to set up a static page? I would like to have a page in my blog's skin that is not based on an entry. I assume this is what is meant by "static page."
Thanks in advance.
Re: Static page basics
Posted: Sat Apr 22, 2006 9:02 pm
by garvinhicking
Papermoon: Sadly I have no direct link, but this is constantly addressed in the forums. You need the static page serendipity plugin from spartacus.s9y.org - it should be intuitive to use.
Else can you please try to search the forums? If that won't work you might want to ask again; try to not post in a thread that is mostly unrelated; create a new one instead. But only after you'Ve searched thoroughly for the keywords "how to static page"
Best regards,
Garvin
Posted: Sun Apr 23, 2006 4:27 am
by papermoon
Garvin: Thank you for this explanation. My problem was that I had been looking for the plugin among the sidebar plugins rather than the event plugins.
Now my problem is that my hosting provider is having problems and I cannot access my blog at all. Grrrrr ... I hope this won't be a frequent occurrence.
Thanks again. Your assistance is very much appreciated.