Moved into sub folder - now what?

Having trouble installing serendipity?
Post Reply
ShorePatrol
Regular
Posts: 11
Joined: Wed Aug 17, 2016 3:28 pm

Moved into sub folder - now what?

Post by ShorePatrol »

Hi All!
I previously had Serendipity installed on the root of my site - worked fine with a template installed.
I decided to move the entire thing into the "blog" folder. So it would be located at http://www.mysite.com/blog/

I obviously moved all the files into the blog folder, and I referenced this page:
https://docs.s9y.org/docs/faq/ (How can I move an existing Serendipity installation to a different place (server or path)?)

If I go to the site now, I get:
403 - Forbidden Error

If I go to the admin page. I get:
Fatal error: Uncaught --> Smarty: Unable to load template file 'admin/index.tpl' <-- thrown in /home/site57/public_html/mysite.com/blog/bundled-libs/Smarty/libs/sysplugins/smarty_internal_template.php on line 219

I know the FAQ say to check permissions, and paths in the htaccess files....but here are my questions:

1) There are only two "path" looking things in the htaccess file:
#RewriteCond %{REQUEST_URI} !^/mysite.com/blog/ (I added the blog/ part)
and
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} (I didn't know what to change with this)

2) How can I "reset" all the permissions on the files? The FAQ say to allow writing "by the server" but the only options I have are:

READ/WRITE/EXECUTE for USER/GROUP/WORLD (what equals "server")?

Any help greatly appreciated!
ShorePatrol
Regular
Posts: 11
Joined: Wed Aug 17, 2016 3:28 pm

Re: Moved into sub folder - now what?

Post by ShorePatrol »

Solved -

I ended up moving the files back to the root - and then access the PATHS config and update it. Then move all the files back to the blog folder with the except of the two files it created in the new folder....

I think the FAQ are wrong - if you move the files first, you are now able to access the admin login page to change the paths....
zarzanola
Regular
Posts: 15
Joined: Mon Jul 03, 2017 10:34 am

Re: Moved into sub folder - now what?

Post by zarzanola »

Damn just saw this, would have loved to help. I'm glad you solve it yourself:)
Post Reply