Fatal error: Uncaught exception 'Exception' with message 'Could not close zip file excelTemp/1433560598.xlsx.' in D:\web\Domains\bn.gzgbi.com\public_html\m\patient\PHPExcel\Classes\PHPExcel\Writer\Excel2007.php:378 Stack trace: #0 D:\web\Domains\bn.gzgbi.com\public_html\m\patient\patient.list.php(564): PHPExcel_Writer_Excel2007->save('excelTemp/14335...') #1 D:\web\Domains\bn.gzgbi.com\public_html\m\patient\patient.php(36): include('D:\web\Domains\...') #2 {main} thrown in D:\web\Domains\bn.gzgbi.com\public_html\m\patient\PHPExcel\Classes\PHPExcel\Writer\Excel2007.php on line 378
// Close fileif ($objZip->close() === false) {throw new Exception("Could not close zip file $pFilename.");}
回複討論(解決方案)
Fatal error: Uncaught exception 'Exception' with message 'Could not close zip file excelTemp/1433560598.xlsx.' in D:\web\Domains\bn.gzgbi.com\public_html\m\patient\PHPExcel\Classes\PHPExcel\Writer\Excel2007.php:378 Stack trace: #0 D:\web\Domains\bn.gzgbi.com\public_html\m\patient\patient.list.php(564): PHPExcel_Writer_Excel2007->save('excelTemp/14335...') #1 D:\web\Domains\bn.gzgbi.com\public_html\m\patient\patient.php(36): include('D:\web\Domains\...') #2 {main} thrown inD:\web\Domains\bn.gzgbi.com\public_html\m\patient\PHPExcel\Classes\PHPExcel\Writer\Excel2007.php on line 378
快來人啊 幫幫忙
Could not close zip file 無法關閉 zip 檔案
應該是建立 xlsx 時產生的臨時檔案被系統軟體劫持了(比如病毒防火牆)
Could not close zip file 無法關閉 zip 檔案
應該是建立 xlsx 時產生的臨時檔案被系統軟體劫持了(比如病毒防火牆)
謝謝版主 那是不是要關閉這個防火牆?
Could not close zip file 無法關閉 zip 檔案
應該是建立 xlsx 時產生的臨時檔案被系統軟體劫持了(比如病毒防火牆)
就是不知道關閉哪個服務
可以嘗試一下
不知道關哪個?那就問問網管
可以嘗試一下
不知道關哪個?那就問問網管
非常感謝
我也遇到過這個問題 是檔案夾許可權的問題
修改一下就可以了