警告:取消链接(D:\ Temp / ...... tmp):权限被拒绝

时间:2016-04-08 00:20:20

标签: php wordpress ftp permission-denied tmp

我正在服务器1和1上迁移我的网站wordpress 但我有这个错误

enter image description here

警告1

  

警告:取消关联(D:\ Temp / 2457288785706f20cd0bab.tmp):第1776行E:\ kunden \ homepages \ 13 \ d228433126 \ www \ wordpress \ wp-includes \ functions.php中的权限被拒绝

        // check tmp file for read/write capabilities
        $should_delete_tmp_file = !file_exists( $path );
        $f = @fopen( $path, 'a' );
        if ( $f === false )
            return false;
        fclose( $f );
        if ( $should_delete_tmp_file )
 1776   unlink( $path );
            return true;
         }

警告2

  

警告:fopen(D:\ Temp / custom-yKSRXm.tmp):无法打开流:E:\ kunden \ homepages \ 13 \ d228433126 \ www \ wordpress \ wp-admin \ includes \ class-中的权限被拒绝第117行的wp-filesystem-ftpext.php

    public function get_contents( $file ) {
    $tempfile = wp_tempnam($file);
117 $temp = fopen($tempfile, 'w+');

    if ( ! $temp )
        return false;

    if ( ! @ftp_fget($this->link, $temp, $file, FTP_BINARY ) )
        return false;

有人帮助!!

0 个答案:

没有答案