shankarc Posted August 28, 2010 Share Posted August 28, 2010 Hello there, whenever the invoice generated, our customers are receiving a blank pdf invoice. How can I fix this. I'm using 4.3.1, this problem exists since 4.2.1. 5290.pdf 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted August 28, 2010 Share Posted August 28, 2010 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. 0 Quote Link to comment Share on other sites More sharing options...
shankarc Posted September 1, 2010 Author Share Posted September 1, 2010 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.? 0 Quote Link to comment Share on other sites More sharing options...
michaeljorta Posted September 2, 2010 Share Posted September 2, 2010 I am having this same issue as well since the 4.2.1 release and just upgraded to the 4.3 release. Any other suggestions on how to resolve this concern? 0 Quote Link to comment Share on other sites More sharing options...
lbeachmike Posted December 6, 2010 Share Posted December 6, 2010 Hi there - I have the same issue and have followed this guidance by putting $display_errors = true; into my configuration.php file. However, I have not seen any errors. Where would the errors show up? Thanks. Mike 0 Quote Link to comment Share on other sites More sharing options...
craigedmonds Posted February 6, 2011 Share Posted February 6, 2011 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. 0 Quote Link to comment Share on other sites More sharing options...
artistichosting Posted February 9, 2011 Share Posted February 9, 2011 Same problem here too 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted February 9, 2011 Share Posted February 9, 2011 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. 0 Quote Link to comment Share on other sites More sharing options...
craigedmonds Posted February 9, 2011 Share Posted February 9, 2011 I sent support ticket into the whmcs team and got it resolved with their help. 1. make sure templates_c folder chmod to 777 2. reuploaded invoicepdf.tpl After that pdf invoices were generating okay. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.