Posted on: 11/22/04 10:45am
By: cinoz
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';
Failed n failed..
Posted on: 11/22/04 11:25am
By: ScurvyDawg
$_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
Failed n failed..
Posted on: 11/22/04 11:40am
By: cinoz
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');
Failed n failed..
Posted on: 11/22/04 12:06pm
By: machinari
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
Failed n failed..
Posted on: 11/22/04 01:10pm
By: ScurvyDawg
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';
Failed n failed..
Posted on: 11/23/04 03:54am
By: cinoz
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
Failed n failed..
Posted on: 11/23/04 04:20am
By: cinoz
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
Failed n failed..
Posted on: 11/23/04 01:24pm
By: Dirk