Page 2 of 2

Posted: Mon Oct 24, 2005 3:57 pm
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

Smarty Error

Posted: Thu Nov 03, 2005 9:55 pm
by Guest
Please try this :
Change the value of "templatePath" in "serendipity_config" table to
"templates_c/" (without the quotes)

Re: Smarty Error

Posted: Thu Nov 03, 2005 10:10 pm
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

Re: Smarty Error

Posted: Fri Nov 04, 2005 11:18 am
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

Home page error

Posted: Mon Nov 21, 2005 5:58 pm
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

Re: Home page error

Posted: Mon Nov 21, 2005 7:27 pm
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