TikiWiki

From A2Wiki

Jump to: navigation, search

Problem installing TikiWiki with Fantastico

I attempted a Fantastico install of Tikiwiki here @ A2, and while there were no problems doing so, once I went to the URL where my wiki was supposed to be, I got a php open_basedir error on line 109 of lib/init/initlib.php. The problem appears to be that the line, as it is in tikiwiki reads

$tempfile = tempnam(false,'');

which should default to /tmp, but apparently doesn't. Changing the line to

$tempfile = tempnam('/tmp','');

fixes the problem.

--Jsoishi 00:16, 10 December 2007 (EST)

For me, the line was 101, not 109, but the other information remains the same.

--Klaberte 10:33, 1 August 2008 (EDT)

As an added note: You might want to change the /tmp directory to a directory in your home directory (/home/username/tmp) this is a little more secure, but it will also help you to avoid any permissions issues with /tmp

--Gstuhrberg 10:33, 1 August 2008 (EDT)

Personal tools