Welcome to Geeklog, Anonymous Thursday, April 25 2024 @ 04:27 am EDT

Geeklog Forums

installation errors


S. Ogle

Anonymous
I am trying to install, but I keep getting this message:

Warning: main(): open_basedir restriction in effect. File(/home/htdocs/geeklog/system/databases/mysql.class.php) is not within the allowed path(s): (/nfsn/content/me1337:/nfsn/apps/php/lib/php:/nfsn/content/content/nfsn) in /nfsn/content/me1337/htdocs/geeklog/system/lib-database.php on line 114

Warning: main(/home/htdocs/geeklog/system/databases/mysql.class.php): failed to open stream: Operation not permitted in /nfsn/content/me1337/htdocs/geeklog/system/lib-database.php on line 114

Fatal error: main(): Failed opening required '/home/htdocs/geeklog/system/databases/mysql.class.php' (include_path='.:/nfsn/apps/php/lib/php/') in /nfsn/content/me1337/htdocs/geeklog/system/lib-database.php on line 114


It is just a standard error, but what do I do to fix it? I have very little experience with this sort of thing, so any help would be appreciated.

 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Looks like these are the allowed paths:

/nfsn/content/me1337
/nfsn/apps/php/lib/php
/nfsn/content/content/nfsn

Now this file
/nfsn/content/me1337/htdocs/geeklog/system/lib-database.php

wants to call
/home/htdocs/geeklog/system/databases/mysql.class.php

And this is NOT part of the allowed paths. So check your paths in the config.php and lib-common.php again

 Quote

S. Ogle

Anonymous
Thanks, that worked perfectly and I was able to istall the tables, but when I performed the install check, it said the permissions were wrong. I tried chmod 775 and 777, but neither of them worked.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by S. Ogle: I tried chmod 775 and 777, but neither of them worked.

Hmm? 777 should always work ...

Also make sure the files have the correct owner and group.

bye, Dirk
 Quote

be0wu1f

Anonymous
How do I check that?
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
>> when I performed the install check, it said the permissions were wrong.<<
Could you post, what the error text was? One has to change the permission of the files AND subdir.
 Quote

Status: offline

be0wu1f

Forum User
Newbie
Registered: 12/28/05
Posts: 3
Location:Loveland, CO
Testing backend directory /nfsn/content/me1337/htdocs/geeklog//nfsn/content/me1337/htdocs/www/backend/ ...
Could not open the RDF file /nfsn/content/me1337/htdocs/geeklog//nfsn/content/me1337/htdocs/www/backend/geeklog.rdf for writing.
Please check that you have set both the backend directory and the geeklog.rdf file in that directory to chmod 775.
Current permissions for backend: 0
Current permissions for geeklog.rdf: 0

Testing userphotos directory /nfsn/content/me1337/htdocs/geeklog//nfsn/content/me1337/htdocs/www/images/userphotos/ ...
Could not write to /nfsn/content/me1337/htdocs/geeklog//nfsn/content/me1337/htdocs/www/images/userphotos/.
Please make sure this directory exists and is set to chmod 775.
Current permissions for userphotos: 0

Testing articles directory /nfsn/content/me1337/htdocs/geeklog//nfsn/content/me1337/htdocs/www/images/articles/ ...
Could not write to /nfsn/content/me1337/htdocs/geeklog//nfsn/content/me1337/htdocs/www/images/articles/.
Please make sure this directory exists and is set to chmod 775.
Current permissions for articles: 0


This is the error message I get. I checked and the permissions are set to 777 on those three.
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
There seems to be one more error with the paths.

Text Formatted Code

This doesn`t work:
/nfsn/content/me1337/htdocs/geeklog//nfsn/content/me1337/htdocs/www/backend/geeklog.rdf

Should be this:
/nfsn/content/me1337/htdocs/www/backend/geeklog.rdf

Check the config.php again
$_CONF['path']            = '/nfsn/content/me1337/htdocs/geeklog/';
$_CONF['path_html']         = '/nfsn/content/me1337/htdocs/www/';

And check lib-common.php
require_once( '/nfsn/content/me1337/htdocs/geeklog/config.php' );

 
 Quote

All times are EDT. The time is now 04:27 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