Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 06:30 pm EST

Geeklog Forums

New install of 1.3.8-1 failing with parse error on mysql.class


Status: offline

bivigeeza

Forum User
Newbie
Registered: 11/06/03
Posts: 2
Hi to All (who may help)

New user (if I can get it installed that is) having problems with step 2 of install process.

These are the messages on screen 2:-

Parse error: parse error in /home/bivigeez/geeklog/system/databases/mysql.class.php on line 623

Fatal error: Cannot instantiate non-existent class: database in /home/bivigeez/geeklog/system/lib-database.php on line 113


Snippets of config.php are :-

// +---------------------------------------------------------------------------+
// | (1) Database Settings |
// +---------------------------------------------------------------------------+

$_DB_host = '66.246.27.66'; // host name or IP address of your DB server
$_DB_name = 'groupdb'; // 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 be Geeklog to avoid name
// collisions with other tables that may already exist in your database.
$_DB_table_prefix = 'bivigeez_'; // 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'] = '/home/bivigeez/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.bivisupplies.com';


Files have been installed as suggested in GL install pages, ie: general GL files are under the /home/bivigeez/geeklog/ dir and so on with publi_html files being under /home/bivigeez/public_html/ dir

No corruptions can be spotted in any file, used winrar to extract, then notepad to edit and ftp'd the files. All 777's have been applied.

TOTALLY STUCK NOW and need urgent assistance.

Thanks in advance to all who help Big Grin


 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
If you really have the public_html files here, /home/bivigeez/public_html/
Then you need to change $_CONF['path_html'] = $_CONF['path'] . 'public_html/';
to $_CONF['path_html'] = '/home/bivigeez/public_html/';
 Quote

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