Can anyone enumerate all the directories that Geeklog needs write access in the directory tree?
Geeklog 1.3.5sr1 seems to be running on
Agnostic Martyr but I had quite a bit of trouble setting it up. This is a a web hosting environment, without shell access, so I can't do the chown steps in the INSTALL. Thankfully, I can set permissions, so I've been setting permissions to 777 (yikes) for directories as I run into write access problems, but this is not a good way to solve the problem as I'll have to exercise all the features of Geeklog to test the install.
That has been my biggest problem, but here's a list of problems I ran into trying to install.
- Downloaded 1.3.5sr1, and opened up index.html in the docs directory. The link entitled "How to install Geeklog" is missing as it references a non-existent INSTALL.html. After doing a search on sourceforge, found out that I should be reading INSTALL in the top level directory. Can someone at least fix the link in the documentation?
- Couldn't unpack the tar-ball in the target directory, because of the web hosting environment absence of a shell. So I FTPed the whole thing into place.
- Ran into the chown problem. I can't do chown's, and I don't know the userid for the web server even if I could do chown's.
- Tried to do the equivalent of the chmod's, but neither the logs or the public_html/backend directories exist. So I created the directories, then changed the permissions to 755. Unfortunately, this turned out to be insufficient because of the inability to do the chown's.
- Edited config.php and lib-common.php, but they want full paths. I didn't know the full path to the installation because of the web hosting environment. It is displayed in the first error message, but I didn't know this yet and almost gave up on Geeklog at this point.
- Brought up install.php, and ran into the absolute path problems, which I fixed now that I knew the path displayed in the errors.
- Install worked okay, then I brought up the site and ran into problems writing to the log directory. Did a chmod 777 on logs which 'fixed' the problem but could have significant security implications.
- Once this was fixed, I ran into the same permission problem writing backend/geeklog.rdf, which is now 777'ed.
- Created an account, and tried to post a photo and got a message that it couldn't write to images/userphotos. So I created the directory (it didn't exist) and chmod'ed it to 777. The account profile then worked.
- Tried to access the site via direct link and got my default index.html page. There is no documentation telling how to make Geeklog the default page. I know this seems trivial, but I had an index.html file which the web server picked up instead of the index.php file. So I deleted index.html and now Geeklog is the default page on the site! yay!
I love Geeklog so far, but this version is not designed for a web hosting environment without shell access. Thanks in advance for any help.
Jerry