Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Error 500 then PDF creates on refresh #25

Closed
comclusive opened this Issue · 1 comment

2 participants

@comclusive

Platform: Douwiki "Angua" on Windows Server 2008R2 IIS 7.5 with php 5.4.2

Client-side when I click create PDF I get error 500, then if I refresh the page I get the PDF correctly.

Server-side, I get the following error:

PHP Warning: Illegal string offset 'h' in C:\Websites\wiki\lib\plugins\dw2pdf\mpdf\mpdf.php on line 9165 PHP Warning: Illegal string offset 'h' in C:\Websites\wiki\lib\plugins\dw2pdf\mpdf\mpdf.php on line 9165 PHP Warning: opendir(C:/Websites/wiki/data/tmp/dwpdf/398,C:/Websites/wiki/data/tmp/dwpdf/398): The system cannot find the file specified. (code: 2) in C:\Websites\wiki\lib\plugins\dw2pdf\mpdf\mpdf.php on line 7132 PHP Warning: opendir(C:/Websites/wiki/data/tmp/dwpdf/398): failed to open dir: No such file or directory in C:\Websites\wiki\lib\plugins\dw2pdf\mpdf\mpdf.php on line 7132

Upon refresh, the PDF is generated correctly. I have ensured that the tmp\dwpdf folder exists and is fully writable, but there is nothing ever in it.

@comclusive

Thank you for the quick fix on this issue, works perfectly on latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.