Warning: is_writable ?

SpookiePower

Joined: 2005-10-04
Posts: 164
Posted: Mon, 2009-05-04 12:38

I have just uploaded Gallery3 to my webhost but gets this messages - what does it means ?

Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/logs) is not within the allowed path(s): (/home/a/n/ftp_anothermasterpiececom/:/tmp/:/tmp/phplog:/usr/local/phpbin/php) in /home/a/n/ftp_anothermasterpiececom/gallery3/core/config/config.php on line 90
Warning Message

An error was detected which prevented the loading of this page. If this problem persists, please contact the website administrator.

kohana/core/Kohana.php [138]:

Cannot modify header information - headers already sent by (output started at /home/a/n/ftp_anothermasterpiececom/gallery3/core/config/config.php:90)
Stack Trace

* kohana/core/Kohana.php [138]:

header( Content-Type: text/html; charset=UTF-8 )

* kohana/core/Bootstrap.php [37]:

Kohana::setup( )

* index.php [61]:

require( kohana/core/Bootstrap.php )

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2009-05-07 00:29

That's an interesting error. What OS is your server, and what version of PHP do you have? It seems that realpath("var") is empty (because you don't have a var dir-- that's normal) and that's causing a weird failure. I've got a fix for that, which I'll check. In the meantime, either do "mkdir var" or browse to gallery3/installer to get by this problem.

 
SpookiePower

Joined: 2005-10-04
Posts: 164
Posted: Thu, 2009-05-07 08:22

I just installed the new version of Gallery3 alpha4 and now there is no problems.

--
www.anothermasterpiece.com