Support » Fixing WordPress » Warning:file_exists() [function.file-exists]: open_basedir restriction in effect

  • Resolved dudeankit


    I am using SALUTATION Buddypress theme on my wordpress website.
    I have installed and activated the theme, but I get this error –

    PHP Error Message

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/wp-content/themes/salutation/assets/images/icons/avatar-1.png) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a7409544/public_html/wp-content/themes/salutation/framework/utilities/media-functions.php on line 48

    You can have a look at the site –
    Please explain me how do I fix this? I have no clue and I searched forums with no help. 🙁
    I am using 000webhost for free hosting my site and for free website domain hosting.

  • The topic ‘Warning:file_exists() [function.file-exists]: open_basedir restriction in effect’ is closed to new replies.