Subject: Installation problems (different to last time)

Posted on: 15/03/04 12:11am
By: Hannah

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

Installation problems (different to last time)

Posted on: 15/03/04 09:50am
By: Turias

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)

Installation problems (different to last time)

Posted on: 16/03/04 01:27am
By: Hannah

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

Installation problems (different to last time)

Posted on: 16/03/04 04:17am
By: jhk

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.

Installation problems (different to last time)

Posted on: 16/03/04 04:32am
By: Hannah

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

Installation problems (different to last time)

Posted on: 16/03/04 09:46am
By: Turias

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.

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=31929