Differences from version 5 to 10



@@ -1,16 +1,44 @@

-Unfortunately we haven't been able to do the testing and updates ourselves yet.
+{maketoc}
+! 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.
 
-However, you might be able to find some useful information on the tikiwiki site, a useful starting point might be: [http://tikiwiki.org/tiki-index.php?page=InstallTikiUnderSafeMode]
+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 [/forums|forum], in ((ConnectingToIrc|bitweaver's IRC channel))).
 
-We are working on a bitweaver tutorial for users who experience these issues.
+!! 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.
+{code title="/bit_setup_inc"}
+// change the following line:
+// ini_set('session.save_path', 'C:\somewhere\I\can\write');
 
-Installing bitweaver on SME server 7.1
-if you are getting a blank page try the following
+// to:
+ini_set('session.save_path', '/yourbitweaver/temp/');
+{/code}
 
-in your /etc/httpd/conf/httpd.conf look for
+!! 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.)
+{code title="/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/';
+?>
+{/code}
 
-{code}php_admin_value open_basedir /home/e-smith/files/ibays/bitweaver/html{/code}
-and add :/tmp to the end of the line so it looks like
-{code}php_admin_value open_basedir /home/e-smith/files/ibays/bitweaver/html:/tmp{/code}
 
-Then restart apache "/etc/init.d/httpd restart"
+! 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'').
+
+{code title="/etc/httpd/conf/httpd.conf"}
+// 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
+{/code}
+
+!! Links
+# Tikiwiki's page on the subject: [http://tikiwiki.org/tiki-index.php?page=InstallTikiUnderSafeMode]
+# ...
+
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