-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
Description
Describe the Bug
below error not a download documents, http works but https does't work anybody can help
Error
An uncaught Exception was encountered
Type: PhpOffice\PhpWord\Exception\CopyFileException
Message: Could not copy 'example.docx' file to 'public_html/tfile/PhpWordw71ExY'.
Filename: /home/demo/public_html/vendor/phpoffice/phpword/src/PhpWord/TemplateProcessor.php
Line Number: 113
Backtrace:
File: /home/demo/public_html/application/controllers/Reports.php
Line: 3018
Function: __construct
File: /home/demo/public_html/index.php
Line: 315
Function: require_once
Steps to Reproduce
<?php
$contentStr = base_url() . "report/docs/example.docx";
$phpword = new \PhpOffice\PhpWord\TemplateProcessor($contentStr);- PHP Version : 7.2
- PHPWord Version : v0.18.*