mythusmage Posted May 1, 2008 Share Posted May 1, 2008 (edited) Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/***/:/usr/lib/php:/usr/local/lib/php:/usr/local/sqmail:/tmp) in /home/***/public_html/lib/init/initlib.php on line 101 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/***/public_html/lib/init/initlib.php:101) in /home/***/public_html/tiki-setup_base.php on line 278 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/***/public_html/lib/init/initlib.php:101) in /home/***/public_html/tiki-setup_base.php on line 278 header already sent That's what I got when trying to install TikiWiki. Somebody screwed up the installation script. Edited May 1, 2008 by TCH-Thomas Removed cpanelusername. Please do not post such info in the forum. Quote Link to comment Share on other sites More sharing options...
TCH-Zac Posted May 1, 2008 Share Posted May 1, 2008 Please open a ticket with the helpdesk at the link at the top of the forum so they can look into this for you. Quote Link to comment Share on other sites More sharing options...
nortk Posted May 1, 2008 Share Posted May 1, 2008 As a side note, I'm pretty sure this problem is not a Fantastico issue. I installed TikiWiki manually and had the same problem. But the helpdesk was able to help me. Quote Link to comment Share on other sites More sharing options...
mythusmage Posted May 1, 2008 Author Share Posted May 1, 2008 As a side note, I'm pretty sure this problem is not a Fantastico issue. I installed TikiWiki manually and had the same problem. But the helpdesk was able to help me. From the TikiWiki forum I was informed that TikiWiki requires access to the /temp folder. Is this a permissions problem? Quote Link to comment Share on other sites More sharing options...
TCH-Andy Posted May 1, 2008 Share Posted May 1, 2008 From memory on that error, you need to define where the 'tmp' folder is. In lib/init/initlib.php ( within the tikiwiki installed directory ) add the line; >$tempdir = "/tmp"; Near the bottom of that file to define the tmp directory ( so that .... >function tempdir() { function tempdir() { static $tempdir; if (!$tempdir) { $tempfile = tempnam(false,''); $tempdir = dirname($tempfile); @unlink($tempfile); } return $tempdir; } becomes ...... > function tempdir() { static $tempdir; $tempdir = "/tmp"; if (!$tempdir) { $tempfile = tempnam(false,''); $tempdir = dirname($tempfile); @unlink($tempfile); } return $tempdir; } Or open a ticket at the help desk and ask us to do it for you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.