Loading...
 
Skip to main content

History: SourceForgeTikiInstall

Preview of version: 3

Initial version of the page was taken from http://hispascal.sourceforge.net/phpwiki-1.3.3/index.php/Adrian15SourceForgeTikiWikiInstallQuestion

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.

  1. Go to your project admin page, select Database Admin.
  2. 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.
  3. Change the password to your liking and hit update. Once again, wait until it goes through the queue.
  4. 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/

tiki/db/tiki-db.php

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';

tiki/sessions/

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

tiki/tiki-setup.php

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
View
mlpvolt 6
View
Amedee Van Gasse 5
View
Smits Dimitri 4
View
Jim Kring 3
View
Marc Laporte transferred from http://alt.thetinfoilhat.com/tiki-index.php?page=SourceForgeTikiWikiInstall 2
View