Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 09:38 am EST

Geeklog Forums

lib-common line 69


Status: offline

Ninj0r

Forum User
Newbie
Registered: 04/01/04
Posts: 3
Hi,

I am trying to install Geeklog 1.3.9 on 3x.ro hosting and I'm having problems with installing the webportal, I am having a problem with the config.php and lib-common.php files.

Config.php setup:

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

$_DB_host = 'localhost'; // host name or IP address of your DB server
$_DB_name = 'thrashzone'; // name of your database,
// must exist before running the installer!
$_DB_user = 'thrashzone'; // MySQL user name
$_DB_pass = 'xxxxxxxxx'; // 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 = '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'] = '/public_html/admin/config.php/'; // 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/';


Lib-common.php setup:

/**
* Configuration Include: You should ONLY have to modify this line.
* Leave the rest of this file intact!
*
* Make sure to include the name of the config file,
* i.e. the path should end in .../config.php
*/

require_once( 'geeklog/public_html/admin/config.php' );



This is the error:

Warning: main(geeklog/public_html/admin/config.php): failed to open stream: No such file or directory in /home/hosting/thrashzone/public_html/lib-common.php on line 69

Fatal error: main(): Failed opening required 'geeklog/public_html/admin/config.php' (include_path='.:/home/hosting/www/footer') in /home/hosting/thrashzone/public_html/lib-common.php on line 69



If anyone could give some pointers it'd be of great help.

I have looked on the forums and in the FaQs but to no avail, could someone explain it to me with an example, I'm to stupid to understand any other way.

Thank you very much,
Nick.
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
Your paths are way off.

Try these (make sure you look at them and understand them instead of merely using them)

in config.php:
$_CONF['path'] = '/home/hosting/thrashzone/';

in lib-common:
require_once( '/home/hosting/thrashzone/config.php' );

This is assuming you just took all of the geeklog files and directories and dumped them into /home/hosting/thrashzone/
 Quote

Status: offline

Ninj0r

Forum User
Newbie
Registered: 04/01/04
Posts: 3
Thank you very much Turias. I shall give that at try.
 Quote

Status: offline

Ninj0r

Forum User
Newbie
Registered: 04/01/04
Posts: 3
I have just made the changes you have suggested Turias, but I am still getting the same errors.

Any other ideas?

Thanks in advance,

Nick.
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
Well, if those aren't the correct paths, then you probably moved something somewhere instead of placing everything in /home/hosting/thrashzone/.

Without having shell access to your server, I can not just guess your paths for you. Can't you figure out the two directories where your config.php file and index.php file are located?
 Quote

Status: offline

delphic

Forum User
Newbie
Registered: 04/02/04
Posts: 1
I had similar problems,
In the previous step, where did geeklog locate config.php ?

my solution was in config.php:
$_CONF['path'] = 'username/home/.../';
 Quote

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