Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 09:54 pm EST

Geeklog Forums

Can someone confg my path files?


StevenAkaProek

Anonymous
My path to my current geeklog instaltion is /home/proek/public_html/ www.stevenakaproek.com Can someone edit the cofig file and put my paths the correct way?thanks
 Quote

Status: offline

destr0yr

Forum User
Full Member
Registered: 07/06/02
Posts: 324
And here I thought I was lazy? Geek Did you read the instructions? It does not take a rocket scientist... Since its just a matter of copy paste, here ya go... I recommend reading the manual tho and actually reading the info in config.php. $_CONF[\'path\'] = \'/home/proek/\'; // should end in a slash have phun.
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
 Quote

StevenAkaProek

Anonymous


// Note for Windows users: It\'s safe to use the forward slash \'/\' instead of
// the backslash \'\' in paths. Make sure each path starts with a drive letter!

// This should point to the directory where your config.php file resides.
$_CONF[\'path\'] = \'/home/proek/public_html/\'; // should end in a slash

// You only need to change this if you moved or renamed the public_html
// directory. In that case, you should specify the complete path to the
// directory (i.e. without the $_CONF[\'path\']) like this:
// $_CONF[\'path_html\'] = /home/proek/public_html/\';
$_CONF[\'path_html\'] = $_CONF[\'path\'] . \'/\';


is that correct?
 Quote

Status: offline

emagin

Forum User
Regular Poster
Registered: 08/05/03
Posts: 92
caffeinated
I feel your pain. It's not clear from the comments what to do for windows. This is after all a *nix world, so we have to adapt a bit.
I feel a Windows Install FAQ coming...anyone?

For windows you need a HARD PATH to your Geeklog directory like this:

[Notice, all paths have FORWARD SLASH, not usual backward slash) ------------------------------------------------------- (In your lib-common.php file you need this) require_once( 'd:/geeklog/config.php' ); ------------------------------------------------------- (In your config.php file you need this under Section 2) $_CONF['path'] = 'd:/geeklog/'; // should end in a slash

(Section 3 needs this)
$_CONF['site_url'] = 'http://yourdomain_that_points_to_geeklog.com';

(Section 1 make sure your MySQL database is set up on LOCALHOST)
$_DB_host = 'localhost'; // host name or IP address of your DB server
$_DB_name = 'geeklog'; // name of your database,
// must exist before running the installer!
$_DB_user = 'yourusername'; // MySQL user name
$_DB_pass = 'yourpassword'; // MySQL password
 Quote

StevenAkaProek

Anonymous
I\'am not using windows
 Quote

Status: offline

destr0yr

Forum User
Full Member
Registered: 07/06/02
Posts: 324
Is that what i wrote? Lets try this again in english... $_CONF[\'path\'] = \'/home/proek/\'; // should end in a slash do us a favour and tell us where your config.php file is?! OR, if you could (from shell) run \"vi /home/proek/config.php\" (without the quotes), if this loads the config.php, obviously it exists in the /home/proek/ directory, and therefore, according to the instructions, the CONF[\'path\'] is where your config.php should be! ... Geek *goes and takes another celexa and lithium*
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
 Quote

All times are EST. The time is now 09:54 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