This topic has 4 replies, 2 voices, and was last updated 8 years, 6 months ago ago by Eva Kemp
I’ve found suddley a reallys strange error in my two avatar contact page.
Have a look :0
http://lococostyle.com/contactus/
How to solve?
The error message is:
Warning: file_exists(): open_basedir restriction in effect. File(/.) is not within the allowed path(s): (/var/www/vhosts/lococostyle.com/:/tmp/) in /var/www/vhosts/lococostyle.com/httpdocs/wp-content/themes/royal/framework/images.php on line 139
And the related image.php code is this one:
// check if file exists
$base_file = $file_info[‘dirname’].’/’.$file_info[‘filename’].’.’.$file_info[‘extension’];
if ( !file_exists($base_file) )
return;
$extension = ‘.’. $file_info[‘extension’];
So, what’s wrong?
Solved adding two avatar images (that never existing without any errors)
I don’t understant why suddlenly are necesarian, but it’s ok
Solved
cheers
Hello,
Glad to hear it.
Have a nice day.
Regards,
Eva Kemp.
The issue related to '‘How to solve my avatar contact page error?’' has been successfully resolved, and the topic is now closed for further responses