Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 11:08 am EDT

Geeklog Forums

Installation problems (different to last time)


Status: offline

Hannah

Forum User
Newbie
Registered: 03/14/04
Posts: 3
Hi,

I successfully installed Geeklog a few weeks ago and have really been enjoying using it.

I'm now trying to setup another different site running Geeklog using a new database and located in a different place on my server. I've downloaded Geeklog-1.3.9 and have followed the installation instructions.

When I enter the path to Geeklog's config.php and click the button I get
"Geeklog could not find config.php in the path you just entered: /pub/groups/gk/geeklog/
Please check this path and try again. Remember that you should be using absolute paths, starting at the root of your file system."


The same error occurs whether or not I include a "/" at the end of the path.

When I run check.php I get:
Warning: main(): open_basedir restriction in effect. File(../../lib-common.php) is not within the allowed path(s): (..:/tmp) in /pub/groups/gk/public_html/admin/install/check.php on line 41

Warning: main(../../lib-common.php): failed to open stream: Operation not permitted in /pub/groups/gk/public_html/admin/install/check.php on line 41

Fatal error: main(): Failed opening required '../../lib-common.php' (include_path='.:/usr/share/php:/usr/share/pear') in /pub/groups/gk/public_html/admin/install/check.php on line 41


I've checked and rechecked the settings in config.php and lib-common.php and the file/directory permissions and don't know where to go next.

I would greatly appreciate any insight anyone can give me on this error.

Thanks,

Hannah
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
If those paths are definitely correct, then it sounds like apache can't access those files. Try running apache as your username and group (the settings are in the httpd.conf file).

Try that, or make sure that all of the files and directories in pub really are world readable. (chmod -R +r /pub)
 Quote

Status: offline

Hannah

Forum User
Newbie
Registered: 03/14/04
Posts: 3
Hi,
Thankyou for your reply.

I don't have access to apache on my Web server - I have two separate accounts located in different places one in /home/me/ and the other in /pub/groups/gk/.

I've rechecked the permissions - all of my files and directories in pub are world readable. I don't know whether it is relevant to the problem but my host uses Access Control Lists (ACLs) to controll permissions.

I look forward to any other ideas or solutions!
Thanks again,
Hannah
 Quote

Status: offline

jhk

Forum User
Chatty
Registered: 07/13/02
Posts: 57
Warning: main(): open_basedir restriction in effect. File(../../lib-common.php) is not within the allowed path(s): (..:/tmp) in /pub/groups/gk/public_html/admin/install/check.php on line 41

This is a apache/php security feature. You have to persuade your ISP/server host to allow php to access directories outside of the immediate web root. I know how to fix it on an e-smith server but not in general. And it requires access to a console.
 Quote

Status: offline

Hannah

Forum User
Newbie
Registered: 03/14/04
Posts: 3
Hi,
I believe that I am allowed to have php access outside my web root. In fact I do have it with the installation that was successful so I can't see any reason why I wouldn't have it now.

I have shell access.

I have a feeling that the problem is occurring wiht the open_basedir redirection bit.

Thanks!
Hannah
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
Well, either way, this sounds like an issue with your host and not with Geeklog. I would definitely e-mail support and see if they can help you out.
 Quote

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