Forum


Replies: 7   Views: 4643
Error with pdf generation with new phpdocx pro
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 dlange  · 16-05-2012 - 23:36

Hey,

I just tried out the new version but am not able to generate any PDF files. I always get the following errors:
[code]A PHP Error was encountered
Severity: Warning
Message: ZipArchive::getFromName(): Invalid or unitialized Zip object
Filename: classes/TransformDoc.inc
Line Number: 245[/code]
[code]A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: classes/TransformDoc.inc
Line Number: 248[/code]
[code]A PHP Error was encountered
Severity: Warning
Message: ZipArchive::getFromName(): Invalid or unitialized Zip object
Filename: classes/TransformDoc.inc
Line Number: 285[/code]
[code]A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: classes/TransformDoc.inc
Line Number: 288[/code]
[code]A PHP Error was encountered
Severity: Warning
Message: DOMDocument::loadXML(): Empty string supplied as input
Filename: classes/TransformDoc.inc
Line Number: 370[/code]

Both ZIP and XSL are activated. Any idea on how to fix this?

Best,
Daniel