Hi,
I think that this function has been disabled on your server.
This function tries to obtain dir where PHP may store some temporary files.
I suggest you such solution:
At first make sure you've got at least PHP version 5.3.X. In other case you'll experience other issues.
Edit setup.php file (it's in main epesi dir) and remove lines 499 and 500:
define(\'FILE_SESSION_DIR\',\''.str_replace('\\', '/', sys_get_temp_dir()).'\');
define(\'FILE_SESSION_TOKEN\',\'epesi_'.md5(__FILE__).'_\');
Just those lines. Leave blank lines around them. Do not remove anything else.
Then run installation again.
Some technical background:
Some time ago we've introduced storing session data in files, instead of using database. Database is great, but lot of installations has limited max_allowed_packet size that we can't store session data and this caused errors.
Now you've got 3 options to store session data.
1. Database (No additional entries in config.php, but you have to set max_allowed_packet to something more than 1MB - I've got 32MB)
[That's what you're going to do)
2. Files (FILE_SESSION_DIR and FILE_SESSION_TOKEN settings)
3. Memcached (memcached server required; MEMCACHE_SESSION_SERVER setting in config.php)
Regards,
Adam