Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 05:34 pm EST
Geeklog Forums
Fatal error on line 117 :(
booeyschewy
Anonymous
I have been tweaking and tweaking with the pathways and get this:
Fatal error: Cannot instantiate non-existent class: database in /home/.ellery/booeyschewy/stumptownworker.com/geeklog/system/lib-database.php on line 117
The install docs say that I must have a corrupted lib file. I unpacked the tarball with winrar and only edited with windows notepad, to no avail. Any ideas?
Fatal error: Cannot instantiate non-existent class: database in /home/.ellery/booeyschewy/stumptownworker.com/geeklog/system/lib-database.php on line 117
The install docs say that I must have a corrupted lib file. I unpacked the tarball with winrar and only edited with windows notepad, to no avail. Any ideas?
6
10
Quote
Status: offline
knuff
Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Hi,
Did you do a search here on the forum ?
One quick quote from Dirk from a previous post:
So if you get a parse error in e.g. lib-common.php please add that line too.
Makes life easier in assisting.
Best Regards,
Boris
Vanrillaer.com - our Family Portal
Did you do a search here on the forum ?
One quick quote from Dirk from a previous post:
Quote by Dirk: Is that the first error message you get? It's usually preceded by another one, e.g. a parse error or a "file not found" message.
Since I have to guess, I'd say it's either a path problem (double-check your paths) or you changed the $_DB_dbms variable (which you shouldn't).
Since I have to guess, I'd say it's either a path problem (double-check your paths) or you changed the $_DB_dbms variable (which you shouldn't).
So if you get a parse error in e.g. lib-common.php please add that line too.
Makes life easier in assisting.
Best Regards,
Boris
Vanrillaer.com - our Family Portal
6
7
Quote
booeyschewy
Anonymous
Thats the only error I get. I did search, I will try again
5
8
Quote
booeyschewy
Anonymous
Looks like it might be that I have a url, rather than a drive letter in my config file? What would the drive be given that it is on a server and not my computer, sorry if that is clueless.
I have tried changing the CONF pathhtml section to no avail. I am stumpted.
my config file
+---------------------------------------------------------------------------+
// | (1) Database Settings |
// +---------------------------------------------------------------------------+
$_DB_host = 'mysql.mysite.com'; // host name or IP address of your DB server
$_DB_name = 'mysite'; // name of your database,
// must exist before running the installer!
$_DB_user = 'myname'; // MySQL user name
$_DB_pass = 'mypwd'; // 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'] = 'http://mysite.com/geeklog/'; // 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/';
// +---------------------------------------------------------------------------+
// | (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.mysite/geeklog';
// 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'] = 'my email';
// Name and slogan of your site
$_CONF['site_name'] = 'mysite';
$_CONF['site_slogan'] = 'stuff';
//
On my lib_common file I tried a lot of stuff.
require_once( '/geeklog/config.php' )
I also tried '/home/.ellery/myusername/mysite/geeklog'
I have tried changing the CONF pathhtml section to no avail. I am stumpted.
my config file
+---------------------------------------------------------------------------+
// | (1) Database Settings |
// +---------------------------------------------------------------------------+
$_DB_host = 'mysql.mysite.com'; // host name or IP address of your DB server
$_DB_name = 'mysite'; // name of your database,
// must exist before running the installer!
$_DB_user = 'myname'; // MySQL user name
$_DB_pass = 'mypwd'; // 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'] = 'http://mysite.com/geeklog/'; // 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/';
// +---------------------------------------------------------------------------+
// | (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.mysite/geeklog';
// 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'] = 'my email';
// Name and slogan of your site
$_CONF['site_name'] = 'mysite';
$_CONF['site_slogan'] = 'stuff';
//
On my lib_common file I tried a lot of stuff.
require_once( '/geeklog/config.php' )
I also tried '/home/.ellery/myusername/mysite/geeklog'
6
5
Quote
booeyschewy
Anonymous
I added that line as such (I also added it without the additional slashes, but then tried that as a second go)
error_reporting( E_ERROR
| E_WARNING | E_PARSE | E_COMPILE_ERROR );//
ini_set
('display_errors', '1')
//**
*
Nothing new happened.
error_reporting( E_ERROR
| E_WARNING | E_PARSE | E_COMPILE_ERROR );//
ini_set
('display_errors', '1')
//**
*
Nothing new happened.
5
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by booeyschewy: // This should point to the directory where your config.php file resides.
$_CONF['path'] = 'http://mysite.com/geeklog/'; // should end in a slash
$_CONF['path'] = 'http://mysite.com/geeklog/'; // should end in a slash
This should be a path (obviously), not a URL.
bye, Dirk
5
6
Quote
booeyschewy
Anonymous
Cool, dealt with that. Man I feel like a moron now.
Now I am at step 2 and it told me that the it couldn't find the admin/install/success.php file, I went back and then to next again and it tells me
1050: Table 'gl_access' already exists
Now I am at step 2 and it told me that the it couldn't find the admin/install/success.php file, I went back and then to next again and it tells me
1050: Table 'gl_access' already exists
7
7
Quote
booeyschewy
Anonymous
Thanks for the help and stuff! Sorry I am botching things.
5
7
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
booeyschewy
Anonymous
I figured out that it was probably my $_CONF['site_url'] as it wasn't pointing to public_html, but then changed it and keep getting the same gl database already created message
6
6
Quote
booeyschewy
Anonymous
I figured it out and got it. I had a bad path in lib-common.
THANKS!!!!
6
6
Quote
All times are EST. The time is now 05:34 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