What's your hosting provider?
There's probably a misconfiguration of the sys_temp_dir variable so that the sys_get_temp_dir() function could not retrieve the temporary directory which should be writeable.
You could try to set another writeable temporary directory at runtime. That said, add the following directives to a script that is called by the application at runtime, i.e. app.php or localconfig.php, ...
PHP Code:
putenv('TMP=' . TL_ROOT . '/system/tmp');
putenv('TEMP=' . TL_ROOT . '/system/tmp');
putenv('TMPDIR=' . TL_ROOT . '/system/tmp');
Make sure that system/tmp exists and is writeable.
You may also want to ask your hosting provider why the temporary directory is not writeable at all.
Bookmarks