Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Incorrect open_basedir Topic is solved

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Locked
  • Print view
Advanced search
25 posts
  • Previous
  • 1
  • 2
  • 3
  • Next
ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Incorrect open_basedir

Post by ScIT » Sat Apr 22, 2017 8:43 am

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
Top

Daimko
Posts: 27
Joined: Sun Mar 26, 2017 9:43 pm

Os: Debian 7x
Web: apache + nginx
Re: Incorrect open_basedir

Post by Daimko » Sat Apr 22, 2017 8:57 am

What value should I put in this case ?
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Incorrect open_basedir

Post by ScIT » Sat Apr 22, 2017 9:05 am

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
Top

Daimko
Posts: 27
Joined: Sun Mar 26, 2017 9:43 pm

Os: Debian 7x
Web: apache + nginx
Re: Incorrect open_basedir

Post by Daimko » Sat Apr 22, 2017 9:11 am

.stpl
Image

.tpl
Image
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Incorrect open_basedir

Post by ScIT » Sat Apr 22, 2017 9:23 am

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.
Top

Daimko
Posts: 27
Joined: Sun Mar 26, 2017 9:43 pm

Os: Debian 7x
Web: apache + nginx
Re: Incorrect open_basedir

Post by Daimko » Sat Apr 22, 2017 9:33 am

Where can I edit this root path configuration ?
Thank you for your help.
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Incorrect open_basedir

Post by ScIT » Sat Apr 22, 2017 9:37 am

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.
Top

Daimko
Posts: 27
Joined: Sun Mar 26, 2017 9:43 pm

Os: Debian 7x
Web: apache + nginx
Re: Incorrect open_basedir

Post by Daimko » Sat Apr 22, 2017 11:21 am

It's ok, problem solved.
Thank you !
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Incorrect open_basedir

Post by mehargags » Sat Apr 22, 2017 5:16 pm

/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
Top

totoro
Posts: 1
Joined: Fri Apr 28, 2017 2:16 am

Re: Incorrect open_basedir

Post by totoro » Fri Apr 28, 2017 2:23 am

I have same problem on my site https://www.gaubongdep.com/

I follow ScIT post but nothing changes...
Top


Locked
  • Print view

25 posts
  • Previous
  • 1
  • 2
  • 3
  • Next

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password