Support » Fixing WordPress » Problems with the Automatic Plugin Update

  • Hey guys,

    Since some days I’m getting the following error messages, whenever I try to use the automatic update to update a plugin:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/tmp//1220478786) is not within the allowed path(s): (/var/www/web28/html/:/var/www/web28/phptmp/:/var/www/web28/files/:/var/www/web28/atd/) in /var/www/web28/html/wp-includes/functions.php on line 1559

    Warning: touch() [function.touch]: open_basedir restriction in effect. File(/tmp/1220478786) is not within the allowed path(s): (/var/www/web28/html/:/var/www/web28/phptmp/:/var/www/web28/files/:/var/www/web28/atd/) in /var/www/web28/html/wp-admin/includes/file.php on line 95

    Warning: fileowner() [function.fileowner]: open_basedir restriction in effect. File(/tmp/1220478786) is not within the allowed path(s): (/var/www/web28/html/:/var/www/web28/phptmp/:/var/www/web28/files/:/var/www/web28/atd/) in /var/www/web28/html/wp-admin/includes/file.php on line 451

    Warning: unlink() [function.unlink]: open_basedir restriction in effect. File(/tmp/1220478786) is not within the allowed path(s): (/var/www/web28/html/:/var/www/web28/phptmp/:/var/www/web28/files/:/var/www/web28/atd/) in /var/www/web28/html/wp-admin/includes/file.php on line 453

    It than asks me to provide the FTP connection details and when I do, it throws out more of the same errors and adds:

    Warning: ftp_rawlist() [function.ftp-rawlist]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/web28/html/:/var/www/web28/phptmp/:/var/www/web28/files/:/var/www/web28/atd/) in /var/www/web28/html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 192

    Warning: ftp_rawlist() [function.ftp-rawlist]: Unable to create temporary file. Check permissions in temporary files directory. in /var/www/web28/html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 192

    WordPress-Plugin Directory couldn’t be found.

    The installation was unsuccessful.

    When I check the line 192 in the class-wp-filesystem-ftpext.php, I’m unable to find anything about permissions…

    This problem pretty much came out of nothing (or nothing I could specify), as only a few weeks back, the automatic update worked fine…

    Anyone has an idea where this problem is coming from? Or even better, how to dissolve it?

    Thanks already

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter frei-gen

    (@frei-gen)

    Anyone a clue where this problem is coming from? Any hint would be nice…

    I’m having the same and according to my host provider the correct tmp-dir location is /tmp instead of /var/tmp – I guess this is a host specific setting… (got this reaction today from my host provider).

    Haven’t been able to crack the issue yet as I can’t find where the /var/tmp is set in the WordPress code 😐

    In your cause it should be one of the following:

    /var/www/web28/html/:/var/www/web28/phptmp/:/var/www/web28/files/:/var/www/web28/atd/

    And I think you should use the: /var/www/web28/phptmp/

    Define your temp folder in the config.php

    define('WP_TEMP_DIR','/tmp');

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problems with the Automatic Plugin Update’ is closed to new replies.