PDA

View Full Version : Still cant get pixelpost 1.5 to work :(


Battin
09-27-2006, 10:50 PM
I tried when it came out. Now i tried again, because i am redoing my blog. It is still fucked.. :(

http://battin.dk/pixelpost15/admin/install.php

I get this error - the same as last time i tried!


Warning: main() [function.main]: open_basedir restriction in effect. File(/functions.php) is not within the allowed path(s): (/home/web/web50725:/var/tmp:/usr/local/lib/php:/usr/local/share/pear) in /usr/home/web/web50725/pixelpost15/includes/create_tables.php on line 38

Warning: main(functions.php) [function.main]: failed to open stream: Operation not permitted in /usr/home/web/web50725/pixelpost15/includes/create_tables.php on line 38

Fatal error: main() [function.require]: Failed opening required 'functions.php' (include_path='.:') in /usr/home/web/web50725/pixelpost15/includes/create_tables.php on line 38

Anybody knows whats wrong? I tried to look in the forums for answers, but cant seem to find any!


Here is my hosting information:
Host Information
PHP-version 5.0.4 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.1.11-log (Pixelpost's min requirement: MySQL 3.23.58)

GD-lib bundled (2.0.28 compatible) with JPEG support

Server software Apache/2.0.54 (FreeBSD) PHP/5.0.4

EXIF Pixelpost is using exifer v1.5 for EXIF information.

Connie
09-28-2006, 06:11 AM
Battin,

this message says exactly what the problem is:

open_basedir restriction in effect.

ask your hoster about that

is PHP running as CGI maybe? THen maybe it can only run in /cgi-bin

this is a problem with your hoster. they must configure it for you correctly

give them these errormessages and they should know what to do!

GeoS
09-28-2006, 12:11 PM
As you can see your hoster fucked up a little configuration.

This are allowed open_basedir paths:
/home/web/web50725
/var/tmp:/usr/local/lib/php
/usr/local/share/pear

And non of them doesnt match this in which you have your site:
/usr/home/web/web50725/

Talk with your ISP about more proffesional configuration of server.

Battin
10-17-2006, 09:37 PM
I wrote to my hosting support. They say i need to change the script so it points at: /home/web/web50725/file.php instead of /usr/home/web/web50725/ , what does he mean? And how do i do it??

GeoS
10-18-2006, 03:10 PM
It means that they must configure their server as they sugested because Pixelpost uses relative paths not absolut.

You can try to upload .htaccess file with mod_rewrite code relocating requests.

Battin
10-18-2006, 10:15 PM
what should i write in the htacess file?

GeoS
10-18-2006, 10:51 PM
Maybe at first try to put it at the beginning of /admin/index.php instead of playing with .htaccess:
ini_set ('include_path',ini_get('include_path').':/home/web/web50725/');

PS Above code is based on second post of PHP manual:
http://pl.php.net/manual/pl/function.ini-set.php

Battin
10-23-2006, 03:56 PM
hmm i dont understand anything.. hm.. seems like i have to use the previous versions then.. :-/

Battin
10-23-2006, 04:28 PM
i added that phrase in the beginning of my admin index file.. and nothing changed..

GeoS
10-23-2006, 08:28 PM
So you must talk seriously with your ISP is this is their issue/bug/problem/misconfiguration/... .

Battin
10-26-2006, 11:06 PM
YEPEEE..

I got them to move me to another server running a newer version of PHP, and now it works just fine! Thanks for the help guys!

GeoS
10-27-2006, 09:55 AM
Cool that it works right now. Nice portfolio (I just looked at link from other topic) :)

tmcq
10-31-2006, 07:23 AM
Hello,

I am getting the same problem:

See here:

http://cloudappreciationsociety.org/gallery/admin/install.php

I raised the issues in this thread with the host provider, but they said:

"Failed opening required 'functions.php' (include_path='')" tells me that you should set a full path for that file where it's being called.

Does anybody know how I can do this?

Thanks,

Neil

tmcq
10-31-2006, 04:38 PM
Somehow, it seems to be installed now, the trouble is that the gallery still doesn't work (admin side seems okay).
See: http://cloudappreciationsociety.org/gallery/

There are over 1,900 images on the gallery, does anyone know if that number of images could cause problems?

Thanks,

Neil