Okay
  Public Ticket #2484315
error
Closed

Comments

  • pavlo started the conversation

    installed wpDataTables , Report Builder, created doc template and added in plugin. When i try download document in related url page. Something went wrongs and i get:

    Fatal error: Uncaught PhpOffice\PhpWord\Exception\Exception: Could not close zip file /home/helpbank/.system/tmp/PhpWordic4mWF: in /home/helpbank/helpbank.com.ua/www/wp-content/plugins/reportbuilder/lib/phpoffice/phpword/src/PhpWord/Shared/ZipArchive.php:164

    Stack Trace

    1.PhpOffice\PhpWord\Shared\ZipArchive->close()/home/helpbank/helpbank.com.ua/www/wp-content/plugins/reportbuilder/lib/phpoffice/phpword/src/PhpWord/TemplateProcessor.php:403

    2.PhpOffice\PhpWord\TemplateProcessor->save()/home/helpbank/helpbank.com.ua/www/wp-content/plugins/reportbuilder/lib/phpoffice/phpword/src/PhpWord/TemplateProcessor.php:419

    3.PhpOffice\PhpWord\TemplateProcessor->saveAs('/home/helpbank/...')/home/helpbank/helpbank.com.ua/www/wp-content/plugins/reportbuilder/source/class.document.builder.php:161

    4.WDTReportBuilder\DocumentBuilder->fillInSingleFile()/home/helpbank/helpbank.com.ua/www/wp-content/plugins/reportbuilder/source/class.document.builder.php:256

    5./home/helpbank/helpbank.com.ua/www/wp-content/plugins/reportbuild in /home/helpbank/helpbank.com.ua/www/wp-content/plugins/reportbuilder/lib/phpoffice/phpword/src/PhpWord/Shared/ZipArchive.php on line 164


  •  2,572
    Aleksandar replied

    Hello pavlo

    Judging by that error message, it seems like you don't have ZipArchive installed on your website.

    Please reach out to your hosting provider and ask them to install the Zip Archive.

    Before doing that, however, you may want to check if you're on the latest versions of wpDataTables (3.0.1) and Report Builder (1.2).

    If you haven't updated the plugin and the addon, please do that and test again.

    Please download the full version from the email you received when you purchased the plugin (some hostings treat it as Spam, so please check your Spam folder as well). Also, you received an email with credentials for our store https://store.tms-plugins.com/login where you can download the full version fom.

    My suggestion is to update the plugin manually by following these steps:

    1.) Download zip from our store or from the email you received when you purchased the plugin

    2.) Use FTP to open /yourwordpressfolder/wp-content/plugins

    3.) Delete existing wpdatatables folder.

    4.) Upload the previously downloaded wpdatatables folder through FTP into "plugins" folder (unzip it)

    5.)  Go to WP-admin panel, open Plugins section.

    6.) Deactivate wpDataTables Plugin, and then activate it again.

    7.) Clear server and browser cache

    ____________________________________________________________________________________________

    If you are on hosting where you are not allowed to access your FTP, then follow these instructions:

    Please note that, before deleting the plugin from the Plugins page, it is recommended to enable the option "Prevent deleting tables in database" in main settings of the plugin if you want to keep your tables after deletion from the Plugins page. If you uncheck this option, all your tables will be deleted and you will need to create them again.

    1.) Download zip from our store or from the email you received when you purchased the plugin

    2.) Delete wpDataTables plugin from WordPress' Plugins page

    3) Click on Add new in top left of your Plugins page

    4) Click on Upload plugin in top left of your Plugins page

    5.) Choose the previously downloaded wpdatatables.zip file

    6.) When uploading is done, please Activate wpDataTables plugin

    7.) Clear server and browser cache.

    Please note that our plugin is around 14 MB in size, so if you are not able to upload it through WordPress plugins page, you will need to increase the following:

    upload_max_file size, 

    post_max_size,

    max_execution_time

    You should be able to find these values in your php.ini file or on your hosting panel. If you can't find it yourself please ask your hosting provider to provide it.


    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables