Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 09:10 pm EST

Geeklog Forums

Copied from my config.php file


rb44

Anonymous
Here's what I have in my config.php file and I'll also put in what's in the lib-common.php file.


// When setting up Geeklog for the first time, you need to make sure the
// settings in the following 3 sections are correct:
// (1) Database Settings
// (2) Paths
// (3) Site Settings
// You can adjust the other settings once your site is up and running.

// +---------------------------------------------------------------------------+
// | (1) Database Settings |
// +---------------------------------------------------------------------------+

$_DB_host = 'localhost'; // host name or IP address of your DB server
$_DB_name = 'dollarda_blog'; // name of your database,
// must exist before running the installer!
$_DB_user = 'dollarda_admin'; // MySQL user name
$_DB_pass = '2170mc'; // MySQL password

// The table prefix is prepended to each table used by Geeklog to avoid name
// collisions with other tables that may already exist in your database.
$_DB_table_prefix = 'gl_'; // e.g. 'gl_'


// +---------------------------------------------------------------------------+
// | (2) Paths |
// +---------------------------------------------------------------------------+

// 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/dollarda/public_html/blog/'; // 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'] = '/path/to/your/public_html/';
$_CONF['path_html'] = $_CONF['path'] . 'home/dollarda/public_html/';


// +---------------------------------------------------------------------------+
// | (3) Site Settings |
// +---------------------------------------------------------------------------+

// Make sure this is the correct URL to your site, i.e. to where Geeklog's
// index.php file resides (no trailing slash).
$_CONF['site_url'] = 'http://www.example.com';

// Some hosting services have a preconfigured admin directory. In that case,
// you need to rename Geeklog's admin directory to something like "myadmin"
// and change the following URL as well. Leave as is until you experience any
// problems accessing Geeklog's admin menu.
$_CONF['site_admin_url'] = $_CONF['site_url'] . '/blog/admin';

// This is the return address for all email sent by Geeklog and contact info
// displayed in syndication feeds:
$_CONF['site_mail'] = 'heartuvgold@gmail.com';

// Name and slogan of your site
$_CONF['site_name'] = 'Dollarday Hits Blog';
$_CONF['site_slogan'] = 'Earn Money With Your Own Blog';
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: rb44

// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/home/dollarda/public_html/blog/'; // 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'] = '/path/to/your/public_html/';
$_CONF['path_html'] = $_CONF['path'] . 'home/dollarda/public_html/';



This (the last quoted line) is wrong. Did you read the comments above it?

You will end up with $_CONF['path_html'] = '/home/dollarda/public_html/blog/home/dollarda/public_html/';

The '.' concatenates the value of $_CONF['path'] with what follows.

bye, Dirk
 Quote

rb44

Anonymous
Dirk I put the contents of the public_html folder from the script into the /blog folder.

Does this make sense to you?

I didn't want to have public_html in my url.

 Quote

rb44

Anonymous
Quote by: rb44

Dirk I put the contents of the public_html folder from the script into the /blog folder.

Does this make sense to you?

I didn't want to have public_html in my url.



MY public_html folder is at /home/dollarda/public_html
The geeklog public_html folder is /home/dollarda/public_html/blog
 Quote

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