PHPExcel export table errors should be caused by php. ini problems. you can export them locally. the server prompts these errors. Which of the following experts can help you solve them!

Source: Internet
Author: User
PHPExcel export table errors should be caused by php. ini problems. you can export them locally. the server prompts these errors. Which of the following experts can help you solve them! 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. list. php (564): PHPExcel_Writer_Excel2007-> save ('exceltemp/14335... ') #1 D: \ web \ Domains \ bn.gzgbi.com \ public_html \ m \ 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.");}


Reply to discussion (solution)

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

Come on, help me

Cocould not close zip file cannot close zip file

The temporary file generated when xlsx is created is hijacked by system software (such as virus firewall)

Cocould not close zip file cannot close zip file

The temporary file generated when xlsx is created is hijacked by system software (such as virus firewall)

Thank you, moderator. do you want to disable this firewall?

Cocould not close zip file cannot close zip file

The temporary file generated when xlsx is created is hijacked by system software (such as virus firewall)

I don't know which service to close

Try it.
I don't know which one to close? Ask the network administrator

Try it.
I don't know which one to close? Ask the network administrator

Thank you very much.

I have also encountered this issue with folder permissions.

Just modify it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.