Welcome to Geeklog Tuesday, March 31 2020 @ 10:21 pm EDT

Geeklog Forums

Installation problems (different to last time)


Status: offline

Hannah

Forum User
Newbie
Registered: 14/03/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: 20/10/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: 14/03/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: 13/07/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: 14/03/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: 20/10/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 10:21 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