static page error

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
bigowner
Regular
Posts: 21
Joined: Wed Feb 08, 2006 1:49 am
Location: Türkiye
Contact:

static page error

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: static page error

Post 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
# 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/
bigowner
Regular
Posts: 21
Joined: Wed Feb 08, 2006 1:49 am
Location: Türkiye
Contact:

Post by bigowner »

i check it is in and also readable...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

Post 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".
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

Post by Hokey »

Ah thank you - I found it... "plugin_staticpage.tpl" is (maybe only one possible) answer.
papermoon
Regular
Posts: 9
Joined: Sat Apr 22, 2006 3:56 am

Static page basics

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Static page basics

Post 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
# 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/
papermoon
Regular
Posts: 9
Joined: Sat Apr 22, 2006 3:56 am

Post 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.
Post Reply