Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open_basedir Error in option tree #732

Open
armin0chehr opened this issue Dec 23, 2020 · 1 comment
Open

open_basedir Error in option tree #732

armin0chehr opened this issue Dec 23, 2020 · 1 comment

Comments

@armin0chehr
Copy link

Hello,

I have had thus error appear at the top of my website . Please help me figure it out .
Warning: file_exists(): open_basedir restriction in effect. File (/home/sunwish/domains/sunwish.ir/public_html/wp-content/themes/avashop/dynamic.css) is not within the allowed path(s):
(/home/shop/:/tmp:/var/tmp:/opt/alt/php73/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php73/lib/php/)
in /home/shop/domains/sarasanat.ir/public_html/sub/wp-content/themes/rshop/admin/option-tree/includes/ot-functions.php on line 236

@imangm
Copy link
Contributor

imangm commented Jan 2, 2021

Hey,

As the error message reveals, Your script is in "/home/shop/domains/sarasanat.ir/public_html" directory but is trying to access "/home/sunwish/domains/sunwish.ir/public_html/" directory... This is not about option tree. It's about security rules in your hosting server.

Have you renamed your domain name in your hosting account?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants