Unable to run on Apache: TCPDF Error
-
Hello we migrated today from a Windows server on AWS running php to a WPEngine hosting running Apache. The problem that I have is that the PDF files pull from S3 but will not write to the wp-content/tmp folder. The host, WPE cannot change the server permissions outside of the install. In this case it’s attempting to write to /tmp/ on the server, rather than the root of my install. I’ve tried to specify a different tmp directory but it still seems to be using the default: define(‘WP_TEMP_DIR’, dirname(__FILE__) . ‘/wp-content/tmp/’);
When I attempt to download the PDF I get an error page “File download (TCPDF) error” with the message: “There was an error while preparing your file for download. Please contact support”
How can I fix this? Thank you.
- The topic ‘Unable to run on Apache: TCPDF Error’ is closed to new replies.