Posted on: 06/25/02 12:07am
By: Anonymous (Spyda)
Hi
I am getting a little confused with the config.php file to get my site up and running. I wondered if anyone can send me a sample config.php file with their settings so I can see what is what.
The same applies to the lib-common.php
Hope you can help
My email is karl@bedingfield.org.uk
Where's the problem?
Posted on: 06/25/02 12:18am
By: Dirk
It would help if you could be a bit more specific about what you're having trouble with.
The most importand things you need to set are:
- the database settings, especially $_DB_host, $_DB_name, $_DB_user, $_DB_pass.
- the path variables $_CONF['path'] and possibly $_CONF['path_html']
- your site's URL $_CONF['site_url']
Once you've set up these (plus the path to config.php in lib-common.php) you should be able to install and get your site up and running.
You can adjust the other settings once you've done that.
Hope that helps.
bye, Dirk
Where's the problem?
Posted on: 06/25/02 01:16am
By: Anonymous (Spyda)
Hi Dirk and thanks for replying.
Well I am not to familiar with paths. I am having trouble with how I actually put the paths down.
Below is an URL to my config file (I have taken out the password stuff for the database):
http://www.thevillagevoice.co.uk/config.txt
Its basically the server settings and the site settings. Have I done these correctly?
Hope you can help.
Regards
Karl
Path vs. URL
Posted on: 06/25/02 03:14am
By: Dirk
Anything that starts with http:// is a URL, not a path.
The only URL you need to set in config.php is $_CONF['site_url']. It should contain the URL you need to type into your browser to get to your Geeklog site.
Everything else is just a path, i.e. a series of directory names, concatenated with '/' (a slash). If you're on Windows, the path must also start with a drive letter, e.g.
C:/www/geeklog/
On Linux and other variants of Unix, it should just start with a slash:
/home/yourname/geeklog/
The exact path depends on your server's setup. In any case, it must be an absolute path, i.e. it should list all the directories from the root (top level) directory to the directory where geeklog is.
Hope that helps.
bye, Dirk
P.S. If you're still having trouble, feel free to come into IRC (server irc.openprojects.net, channel #geeklog). Things like this are often easier solved in some form of direct communication ...
Path vs. URL
Posted on: 06/25/02 04:10am
By: Anonymous (Spyda)
Hi Dirk,
Thanks for the advice. I will go to the channel soon

At the moment when I go to the /admin/install/install.php page I get a CGI error. I am indeed running this in windows NT. tHE ERROR i GET IS BELOW
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:NONE
tHANKS
Path vs. URL
Posted on: 08/20/02 03:40pm
By: Anonymous (pspoerry)
AH! I'm getting the SAME error. Did you ever figure out why>