Posted on: 04/01/04 11:09am
By: Ninj0r
Hi,
I am trying to install Geeklog 1.3.9 on
3x.ro[*1] 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.
lib-common line 69
Posted on: 04/01/04 11:40am
By: Turias
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/
lib-common line 69
Posted on: 04/01/04 12:04pm
By: Ninj0r
Thank you very much Turias. I shall give that at try.
lib-common line 69
Posted on: 04/01/04 12:30pm
By: Ninj0r
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.
lib-common line 69
Posted on: 04/01/04 12:43pm
By: Turias
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?
lib-common line 69
Posted on: 04/02/04 06:22pm
By: delphic
I had similar problems,
In the previous step, where did geeklog locate config.php ?
my solution was in config.php:
$_CONF['path'] = 'username/home/.../';