Page 2 of 3
Re: Incorrect open_basedir
Posted: Sat Apr 22, 2017 8:43 am
by ScIT
Daimko wrote:The problem is still present :
Code: Select all
Warning: file_exists (): open_basedir restriction in effect. File (/ home / u941222742 / public_html / wp-content / uploads / 2017/04) (/home/admin/web/refugio-pineta.es/public_html:/home/admin/ Tmp) in /home/admin/web/refugio-pineta.es/public_html/wp-includes/functions.php on line 1611
An idea ?
Thank you in advance for your help.
There is something wrong with your basedir line -> (/home/admin/web/refugio-pineta.es/public_html:/home/admin/
Tmp) it should be /home/admin/web/refugio-pineta.es/public_html:/home/admin/
:/tmp
Re: Incorrect open_basedir
Posted: Sat Apr 22, 2017 8:57 am
by Daimko
What value should I put in this case ?
Re: Incorrect open_basedir
Posted: Sat Apr 22, 2017 9:05 am
by ScIT
Daimko wrote:What value should I put in this case ?
that what i've wrote:
Code: Select all
php_admin_value open_basedir %docroot%:%home%/%user%/tmp:/tmp
Re: Incorrect open_basedir
Posted: Sat Apr 22, 2017 9:11 am
by Daimko
.stpl
.tpl
Re: Incorrect open_basedir
Posted: Sat Apr 22, 2017 9:23 am
by ScIT
What I not understand is, that you seems to have a open basedir restriction for the path / home / u941222742 / public_html / wp-content / uploads / 2017/04. u941222742 is not your user admin - so maybe you have here a missconfiguration of wordpress. Check the root path configuration and modify it to /home/admin/web/refugio-pineta.es/public_html
Also you may not need a seperate template, check your conf, if it works you can switch back to default template.
Re: Incorrect open_basedir
Posted: Sat Apr 22, 2017 9:33 am
by Daimko
Where can I edit this root path configuration ?
Thank you for your help.
Re: Incorrect open_basedir
Posted: Sat Apr 22, 2017 9:37 am
by ScIT
Daimko wrote:Where can I edit this root path configuration ?
Thank you for your help.
that's wordpress related, not vestacp. Your wordpress tries to access the following path: / home / u941222742 / public_html / wp-content / uploads / 2017/04
So there is a missconfiguration of wordpress, basedir restriction will not allow you to access that path. And also the path is not vestacp typical.
Re: Incorrect open_basedir
Posted: Sat Apr 22, 2017 11:21 am
by Daimko
It's ok, problem solved.
Thank you !
Re: Incorrect open_basedir
Posted: Sat Apr 22, 2017 5:16 pm
by mehargags
/home/admin/ Tmp ≠ /home/admin/tmp
Pay attention to capital letters... linux is case sensitive
&
Why are there spaces between your directory path ?
Also ... if you see your problem solved, please have the courtesy to write what exactly resolved your issue and mark the topic solved
Re: Incorrect open_basedir
Posted: Fri Apr 28, 2017 2:23 am
by totoro
I have same problem on my site
https://www.gaubongdep.com/
I follow ScIT post but nothing changes...