• When i have updates the server and wordpresses i have a strange problem

    /** i added this echo into
    vi +156 wp-admin/includes/file.php
    FULLPATH /tmp/ AND /tmp/wordpress-4.tmp
    */

    Unpacking the update…
    Could not create directory.
    Installation Failed
    more info:
    drwxrwxrwt. 3 root root 24576 Nov 30 13:09 tmp

    wp-content/* = 777

    I dont understand it anymore

Viewing 1 replies (of 1 total)
  • Thread Starter marcelkraan

    (@marcelkraan)

    Any idea how this become a problem?
    Also all updates fail
    Folder are all 777 and the /tmp 1777

    function wp_tempnam($filename = ”, $dir = ”) {
    if ( empty($dir) )
    $dir = get_temp_dir();
    $filename = basename($filename);
    if ( empty($filename) )
    $filename = time();

    $filename = preg_replace(‘|\..*$|’, ‘.tmp’, $filename);
    $filename = $dir . wp_unique_filename($dir, $filename);
    echo ” FULLPATH $dir AND $filename”;
    touch($filename);
    return $filename;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘updates problem in wp 4.01’ is closed to new replies.