Welcome to Geeklog, Anonymous Saturday, October 01 2022 @ 11:20 pm EDT

Geeklog Forums

Failed n failed..


Status: offline

cinoz

Forum User
Chatty
Registered: 09/07/04
Posts: 61
Fatal error: Cannot instantiate non-existent class: database in /home/www/cinoz.freeprohost.com/system/lib-database.php on line 113

guys.. i got this problem.. i read the problem that might related to this at the installation doc. but, when i did all the unpack thing, replace new lib-comon.. it still have the same error.. i'm blank.. can suggest me anything?.. anything that might help me out..

this is wat in my config.php

$_DB_host = 'freeprohost.com'; // host name or IP address of your DB server
$_DB_name = 'cinoz_geeklog'; // name of your database,
// must exist before running the installer!
$_DB_user = 'cinoz_geeklog'; // MySQL user name
$_DB_pass = 'mysecretpassword'; // 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 = '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'] = 'http://cinoz.freeprohost.com/'; // 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'] = 'http://cinoz.freeprohost.com/';
$_CONF['path_html'] = $_CONF['path'] . '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://cinoz.freeprohost.com/public_html';

// 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'] . '/admin';

// This is the return address for all email sent by Geeklog:
$_CONF['site_mail'] = 'admin@example.com';

// Name and slogan of your site
$_CONF['site_name'] = 'Geeklog Site';
$_CONF['site_slogan'] = 'Another Nifty Geeklog Site';
 Quote

Status: offline

ScurvyDawg

Forum User
Full Member
Registered: 11/06/02
Posts: 523
$_DB_host = 'freeprohost.com'; // host name or IP address of your DB server

Should probably be

$_DB_host = 'localhost'; // host name or IP address of your DB server
 Quote

Status: offline

cinoz

Forum User
Chatty
Registered: 09/07/04
Posts: 61
still not workin

seems. the problem cames from here...

// Instantiate the database object
$_DB = new database($_DB_host,$_DB_name,$_DB_user,$_DB_pass,'COM_errorLog');
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
your paths should be paths not URL's...

you have:
$_CONF['path'] = 'http://cinoz.freeprohost.com/'; // should end in a slash

but should be something like:
$_CONF['path'] = '/home/var/site45/geeklog/'; // should end in a slash
 Quote

Status: offline

ScurvyDawg

Forum User
Full Member
Registered: 11/06/02
Posts: 523
This is wrong too
// 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://cinoz.freeprohost.com/public_html';

Should be

// 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://cinoz.freeprohost.com';
 Quote

Status: offline

cinoz

Forum User
Chatty
Registered: 09/07/04
Posts: 61
ok.. got it.. but after i push next.. they come to an log in page for the website.. but, i saw the database is installed 110kb.. after that.. i try to open my site.. it shows this..

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

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

Status: offline

cinoz

Forum User
Chatty
Registered: 09/07/04
Posts: 61
ok guys.. got it.. some path problems in lib-common.. but.. i got this problem where my images won''t come out.. u guys can help check it out.. at..

http://cinoz.freeprohost.com/public_html/

ty
 Quote

Status: offline

Dirk

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

All times are EDT. The time is now 11:20 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