Welcome to Geeklog, Anonymous Saturday, February 08 2025 @ 01:24 pm EST
Geeklog Forums
Install Help Please
Status: offline
greyfox
Forum User
Newbie
Registered: 01/01/04
Posts: 4
Hello all,
Ok, I've searched the forum for hours, and read the installation guide over and over, but I'm still having problems:
I've setup the config, but I can't get to step two.
I get the following errror:
"Fatal error: Failed opening required 'system/databases/mysql.class.php' (include_path='.:/usr/share/pear') in /var/www/html/clan/system/lib-database.php on line 110"
I have read & tried this but I still have problems:
http://www.geeklog.net/docs/install.html#failed-to-open
According to step one:
The complete path to this file is /var/www/html/clan/public_html/admin/install/install.php
and it appears your Path to Geeklog is /var/www/html/clan
So for $_CONF, i have the following: (and I also did CHMOD 777 the appropriate files/folders)
$_CONF['/var/www/html/clan/public_html/'] = $_CONF['path'] . 'public_html/';
Am I supposed to edit the line after the "=" for $_CONF or before?
What am I doing wrong?
Thanks.
Ok, I've searched the forum for hours, and read the installation guide over and over, but I'm still having problems:
I've setup the config, but I can't get to step two.
I get the following errror:
"Fatal error: Failed opening required 'system/databases/mysql.class.php' (include_path='.:/usr/share/pear') in /var/www/html/clan/system/lib-database.php on line 110"
I have read & tried this but I still have problems:
http://www.geeklog.net/docs/install.html#failed-to-open
According to step one:
The complete path to this file is /var/www/html/clan/public_html/admin/install/install.php
and it appears your Path to Geeklog is /var/www/html/clan
So for $_CONF, i have the following: (and I also did CHMOD 777 the appropriate files/folders)
$_CONF['/var/www/html/clan/public_html/'] = $_CONF['path'] . 'public_html/';
Am I supposed to edit the line after the "=" for $_CONF or before?
What am I doing wrong?
Thanks.
14
14
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by greyfox: $_CONF['/var/www/html/clan/public_html/'] = $_CONF['path'] . 'public_html/';
Am I supposed to edit the line after the "=" for $_CONF or before?
Am I supposed to edit the line after the "=" for $_CONF or before?
Always change things after the '=', not before.
bye, Dirk
10
15
Quote
Status: offline
greyfox
Forum User
Newbie
Registered: 01/01/04
Posts: 4
Quote by Dirk:
Always change things after the '=', not before.
bye, Dirk
Quote by greyfox: $_CONF['/var/www/html/clan/public_html/'] = $_CONF['path'] . 'public_html/';
Am I supposed to edit the line after the "=" for $_CONF or before?
Am I supposed to edit the line after the "=" for $_CONF or before?
Always change things after the '=', not before.
bye, Dirk
Thank you for the fast reply.
I changed the line, but I still get the same error.
The original line was:
$_CONF['path_html'] = $_CONF['path'] . 'public_html/'
And the new one I changed it to is:
$_CONF['path_html'] = $_CONF['/var/www/html/clan/public_html'] . 'public_html/';
Does this look correct, or did I still do it wrong?
Thanks
11
11
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You're changing the wrong thing. Is the comment just above that line not clear enough?
// 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/';
$_CONF['path_html'] and $_CONF['path'] are variable names - you shouldn't change them.
bye, Dirk
Text Formatted Code
// 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/';
$_CONF['path_html'] and $_CONF['path'] are variable names - you shouldn't change them.
bye, Dirk
9
12
Quote
Status: offline
greyfox
Forum User
Newbie
Registered: 01/01/04
Posts: 4
Quote by Dirk: You're changing the wrong thing. Is the comment just above that line not clear enough?
// 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/';
$_CONF['path_html'] and $_CONF['path'] are variable names - you shouldn't change them.
bye, Dirk
Text Formatted Code
// 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/';
$_CONF['path_html'] and $_CONF['path'] are variable names - you shouldn't change them.
bye, Dirk
Sorry, I thought I had to do it becuase the documentation says to verify $_CONF['path'] for the error above.
Any other ideas, since the problem still occurs?
19
8
Quote
Quote by greyfox:
Sorry, I thought I had to do it becuase the documentation says to verify $_CONF['path'] for the error above.
Any other ideas, since the problem still occurs?
Sorry, I thought I had to do it becuase the documentation says to verify $_CONF['path'] for the error above.
Any other ideas, since the problem still occurs?
I'm a newbie too, but maybe I can help.
First, it would help if you copy & paste exactly waht is in your
config.php for the 2 variables $_CONF['path'] and $_CONF['path_html'].
Second, did you move your geeklog files in (other than public_html)
somewhere else, as suggested in the documentation?
If so, you cannot use the form
$_CONF['path_html'] = $_CONF['path'] . 'public_html/';
-- it won't work.
For example, I moved my geeklog files to /usr/local/geeklog/.
So in my config.php are the 2 lines
$_CONF['path'] = '/usr/local/geeklog/';
$_CONF['path_html'] = '/var/www/html/geeklog/';
If you did not move your geeklog files.
then this should work for you:
$_CONF['path'] = '/var/www/html/clan/';
$_CONF['path_html'] = $_CONF['path'] . 'public_html/';
Note that this may be a security issue though,
as explained in the documentation.
Tom
9
15
Quote
Status: offline
amckay
Forum User
Full Member
Registered: 03/23/02
Posts: 180
Not to make light of your situation but it looks like others have taken care of you.
You didn't work at Bell-Northern Research did you?
They used to have (and still do as Nortel, though it is far less used) a proprietary programming language PROTEL which is the only language I've ever seen where = went the other way. Actually, it wasn't an '=' (usually pronounced 'gets') but was '=>' and was/is pronounced 'guzzinta' which is short for "goes into". So you'd say "value guzzinta variable" rather than "variable gets value"
You didn't work at Bell-Northern Research did you?
They used to have (and still do as Nortel, though it is far less used) a proprietary programming language PROTEL which is the only language I've ever seen where = went the other way. Actually, it wasn't an '=' (usually pronounced 'gets') but was '=>' and was/is pronounced 'guzzinta' which is short for "goes into". So you'd say "value guzzinta variable" rather than "variable gets value"
13
10
Quote
All times are EST. The time is now 01:24 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