Welcome to Geeklog, Anonymous Monday, October 03 2022 @ 01:30 pm EDT

Geeklog Forums

Cannot instantiate non-existent class:


RJPVD

Anonymous
brainy
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
 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
 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(Cool NOT NULL default '0', acc_grp_id me' at line 1

??
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
That '-_geeklogaccess' bit looks odd. Did you change the $_DB_table_prefix - and if so, to what?

bye, Dirk
 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_'

 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
 Quote

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