Loading...
 
Architecture / Installation

Architecture / Installation


Probably an easy fix after installation

posts: 17

I've just installed through Fantastico, but can't figure out how to fix these errors on: http://mortelligence.com/cmi/tiki-admin.php

Warning: tempnam() function.tempnam: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/rxbrmh:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/rxbrmh/public_html/cmi/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/rxbrmh/public_html/cmi/lib/init/initlib.php:101) in /home/rxbrmh/public_html/cmi/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/rxbrmh/public_html/cmi/lib/init/initlib.php:101) in /home/rxbrmh/public_html/cmi/tiki-setup_base.php on line 278

posts: 5
It's a bug in file lib/init/initlib.php, in line 101. The function tempdir() for returning system defined temporary directory calls tempnam(false,""). This is obviously wrong, as the first parameter is not a boolean value, but the directory where the temporary filename will be created. The problem can be patched in a quick and dirty manner by modifying the call on the line 101 to tempnam('/tmp',""). Obviously, this is not the proper way to patch the bug, but it illustrates the point.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting