Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP PDF Stamper

Trying to stamp a large file

(4 posts) (2 voices)
  • Started 1 year ago by uNeedStuff
  • Latest reply from uNeedStuff
  • Possible Solutions (Related Topics):
    1. An error occurred while trying to stamp the file!
    2. An error occured while trying to stamp the file!
    3. An error occured while trying to stamp the file!
    4. An error occured while trying to stamp the file
    5. WP PDF Stamper plugin: "An error occurred while trying to stamp the file!"

Tags:

  • large files
  • Out of memory
  • PHP error
  1. uNeedStuff
    Member

    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!

    Posted 1 year ago #
  2. amin007
    Key Master

    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.

    Posted 1 year ago #
  3. uNeedStuff
    Member

    Thanks we'll give it a try!

    Posted 1 year ago #
  4. uNeedStuff
    Member

    Worked! Thanks so much :)

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin