Jump to content

PDF error / Invoicing

Recommended Posts

Hi there,



I'm getting this error every time it's something to do with PDF / invoicing if I were to click generate invoice or even if a customer were to register they get the same error.


Fatal error: Call to undefined function imagecreatefrompng() in /home/joe/public_html/includes/classes/class.tcpdf.php on line 8424


That line states: "if (!isset($file) OR $this->empty_string($file)) {"

Link to comment
Share on other sites

Managed to resolve this, for users having the same problems do the following:


You need to have PHP-GD installed



1: Login into WHM -> Software -> EasyApache [Apache Update]

2: During the build profile in step 5 you can find an option of set exhaustive list from where there will be one option of GD L:ibrary.

3: Select that option and rebuild the apache.

4: Restart cPanel and http services.



Do this Commands: yum install php-gd

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated