Smarty errors on Comments

Having trouble installing serendipity?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

That is just strange -- I can now only offer you to look at it, if you can give me (temporary) FTP access to your blog. Then I could debug what is going on exactly.

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/
Guest

Smarty Error

Post by Guest »

Please try this :
Change the value of "templatePath" in "serendipity_config" table to
"templates_c/" (without the quotes)
piyush
Posts: 1
Joined: Thu Nov 03, 2005 10:01 pm
Location: India
Contact:

Re: Smarty Error

Post by piyush »

I posted this :
Anonymous wrote:Please try this :
Change the value of "templatePath" in "serendipity_config" table to
"templates_c/" (without the quotes)
would like to add: Garvin please fix this bug in installation process it looks for templates_c where as the directory supplied is templates and the database path entry is also templates/ please make it uniform.
Piyush
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Smarty Error

Post by garvinhicking »

Uhm, the value of the templatePath directory is dependant on what the user entered in the installation process.

By default, this DOES contain "templates_c/". If it later only contains "templates_c" this means that the user who installed serendipity changed this value.

There's not so much we can do about that - we specifically ask for trailing slashes, and since there are some configurations where trailing slashes can be ommitted, we cannot add a check that always adds a "/" at the end no matter what the user types.

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/
oregonbob

Home page error

Post by oregonbob »

Hi,

I have been reading though this thread and have attempted to try all solutions suggested and none of them have worked. When first trying to install Serendipity, it came up with an error saying that templates_c was not writable. I looked in the serendipity directory and it had a templates directory, but not templates_c. I then created the templates_c directory giving it the correct permissions, etc. but I too am having the same error ...
Warning: Smarty error: unable to read resource: "SYS:/Apache2/htdocs/blog/(templates or templates_c)/(any style template)/index.tpl" in SYS:/Apache2/htdocs/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1088

Hopefully this can help? Anyway off to read more threads
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Home page error

Post by garvinhicking »

Hm, try to supply non-windows Path settings for your directories (use /Apache/... instead of C:/Apache/...)?

This definitely means that Smarty cannot read the specified directory because of permission or OS conflicts.

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