valendesigns / option-tree

Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
GNU General Public License v2.0
597 stars 179 forks source link

open_basedir Error in option tree #732

Open armin0chehr opened 3 years ago

armin0chehr commented 3 years ago

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 commented 3 years ago

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?