How to solve my avatar contact page error?

This topic has 4 replies, 2 voices, and was last updated 8 years, 6 months ago ago by Eva Kemp

  • Avatar: Webacto
    Webacto
    Participant
    October 9, 2015 at 20:42

    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?

    3 Answers
    Avatar: Webacto
    Webacto
    Participant
    October 10, 2015 at 10:57

    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?

    Avatar: Webacto
    Webacto
    Participant
    October 10, 2015 at 11:04

    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

    Avatar: Eva
    Eva Kemp
    Support staff
    October 12, 2015 at 08:14

    Hello,

    Glad to hear it.

    Have a nice day.

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

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

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.