Welcome to Geeklog, Anonymous Tuesday, November 26 2024 @ 10:47 pm EST

Geeklog Forums

Is there anyone who can send me a sample config file?


Spyda

Anonymous
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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Spyda

Anonymous
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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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 ...
 Quote

Spyda

Anonymous
Hi Dirk, Thanks for the advice. I will go to the channel soonSmile 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
 Quote

pspoerry

Anonymous
AH! I'm getting the SAME error. Did you ever figure out why>
 Quote

All times are EST. The time is now 10:47 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content