• Resolved thesewside

    (@thesewside)


    Hello,

    I have ebooks with several pages. If the customer want to download them he get this notice:

    Fatal error: Maximum execution time of 30 seconds exceeded in /homepages/7/d789598127/htdocs/app789598205/wp-content/plugins/waterwoo-pdf/inc/tcpdi/tcpdi_parser.php on line 795

    I try the setup with a pdf of one page and it’s work perfect. Is there a maximum size of the file necessary?
    Thanks for the help.
    Regards
    Volker

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Little Package

    (@littlepackage)

    Hello @thesewside

    The ability of the plugin to watermark has less to do with the number of pages, than it has to do with the work you’re giving your server (hosting), and the ability of your server to perform that work. The plugin works by parsing the PDF contents into PHP memory, then watermarking as the contents are spit back into a file. If you are watermarking a PDF heavy with images, for example, and trying to do it on shared hosting with low CPU, and low PHP memory limits, it’s probably not always going to work. The server will struggle with the demand — this plugin can be resource intensive depending what it is asked to do.

    The simplest things to try now is to upgrade your PHP past version 7.0 and increase your PHP memory to 256MB or so (ask your hosting for help if you are unsure how to accomplish this). If your watermarking still stalls, you may need to invest in better hosting… or forego watermarking your files with this plugin.

    Thread Starter thesewside

    (@thesewside)

    I use php 7.4 with 256 MB memory-Limit.

    But the files have a lot of pictures. I think I have to find another solution.

    Plugin Author Little Package

    (@littlepackage)

    @thesewside I hope you have found a solution for your picture-filled PDFs. If you have any further questions, please open a new topic. Thank you and good luck!

    Thread Starter thesewside

    (@thesewside)

    I don’t find a solution yet. We have pdf’s with a lot of pictures.

    On billbee it is possible to insert a waterproof.

    Plugin Author Little Package

    (@littlepackage)

    @thesewside I don’t know about BillBee. All I can add here is that if you optimize your server for heavy CPU loads, and are careful with watermarking settings, you could watermark using a FPDF/TCPDF plugin like this one. If you do not have the resources to do the tuning which seems necessary here, I recommend you hire a developer.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error’ is closed to new replies.