AI智能回复搜索中,请稍后...
你好,这种问题一般跟服务器有关;
可能存在的原因有:
1、文件读取写入权限的问题
2、建议找到system/functions.app.php 中 找到get_avatar_url函数,删除以下代码试试是否可以正常访问
if(get_hook_info('osd')['state']==1 and get_plugins_config('osd')['base']['status']!='no')
	    {
	    	if($size==$key)
	    	{
	    	    if(!$avatar_file_arr[$uid])
                {
                    $avatar_file_arr[$uid] = AWS_APP::model('account')->fetch_one('users','avatar_file',"uid=$uid");
                }
	    	    $url = $avatar_file_arr[$uid];
                if(strstr($url, 'aliyuncs') && file_get_contents($url))
                {
                    $url=$url.'?x-oss-process=image/resize,m_fixed,h_'.$val['h'].',w_'.$val['w'].'#';
                }
                elseif(strstr($url, 'myqcloud') && file_get_contents($url))
                {
                    $url = $url . '?imageView2/1/w/' . $val['w'] . '/h/' . $val['h'];
                }else{
                    continue;
                }
                return $url;
	    	}
	    }或者屏蔽该函数返回默认头像测试试下