History: SourceForgeTikiInstall
Preview of version: 3
Initial version of the page was taken from http://hispascal.sourceforge.net/phpwiki-1.3.3/index.php/Adrian15SourceForgeTikiWikiInstall
This is an explanation on the additional steps required to install TikiWiki on a SourceForge hosted project page. Specifically this solves a problem with Tiki automatically logging you out after one or two page clicks. This is caused by the PHP session file not being created successfully.
Activate your project's MySQL database
Please Read all of the documentation provided by SourceForge for setting up your project database. It is provided here only for convenience.
- Go to your project admin page, select Database Admin.
- Click on 'create' and Sourceforge will make a DB with the same name as your project. It makes DB's about once an hour so you might have to wait before it says active. The username will also be your project name.
- Change the password to your liking and hit update. Once again, wait until it goes through the queue.
- This page will tell you the host, user, and database names
Tiki Modifications
These instructions assume that you have installed Tiki at: /home/groups/n/na/name/htdocs/tiki/
Edit /home/groups/n/na/name/htdocs/tiki/db/tiki-db.php, you must add the init_set line and edit the file according to the following lines:
// Database connection for the tiki system
ini_set('include_path', '.:/usr/local/lib/php');
require_once('DB.php');
$host_tiki = 'mysql.sourceforge.net';
$user_tiki = 'projectname';
$pass_tiki = 'yourpassword';
$dbs_tiki = 'projectname';
Create the following directory for PHP session files to be stored:
mkdir /home/groups/n/na/name/htdocs/tiki/sessions
and set its permissions so that it can be written to by PHP
chmod 766 /home/groups/n/na/name/htdocs/tiki/sessions
after the line:
$tiki_timer ->start();
add the following lines:
ini_set("memory_limit", "16M");
session_save_path("/home/groups/n/na/name/htdocs/tiki/sessions");
History
| Information | Version | |||||
|---|---|---|---|---|---|---|
| drsassafras Mass search and replace | 7 | |||||
| mlpvolt | 6 | |||||
| Amedee Van Gasse | 5 | |||||
| Smits Dimitri | 4 | |||||
| Jim Kring | 3 | |||||
| Marc Laporte transferred from http://alt.thetinfoilhat.com/tiki-index.php?page=SourceForgeTikiWikiInstall | 2 | |||||