bluetreehost Posted July 28, 2007 Share Posted July 28, 2007 Hello, Is anyone else having a problem with the PDF invoice including the WHMCS logo instead of my custom logo? This worked previously but seems to be broken in current version (3.2.1) The e-mail custom logo looks fine, it is the PDF logo which is using the default logo, and I don't see a template for the PDF file. 0 Quote Link to comment Share on other sites More sharing options...
bluetreehost Posted July 28, 2007 Author Share Posted July 28, 2007 I think I found the answer - it looks like this is hard coded into /includes/pdfconfig.php. This should really be a variable that is retreived from the logo that is specified in the main configuration, which I think it did before. Thank you! 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted July 28, 2007 WHMCS CEO Share Posted July 28, 2007 It's never used the logo url you enter in the General Config and it can't because it has to be a local file. You just need to replace the "images/logo.jpg" file. Matt 0 Quote Link to comment Share on other sites More sharing options...
Baja Posted December 4, 2007 Share Posted December 4, 2007 Thought I would ad to this thread: I noticed my pdf 's were not working, thats when I found this thread and realized I had deleted the original logo.jpg file. You have to have something there from what I can tell other wise, at least in the adobe acrobat 8.1.1, the pdf will not open and only give errors. If you do not want a to add a logo you could just create a file called logo.jpg and make it white, 175W x 78H was the size of the original one. Then just put it into whmcs/images/ folder. 0 Quote Link to comment Share on other sites More sharing options...
Iceman Posted December 4, 2007 Share Posted December 4, 2007 Yup... it's a bit hard to fault find the pdfconfig.php file. Best off creating it a bit at a time. Break it into sections by commenting out blocks of it and retesting. A simple missed ; or missing image etc will break the creation of the pdf completely. Cheers, Paul 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.