open_basedir restriction in effect
Posted: Tue Feb 26, 2019 7:17 pm
Hello guys,
I know that there is already discussed this subject, but i cannot solve it....
The error that i get:
yii\base\NotSupportedException: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s) ....
I added in basedir.tpl/stpl the following:
php_admin_value open_basedir %docroot%:%home%/%user%/tmp:/tmp
php_admin_value upload_tmp_dir %home%/%user%/tmp
php_admin_value session.save_path %home%/%user%/tmp
But the problem is still there.
The problem that i have on my website is that the thumbnails are not displayed.
Any help?
Thanks!
I know that there is already discussed this subject, but i cannot solve it....
The error that i get:
yii\base\NotSupportedException: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s) ....
I added in basedir.tpl/stpl the following:
php_admin_value open_basedir %docroot%:%home%/%user%/tmp:/tmp
php_admin_value upload_tmp_dir %home%/%user%/tmp
php_admin_value session.save_path %home%/%user%/tmp
But the problem is still there.
The problem that i have on my website is that the thumbnails are not displayed.
Any help?
Thanks!