Status: offline

brlmedia

Forum User
Newbie
Registered: 10/27/04
Posts: 4
hi all, bear with me here, trying my first geeklog install, seems i have a problem with my mysql database settings, if someone could point out what i'm doing wrong.

my path to the config.php file seems right: /home/brlmedia/public_html/gl/config.php

now step 2 of install gives me this error:
Warning: mysql_connect(): Access denied for user: 'geek@localhost' (Using password: YES) in /home/brlmedia/public_html/gl/system/databases/mysql.class.php on line 108
Cannnot connect to DB server

my sql database i created for this install is
database name: brlmedia_geek
database username: brlmedia_geek
password: ****

my config.php file looks like this:
$_DB_host = 'localhost'; // host name or IP address of your DB server
$_DB_name = 'geek'; // name of your database,
// must exist before running the installer!
$_DB_user = 'geek'; // MySQL user name
$_DB_pass = '****'; // MySQL password

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


i think i have a wrong path?? any help would be appreciated.
thanks@
brad

Status: offline

zipstart

Forum User
Chatty
Registered: 09/13/04
Posts: 60
Change to the following....

Text Formatted Code
$_DB_name = 'brlmedia_geek'; // name of your database,
// must exist before running the installer!
$_DB_user = 'brlmedia_geek'; // MySQL user name

 


The prefix is added to your table names, not your database name. I'd change your prefix to something shorter than 'brlmedia'...makes using MySQL much easier

Status: offline

brlmedia

Forum User
Newbie
Registered: 10/27/04
Posts: 4
thanks for repyling, i have done that change, and ran the installer again and have this error:

Warning: main(classes/timer.class.php): failed to open stream: No such file or directory in /home/brlmedia/public_html/gl/lib-common.php on line 114

Fatal error: main(): Failed opening required 'classes/timer.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/brlmedia/public_html/gl/lib-common.php on line 114


heres my file now, it seems ok:
$_DB_host = 'localhost'; // host name or IP address of your DB server
$_DB_name = 'brlmedia_geek'; // name of your database,
// must exist before running the installer!
$_DB_user = 'brlmedia_geek'; // MySQL user name

so i don't know why i have the above error, any help?
thanks again.

Status: offline

zipstart

Forum User
Chatty
Registered: 09/13/04
Posts: 60
Your $_CONF['path_system'] setting in config.php is probably wrong. Either that or the timer.class.php file isn't where it's supposed to be.

Status: offline

brlmedia

Forum User
Newbie
Registered: 10/27/04
Posts: 4
thanks again, here is the lines:
(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/brlmedia/public_html/gl/'; // 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'] . 'public_html/';

the path i typed in is correct, as the installer went from step one to step 2? again forgive me for my errors, so if the above is correct where should that other file (timer.class.php file ) be?

thanks!

Status: offline

zipstart

Forum User
Chatty
Registered: 09/13/04
Posts: 60
Two things....

Your config.php file shouldn't be in your public_html tree, it should be in a directory at the same level (or below) your public_html or www directory. Check where you actually have it.

Your HTML path is wrong. It looks like it should be:

$_CONF['path_html'] = '/home/brlmedia/public_html/gl/';

Status: offline

brlmedia

Forum User
Newbie
Registered: 10/27/04
Posts: 4
thanks again, i'm learning, will try a few things

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
May I also point out that the installation instructions have a section listing common problems where you could have found your first 2 errors easily ...

bye, Dirk

Status: offline

JohnVanVliet

Forum User
Full Member
Registered: 10/09/03
Posts: 161
hi dirk how about putting a big red boutton link to the faq in the header.thtml