- This topic has 3 replies, 2 voices, and was last updated 13 years, 12 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP PDF Stamper › Trying to stamp a large file
Tagged: large files, Out of memory, PHP error
I am receiving the following error when trying to stamp a 25mb file.
Fatal error: Maximum execution time of 30 seconds exceeded in site-folders/wp-content/plugins/wp-pdf-stamper/lib/fpdi/FPDI_Protection.php on line 0
Is this too large a file to stamp?
Thanks for any help!
There is no restriction in the PDF stamper plugin as to how big a file can be. Basically, you can stamp file of any size.
Now, when the file is big it is expected that the script will run for a longer time as it has to go through every page and stamp it. Looks like your server is killing the script as it’s taking longer than the “Maximum PHP execution time” allowed by your server.
All you should need to do is change this execution timeout value to a slightly higher value so it doesn’t timeout. The maximum PHP execution timeout value is specified in your PHP.ini file of the server. It’s best to contact your hosting provider to do this if you are not familiar with it.
Thanks we’ll give it a try!
Worked! Thanks so much