Loading...
 
Architecture / Installation

Architecture / Installation


Re: /tmp folder is not accessible, can't install

posts: 44 Canada

This problem is caused by the system temp directory configured being outside of the open_basedir limits. The way to solve this problem is (1) ask your system admin to change the open_basedir limits to include the system temp directory.

The other way is to hardcode a tmp directory that can be accessed into tiki-setup.php.

look for the text TikiInit::tempdir()
replace that text with "whatever_directory_with_open_basedir_setting/tmp"
e.g. "/home/(user_folder)/data/tmp" for the following example.

This server still has to be tested to check if file uploading is a problem, i.e. the setting of upload_tmp_dir could be problematic as well.


> Here is the messages:
>
> Warning: tempnam() function.tempnam: open_basedir restriction in effect. File(/var/tmp) is not within the allowed path(s): (/home/(user_folder)/data:.) in /usr/home/(user_folder)/data/www/(website)/lib/init/initlib.php on line 96
>
> Warning: session_start() function.session-start: Cannot send session cookie - headers already sent by (output started at /usr/home/(user_folder)/data/www/(website)/lib/init/initlib.php:96) in /usr/home/(user_folder)/data/www/(website)/tiki-setup_base.php on line 274
>
> Warning: session_start() function.session-start: Cannot send session cache limiter - headers already sent (output started at /usr/home/(user_folder)/data/www/(website)/lib/init/initlib.php:96) in /usr/home/(user_folder)/data/www/(website)/tiki-setup_base.php on line 274
>
> What can I do? Help please.
>
> Update: Tiki version is 1.9.7
>

There are no comments at this time.

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