Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 10:00 pm EST

Geeklog Forums

installion fatal error


Status: offline

blazinfury

Forum User
Newbie
Registered: 09/23/05
Posts: 5
Location:Earth
confused
Received error:

Fatal error: Cannot instantiate non-existent class: database in /home/content/c/h/e/chewbizkit/html/scripts/Geeklog/system/lib-database.php on line 117

I dunno what happened....

I installed all the "/public_html/" files in the public folder so it'll goto my geeklog at

http://www.crimsonangels.net/

in otherwords ("http://www.crimsonangels.net/" = "/public_html/")

also on my server "/home/content/c/h/e/chewbizkit/html/" is the same as "http://www.crimsonangelsl.net/" it's the server side version of the site thats how my hosting company does it.

All the other files I created a folder called "/scripts/Geeklog/" and they were uploaded there.

I edited the "config.php" for the following:

$_DB_host = 'https://mysqladmin.secureserver.net/26/';
$_DB_name = 'CrimsonGeek';
$_DB_user = 'not posting info';
$_DB_pass = 'not posting info';

$_CONF ['path'] = 'http://www.crimsonangels.net/scripts/Geeklog/';
$_CONF['path_html'] = 'http://www.crimsonangels.net';

$_CONF['site_url'] = 'http://www.crimsonangels.net';
$_CONF['site_admin_url'] = $_CONF['http://www.crimsonangels.net'] . '/admin';

$_CONF['site_mail'] = 'admin@crimsonangels.net';
$_CONF['site_name'] = 'Crimson Angels.net';
$_CONF['site_slogan'] = 'Sig Designs & Concepts';

also edited the "lib-common.php" file for

require_once( 'http://www.crimsonangels.net/scripts/Geeklog/config.php' );

any ideas as to where i went wrong?
CrimsonAngels.net - For Sig Designs & Concepts!
 Quote

Status: offline

vadertech

Forum User
Full Member
Registered: 05/26/03
Posts: 329
Hi and welcome to GeekLog. If you had simply done a search in the box above you could have already been home Dorothy. (Click Click)

Try searching for "Cannot instantiate non-existent class: database"

Let us know if you fix it and what the problem was.
GeekLog Hosting, Installations and Upgrades - WWW.AWEHOST.COM - Hosting starts @ only $4.95/mo.
 Quote

Status: offline

blazinfury

Forum User
Newbie
Registered: 09/23/05
Posts: 5
Location:Earth
Well I got a lil further along.....

because or the weird way my hosting server is I have to change everywhere I put

"http://www.crimsonangels.net/"

to

"/home/content/c/h/e/chewbizkit/html/"

so like

require_once( 'http://www.crimsonangels.net/scripts/Geeklog/config.php' );

would be

require_once( '/home/content/c/h/e/chewbizkit/html/scripts/Geeklog/config.php' );

but now I'm getting a different error....

Warning: mysql_connect(): Unknown MySQL Server Host 'https' (0) in /home/content/c/h/e/chewbizkit/html/scripts/Geeklog/system/databases/mysql.class.php on line 112
Cannnot connect to DB server

but it's prolly because I need to call the hosting people and get a direct path to MySQL we'll see and I'll let you all know.
CrimsonAngels.net - For Sig Designs & Concepts!
 Quote

Status: offline

vadertech

Forum User
Full Member
Registered: 05/26/03
Posts: 329
Quote by blazinfury:
require_once( '/home/content/c/h/e/chewbizkit/html/scripts/Geeklog/config.php' );

That's how it should be.


I know your problem my little Dorothy.

Change $_DB_host = 'https://mysqladmin.secureserver.net/26/';

to $_DB_host = 'localhost';
GeekLog Hosting, Installations and Upgrades - WWW.AWEHOST.COM - Hosting starts @ only $4.95/mo.
 Quote

Status: offline

blazinfury

Forum User
Newbie
Registered: 09/23/05
Posts: 5
Location:Earth
Quote by vadertech:
That's how it should be.


I know your problem my little Dorothy.

Change $_DB_host = 'https://mysqladmin.secureserver.net/26/';

to $_DB_host = 'localhost';


Good try and I did fix my problems....the final problem was

Change $_DB_host = 'https://mysqladmin.secureserver.net/26/';

to $_DB_host = 'mysql49.secureserver.net';

not localhost...this is how my hosting company has set up our mySQL databases access for PHP sites.

CrimsonAngels.net - For Sig Designs & Concepts!
 Quote

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