Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 10:08 pm EST

Geeklog Forums

Installation Error, help please!!


Status: offline

Unoptimus

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!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Status: offline

Unoptimus

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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
$_CONF[\'path\'] should only hold the path where config.php is, but not include \"config.php\" itself. bye, Dirk
 Quote

Status: offline

Unoptimus

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!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Line 69 is the line the includes the config.php:
Text Formatted Code
require_once( '/path/to/geeklog/config.php' );
Make sure you have the correct path there. bye, Dirk
 Quote

Status: offline

Unoptimus

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!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Now, this is in the installation instructions: http://www.geeklog.net/docs/install.html#permission-denied bye, Dirk
 Quote

Status: offline

Unoptimus

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 Wink
 Quote

Status: offline

Unoptimus

Forum User
Newbie
Registered: 08/07/03
Posts: 7
I followed those instructions, and the exact problem still exists.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Status: offline

Unoptimus

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
the logs and files in that directory are all 777, and lib-common.php is also 777. i must have messed up earlier, but i dont know where.
 Quote

Status: offline

rawdata

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.
 Quote

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