Phpexcel Export Table error should be a php.ini problem local can be exported, the server prompts these errors, which God help to solve a bit!

Source: Internet
Author: User
Fatal error:uncaught Exception ' exception ' with message ' Could not close zip file exceltemp/1433560598.xlsx. ' In D:\web\D omains\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: 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\D omains\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: 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

Somebody help me!

Could not close zip file cannot close zip files

The temporary files that are generated when you create xlsx are hijacked by the system software (such as virus firewalls)

Could not close zip file cannot close zip files

The temporary files that are generated when you create xlsx are hijacked by the system software (such as virus firewalls)

Thank you moderator is that the firewall to shut down?

Could not close zip file cannot close zip files

The temporary files that are generated when you create xlsx are hijacked by the system software (such as virus firewalls)

Just don't know which service to close

Can try
Don't know which one to turn? Let's ask the webmaster.

Can try
Don't know which one to turn? Let's ask the webmaster.

Thank you so much

I've had this problem, too. 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.