Loading...
 
Architecture / Installation

Architecture / Installation


The directory '/tmp' does not exist or PHP is not allowed to access it (check open_basedir entry in

posts: 1

The directory '/tmp' does not exist or PHP is not allowed to access it (check open_basedir entry in php.ini?!!!!I do not have acces to php.ini).




question

posts: 224 Ireland

Are you working on a UNIX box? /tmp should exist on any standard UNIX box.

Regards,

Pat.


posts: 1

I had this problem, as well.
tiki-setup.php checks the temp-dir:
$tempdir = dirnamefalse, ;
and gets /tmp (on a Unix machine).

Problem is: PHP is not allowed to write there.

Workaround:
Create your own temp dir, e.g. /home/www/user123/html/tmp.
Set write permissions to this directory.
Change the command
$tempdir = dirname... to $tempdir=/home/www/user123/html/tmp
in tiki-setup.php.

Greetings,
Helge


posts: 4

This sounds like a solution to my problem but then another problem comes, namely I haven't got a clue of the directory structure below mine, so I can't relocate the temp dir. Is there any script or tool to find out?

Regards
Hagel


posts: 4

I found it, but now I get a massive error trying to run tiki-install.php
'Fatal error: Undefined class name 'tikisetup' in /home/soulnois/public_html/tiki/tiki-install.php on line 128'
And index.php doesn't work at all now.


posts: 1

I did the work around but now when I point my browswer to tiki-install.php I get;

Fatal error: Undefined class name 'tikisetup' in /home2/davis/public_html/test_forum/tiki-install.php on line 128

also... now what?


posts: 1

i failed installing tikiwiki

i followed every thing in the

http://tikiwiki.org/tiki-index.php?page=InstallTikiUnderSafeMode

But Until NOW i got message :

The directory '/tmp' does not exist or PHP is not allowed to access it (check open_basedir entry in php.ini).
You may either create missing directories and chmod directories manually to 777, or run one of the sets of commands below.
Execute the Tiki installer again after you run the commands below.

i am ruunig mt site on :

Server Type Linux
Safe Mode Web Server Apache v1.3.31 MySQL 4.0.20-standard-log
PHP 4.3.8 PHP


HELP ME PLS

posts: 2881 United Kingdom
you need to add the :
Copy to clipboard
ini_set('session.save_path', '/somewhere/within/your/tiki/install');

lines to your tiki installation as per that InstallTikiUnderSafeMode pages

Damian


posts: 2881 United Kingdom
you need to add the :
Copy to clipboard
ini_set('session.save_path', '/somewhere/within/your/tiki/install');

lines to your tiki installation as per that InstallTikiUnderSafeMode pages

Damian


posts: 1817 Catalan Countries

this hack from Damian:

Copy to clipboard
ini_set('session.save_path', '/somewhere/within/your/tiki/install');


is still valid if you add that line to your local.php file (thanks jonnyb for the tip) in Tiki5

This way we avoided the error message:

The directory '/tmp' does not exist or PHP is not allowed to access it (check open_basedir entry in php.ini

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