Page 1 of 1

Smarty error: unable to read resource: "admin/index.tpl"

Posted: Tue Oct 20, 2009 1:55 pm
by alltag
Trial and error, error won... I was hoping I could use the paths configuration to use mod_rewrite to change the browser path from the /serendipity directory to root, that is from http://www.domain.com/serendipity/ to http://www.domain.com/. Evidently, this doesn't work.
1) How can I set the paths back to serendipity/ ? I can't access the admin page any more due to the Smarty error.
2) Is this even possible within Serendipity or do I have to install in the root directory?

Re: Smarty error: unable to read resource: "admin/index.tpl"

Posted: Tue Oct 20, 2009 3:06 pm
by garvinhicking
Hi!

Hm, once the access fails, the next login to the admin interace should not use the smarty tags. Have you tried reloading the page?

To fix it otherwise would be that you need to check the serendipity_config database table and adjust the serendipityPath variable.

To make serendipity reside in the root directory, it needs to be installed in the root directory, right. All other variants have drawbacks, and all hacks to surround that with wrapping or URL rewriting have side-effects.

Regards,
Garvin