Basically you have two choice
remove the
php_value open_basedir 1
it's wrong !
the other is to setup correctly
php_value open_basedir '/usr/share/davical;/usr/share/awl;/tmp;' and any needed directory
On 03/24/2010 09:11 PM, Andreas Westvik wrote:
>
> Hi everyone
>
> Im about to finish the instalation of Davical on a Debian Squeeze setup.
> But when I visit the front end of davical I get this:
>
> Any tips?
> /etc/php5/apache2/php.ini shows ;open_basedir = (thats it)
>
> Warning: Unknown: open_basedir restriction in effect. File(/usr/share/davical/htdocs/index.php) is not within the allowed path(s): (0) in Unknown on line 0
>
> Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
>
> Fatal error: Unknown: Failed opening required '/usr/share/davical/htdocs/index.php' (include_path='/usr/share/awl/inc') in Unknown on line 0
>
> This is the vhost container:
>
> <VirtualHost *:80 >
> DocumentRoot /usr/share/davical/htdocs
> DirectoryIndex index.php index.html
> ServerName davical.somedomain.net
> ServerAlias calendar.somedomain.net
> <Directory /usr/share/davical/htdocs/>
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
> Alias /images/ /usr/share/davical/htdocs/images/
> php_value include_path /usr/share/awl/inc
> php_value magic_quotes_gpc 0
> php_value register_globals 0
> php_value open_basedir 1
> </VirtualHost>
>
> When I access 192.168.0.1/davical I get the GUI, but I still see the same warnins in the top.
>
> -Andreas.
>
>
>
--
Bruno Friedmann
Ioda-Net S?rl
2830 Vellerat - Switzerland
T?l : ++41 32 435 7171
Fax : ++41 32 435 7172
gsm : ++41 78 802 6760
www.ioda-net.ch
Centre de Formation et de Coaching En Ligne
www.cfcel.com
remove the
php_value open_basedir 1
it's wrong !
the other is to setup correctly
php_value open_basedir '/usr/share/davical;/usr/share/awl;/tmp;' and any needed directory
On 03/24/2010 09:11 PM, Andreas Westvik wrote:
>
> Hi everyone
>
> Im about to finish the instalation of Davical on a Debian Squeeze setup.
> But when I visit the front end of davical I get this:
>
> Any tips?
> /etc/php5/apache2/php.ini shows ;open_basedir = (thats it)
>
> Warning: Unknown: open_basedir restriction in effect. File(/usr/share/davical/htdocs/index.php) is not within the allowed path(s): (0) in Unknown on line 0
>
> Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
>
> Fatal error: Unknown: Failed opening required '/usr/share/davical/htdocs/index.php' (include_path='/usr/share/awl/inc') in Unknown on line 0
>
> This is the vhost container:
>
> <VirtualHost *:80 >
> DocumentRoot /usr/share/davical/htdocs
> DirectoryIndex index.php index.html
> ServerName davical.somedomain.net
> ServerAlias calendar.somedomain.net
> <Directory /usr/share/davical/htdocs/>
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
> Alias /images/ /usr/share/davical/htdocs/images/
> php_value include_path /usr/share/awl/inc
> php_value magic_quotes_gpc 0
> php_value register_globals 0
> php_value open_basedir 1
> </VirtualHost>
>
> When I access 192.168.0.1/davical I get the GUI, but I still see the same warnins in the top.
>
> -Andreas.
>
>
>
--
Bruno Friedmann
Ioda-Net S?rl
2830 Vellerat - Switzerland
T?l : ++41 32 435 7171
Fax : ++41 32 435 7172
gsm : ++41 78 802 6760
www.ioda-net.ch
Centre de Formation et de Coaching En Ligne
www.cfcel.com