Welcome to Geeklog, Anonymous Saturday, July 12 2025 @ 06:58 pm EDT
Geeklog Forums
Installation Error, help please!!
Status: offline
Forum User
Newbie
Registered: 08/07/03
Posts: 7
Heya. I went to the admin/install/install.php page to start the setup of Geeklog. The defaults for \"Installation Type,\" and \"Path to Geeklog\" seemed correct, so I left them and continued with the installation. However, the next page gave me this error....
Fatal error: Failed opening required \'/var/www/domains/genvoice.com/geek/system/classes/template.class.php\' (include_path=\'.:/usr/share/pear\') in /var/www/domains/genvoice.com/geek/public_html/admin/install/install.php on line 495
Any ideas?
Thanks a lot!
16
17
Quote
Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
So, does that file (template.class.php) exist in that directory? And does your webserver have read access to that file and the directories it\'s in?
From what you describe, the paths are probably okay but that file either doesn\'t exist or the install script can\'t access it.
bye, Dirk
16
16
Quote
Status: offline
Forum User
Newbie
Registered: 08/07/03
Posts: 7
the sql and system folders weren\'t uploaded, lol. so i uploaded them, and CHMOD\'ed them and their files/folders to 775. retried the setup, and got this error message:
Fatal error: Failed opening required \'/home/Steve/www/geek/config.phpsystem/databases/mysql.class.php\' (include_path=\'.:/usr/share/pear\') in /var/www/domains/genvoice.com/geek/system/lib-database.php on line 110
12
16
Quote
Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
$_CONF[\'path\'] should only hold the path where config.php is, but not include \"config.php\" itself.
bye, Dirk
13
16
Quote
Status: offline
Forum User
Newbie
Registered: 08/07/03
Posts: 7
I fixed the path so that it does not include config.php. when i clicked the Next button, i recieved a 404 error. i went back, and tried it again, and it gave me the following error:
===
1050: Table \'geek_access\' already exists
===
So, i figured that the installation is done maybe? So then i tried opening the index.php page in the public_html directory, and recieved the following error;
===
Warning: open_basedir restriction in effect. File is in wrong directory in /var/www/domains/genvoice.com/geek/public_html/lib-common.php on line 69
Fatal error: Failed opening required \'/path/to/geeklog/config.php\' (include_path=\'.:/usr/share/pear\') in /var/www/domains/genvoice.com/geek/public_html/lib-common.php on line 69
===
Thanks!
16
11
Quote
Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Line 69 is the line the includes the config.php:Make sure you have the correct path there.
bye, Dirk
Text Formatted Code
require_once( '/path/to/geeklog/config.php' );
20
13
Quote
Status: offline
Forum User
Newbie
Registered: 08/07/03
Posts: 7
Thanks a lot. I got farther along my way, but I\'m stumped again. When i load the index.php, the page loads.... but no images appear, text comes in the font/size defaults.. and it shows this error at the top of the page.....
Warning: fopen(\"/home/Steve/www/geek/logs/error.log\", \"a\") - Permission denied in /var/www/domains/genvoice.com/geek/public_html/lib-common.php on line 1555
I looked up what line 1555 is exactly, and heres what it is...
if( !$file = fopen( $logfile, a ))
Also, here\'s the link to the index page for you to look at if need be; http://www.genvoice.com/geek/public_html/index.php
Again, thanks a lot!
17
14
Quote
Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Now, this is in the installation instructions:
http://www.geeklog.net/docs/install.html#permission-denied
bye, Dirk
22
11
Quote
Status: offline
Forum User
Newbie
Registered: 08/07/03
Posts: 7
wait a minute, i figured it out. geeklog should be uploaded to the very root file, correct? i have mine in root/geek/..
well, i\'ll brb, gotta do some uploading and chmoding

13
15
Quote
Status: offline
Forum User
Newbie
Registered: 08/07/03
Posts: 7
I followed those instructions, and the exact problem still exists.
12
9
Quote
Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Quote by Unoptimus: I followed those instructions, and the exact problem still exists.
That\'s not possible since the instructions tell you to try chmod 777 as a last resort and that always works.
So what is the exact error message now and what are the permissions on the file and the directory in question?
bye, Dirk
16
11
Quote
Status: offline
Forum User
Newbie
Registered: 08/07/03
Posts: 7
Text Formatted Code
Warning: fopen(\"/home/Steve/www/geek/logs/error.log\", \"a\") - Permission denied in /var/www/domains/genvoice.com/public_html/lib-common.php on line 1555
20
12
Quote
Status: offline
Forum User
Full Member
Registered: 02/17/03
Posts: 236
Why does one of your paths here start at /home and the other at /var? You shouldn\'t change lib-common.php to 777.
16
20
Quote
All times are EDT. The time is now 06:58 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