Forum


Replies: 7   Views: 4171
Input file doesn't exist while pdf conversion
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 30-09-2018 - 09:41

Hello,

That's a generic error from ZipArchive PHP when the file can't be created. The most common source of this problem is missing write access to the temp folder or an open_basedir restriction:

https://laracasts.com/discuss/channels/servers/ziparchiveclose-failure-to-create-temporary-file-no-such-file-or-directory

We recommend you to check your server config. Maybe it's not using /tmp as default temp folder or you have some open_basedir restriction. Or you are trying to save the DOCX in a not existing folder:

http://php.net/manual/en/ziparchive.close.php

Regards.