PHPExcel导出时无法保存,因为无法读取源文件

使用PHPexcel 导出时,在google 浏览器时下载会出现网络错误。
在Firefox 下载时读取不到源文件图片说明

我的配置是这样的。

        ob_end_clean();
        header("Content-Type: application/force-download");
        header("Content-Type: application/octet-stream");
        header("Content-Type: application/download");
        header('Content-Disposition:inline;filename="'.$savefile.'.xls');
        header("Content-Transfer-Encoding: binary");
        header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
        header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
        header("Pragma: no-cache");

大佬们看下有啥问题吗

看了很多人遇到这个问题,最终的解决方案是:

1、卸载火狐使用其他浏览器下载即可;

2、复制下载地址使用迅雷下载或者Internet Download Manager
IDM下载即可;