Comparing versions
Version 1Current version
unfortunately we haven't been able to do the testing and updates ourselves yet.

however, you might be able to find some useful information on tikiwiki site. a useful starting point might be:
http://tikiwiki.org/tiki-index.php?page=InstallTikiUnderSafeMode

we are working on a tikipro tutorial for users who experience these issues.
 

Safe mode

Safe_mode and open_basedir are security features of PHP (but removed in version 6). Some hosts enable them on their servers, some don't. Web applications written in PHP tend to have problems with safe_mode and/or open_basedir. It's important to note, that there is a difference between the restrictions safe_mode and open_basedir. Your server might have safe_mode switched off but open_basedir switched on.

Bitweaver has not been extensively tested on servers with safe_mode/open_basedir switched on. However, bitweaver does have code in place to run even with safe_mode/open_basedir enabled. If you experience problems, please try the following tips one by one. Please report how it worked out for you (comment on this page, in bitweaver's forum, in ConnectingToIrc).

Session path

Try setting an appropriate session.save_path by editing the file bit_setup_inc. Set it to a path where bitweaver has write access, for instance bitweaver's temp directory with 777 perms.

/bit_setup_inc


<?php
// change the following line:
// ini_set('session.save_path', 'C:\somewhere\I\can\write');

// to:
ini_set('session.save_path''/yourbitweaver/temp/');
?>


Temp path

To install bitweaver, you need a file called config_inc.php in /kernel/. Usually it can be 0 byte (empty), it only has to be writeable by bitweaver (e.g., perm 0777). To resolve safe_mode issues, open that file and paste only the following, and with the same path of the session.save_path setting above. (This file will get overwritten in the process of installing bitweaver. Error messages might pop up. Wait until after the installation is finished to change the path one last time.)

/kernel/config_inc.php


<?php
// This allows you to set a custom path to your PHP tmp directory - used for ADODB
// caching if active, and other stuff This is usually only needed in very
// restrictive hosting environments.
$gTempDir '/yourbitweaver/temp/';
?>


More info

SME server 7.1

On SME server 7.1 with safe_mode enabled, if you are getting a blank page, try the approach below. Then restart apache (/etc/init.d/httpd restart).

/etc/httpd/conf/httpd.conf


<?php
// in your /etc/httpd/conf/httpd.conf look for
php_admin_value open_basedir /home/bitweaver/html

// and add :/tmp to the end of the line so it looks like
php_admin_value open_basedir /home/bitweaver/html:/tmp
?>


  1. Tikiwiki's page on the subject: http://tikiwiki.org/tiki-index.php?page=InstallTikiUnderSafeMode
  2. ...

Page History
Date/CommentUserIPVersion
15 Jul 2008 (16:11 UTC)
laetzer85.178.63.16710
Current • Source
laetzer85.178.17.1198
View • Compare • Difference • Source
laetzer85.178.30.296
View • Compare • Difference • Source
nexe58.105.75.1785
View • Compare • Difference • Source
FireFly70.68.84.203
View • Compare • Difference • Source
xing194.152.164.452
View • Compare • Difference • Source
xing194.152.164.451
View • Compare • Difference • Source