Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\Mpdf\Cache::clearOld Resource Temporarily Unavailable #1062

Closed
naknak987 opened this issue Jul 30, 2019 · 2 comments
Closed

\Mpdf\Cache::clearOld Resource Temporarily Unavailable #1062

naknak987 opened this issue Jul 30, 2019 · 2 comments

Comments

@naknak987
Copy link

naknak987 commented Jul 30, 2019

I found this bug / would like to have this new functionality

When \Mpdf\Cache::clearOld() is called it tries to clear out temp files that don't belong to it.
image
image
I'm sure that the ExchangePerflog_ 88*****.dat file does not belong to Mpdf.

This is mPDF and PHP version and environment (server/fpm/cli etc) I am using

mPDF 8.0.x
PHP 3.3.2 CLI on Windows 10

This is a PHP code snippet I use

I was trying to create a PDF using \PhpOffice\PhpSpreadsheet\Writer\Pdf\Mpdf.

@jakejackson1
Copy link
Contributor

The mPDF temporary directory should be assigned to a folder where only its files are stored, and not shared with any other applications.

@naknak987
Copy link
Author

@jakejackson1
Thank you for that. It appears that this is in fact an issue for PhpSpreadsheet then since the path to temporary would have been set in their code. My apologies for posting here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants