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

Having trouble installing serendipity?
Post Reply
alltag
Regular
Posts: 8
Joined: Sat Oct 10, 2009 12:08 pm

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

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

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

Post 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
# 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