Jump to content

Blank PDF Invoice since 4.2.1


shankarc

Recommended Posts

you must have an error in your invoicepdf.tpl file or includes/tcpdf.php file could be corupted try re-uploading it.

Put $display_errors = true; into your configuration.php file which should show you the error if any.

 

I have done the above, but still no luck. any other suggestion.?

Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...

I am having the same issue.

 

I have just put my WHMCS onto a new standalone server, upgraded to 4.4.2 and am getting blank pdf files.

 

See: http://screencast.com/t/rpdc584t77

 

I have also put $display_errors=true; into my configuration file but seeing that this is probably not a php error then no errors will be displayed.

 

Maybe something is missing on this new server I have no idea, everything else seems to work perfectly except for pdf's.

Link to comment
Share on other sites

I came accross this a few weeks ago and it turned out that the file encoding was the problem.

To fix it in notepad++

I opened the file changed the encoding from ANSI to utf-8 without bom and also changed the EOL format from Macintosh to either windows or unix

Saved the file back to the server and all worked fine again.

 

This may not be your problem but could be a possibility.

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.

Guest
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