Posted on: 02/22/05 04:54pm
By: Anonymous (Dave)
Hi guys, I've completed an installation of Gallery in Geeklog and now receive the following error;
Warning: main(): open_basedir restriction in effect. File(/path/to/geeklog/public_html/lib-common.php) is not within the allowed path(s): (/home/nast:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/nast/public_html/plugins/gallery/init.php on line 261
Warning: main(/path/to/geeklog/public_html/lib-common.php): failed to open stream: Operation not permitted in /home/nast/public_html/plugins/gallery/init.php on line 261
Fatal error: main(): Failed opening required '/path/to/geeklog/public_html/lib-common.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nast/public_html/plugins/gallery/init.php on line 261
when I visit http://mysite.com/plugins/gallery/index.php
I've checked that my
lib-common.php is where it should be, and the installation/config of Gallery seemed to go through fine. Gallery found Geeklog and I got a no errors on the last page of install.
I did try afterwards to put Gallery into debug mode from config but couldn't get any further info from that either. I've previously completed other installs of Gallery (into PostNuke), but this is my first within GeekLog.
I'm fairly unfamiliar with php, so if anyone can offer help, I'd greatly appreciate it.
Dave
Another Gallery error
Posted on: 02/22/05 05:24pm
By: knuff
[QUOTE BY= Dave]
(/home/nast:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/nast/public_html/plugins/gallery/init.php on line 261
[/QUOTE]
Hi,
Two things I see.
1. (maybe completly irrelevant) Why do you install gallery (from
gallery.menalto.com) as a plugin ?
Normally you would install it seperate and just use the integration option.
2. Have a look at the quote above.
(/home/nast:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/nast/public_html/plugins/gallery/init.php on line 261
From this it seems that you cannot call lib-common.php in it´s current location, so one of the path settings must be wrong.
Check in the gallery setup you have the embedded path setting correct.
It should point to /home/nast/public_html/ and not /home/nast/
Greetz,
Boris
Another Gallery error
Posted on: 02/22/05 06:36pm
By: Anonymous (Dave)
Ahh, that seem's to have solved the installation problem. I've moved it all down out of the plugins dir & reinstalled. Now it loads fine from http://mysite.com/gallery/
I know have a similiar problem to the one described here (http://www.geeklog.net/forum/viewtopic.php?forum=2&showtopic=43283) though. I don't really understand how gallery appears within my geeklog layout. I've tried calling gallery via a link in a post to see if it would appear "within" the layout but it opens, looking rather unstyled on a blank times new roman page. As per the above post it appears with the GeekLog footer but nothing else.
I'm probably being very stupid, but hopefully not!
Thanks for the help.
Dave