Support » Fixing WordPress » open_basedir restriction in effect

  • My host changed from plesk system to cpanel, after that I got this error everytime I upload an image:

    Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/var/tmp/php0ntQ0Y) is not within the allowed path(s): (/usr/home2/turbofsi/:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home2/turbofsi/public_html/wp-admin/admin-functions.php on line 1757

    Warning: move_uploaded_file(/var/tmp/php0ntQ0Y) [function.move-uploaded-file]: failed to open stream: Operation not permitted in /usr/home2/turbofsi/public_html/wp-admin/admin-functions.php on line 1757

    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move ‘/var/tmp/php0ntQ0Y’ to ‘/usr/home2/turbofsi/public_html/wp-content/uploads/2006/10/tt2_mtm.jpg’ in /usr/home2/turbofsi/public_html/wp-admin/admin-functions.php on line 1757
    The uploaded file could not be moved to .

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘open_basedir restriction in effect’ is closed to new replies.