Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 08:34 am EST
Geeklog Forums
Cannot instantiate non-existent class:
RJPVD
Anonymous
I get this message when i try to get to step 2:
Cannot instantiate non-existent class: database in /var/www/html/airsoft/system/lib-database.php on line 120
please help, im a noob with this.. i followed the instruction.
Richard
Cannot instantiate non-existent class: database in /var/www/html/airsoft/system/lib-database.php on line 120
please help, im a noob with this.. i followed the instruction.
Richard
14
24
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Is this the first error message you get? If you get more than one error message, always start with the first one.
Also double-check your path settings in config.php, specifically $_CONF['path'].
bye, Dirk
Also double-check your path settings in config.php, specifically $_CONF['path'].
bye, Dirk
8
13
Quote
RJPVD
Anonymous
thanks works.. problem solved.
new problem presented itself..:
1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-_geeklogaccess ( acc_ft_id mediumint( NOT NULL default '0', acc_grp_id me' at line 1
??
new problem presented itself..:
1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-_geeklogaccess ( acc_ft_id mediumint( NOT NULL default '0', acc_grp_id me' at line 1
??
9
12
Quote
RJPVD
Anonymous
Not that im aware of..
here my db part of config.php
// +---------------------------------------------------------------------------+
// | (1) Database Settings |
// +---------------------------------------------------------------------------+
$_DB_host = 'localhost'; // host name or IP address of your DB server
$_DB_name = 'meind_nl_-_geeklog'; // name of your database,
// must exist before running the installer!
$_DB_user = 'username'; // MySQL user name
$_DB_pass = 'password'; // 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 = 'meind_nl_-_geeklog'; // e.g. 'gl_'
here my db part of config.php
// +---------------------------------------------------------------------------+
// | (1) Database Settings |
// +---------------------------------------------------------------------------+
$_DB_host = 'localhost'; // host name or IP address of your DB server
$_DB_name = 'meind_nl_-_geeklog'; // name of your database,
// must exist before running the installer!
$_DB_user = 'username'; // MySQL user name
$_DB_pass = 'password'; // 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 = 'meind_nl_-_geeklog'; // e.g. 'gl_'
14
10
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by RJPVD: $_DB_table_prefix = 'meind_nl_-_geeklog'; // e.g. 'gl_'
Erm, but you did change it ...
This is meant to be used as a prefix, i.e. a part of the table name. Not sure what you entered there, but it looks suspiciously long and I'm not sure if the '-' character is even allowed there.
Why not leave it at "gl_"? This is added before all table names used by Geeklog to prevent any possible name clashes with existing tables in the same database. So if, for example, some other table named "access" already exists (for some other software), Geeklog's table would be named "gl_access". That's what this option is for, nothing more.
bye, Dirk
12
13
Quote
All times are EST. The time is now 08:34 am.
- 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