option-tree icon indicating copy to clipboard operation
option-tree copied to clipboard

open_basedir Error in option tree

Open armin0chehr opened this issue 4 years ago • 1 comments

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

armin0chehr avatar Dec 23 '20 20:12 armin0chehr

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?

imangm avatar Jan 02 '21 07:01 imangm