richwalker Posted November 6, 2014 Report Share Posted November 6, 2014 My logo is missing on invoices that have been automatically generated. The logo has worked in the past. It's strange as it's been fine up and till a couple of weeks ago. I'm pretty sure I haven't changed anything. Quote Link to comment Share on other sites More sharing options...
0 richwalker Posted January 31, 2015 Author Report Share Posted January 31, 2015 Hi mediagin Yes mate, they only way i could get it work was to change the cron to lynx -dump 'https://www.mydomain.com/cron/?cron_key=1234abc' Replace mydomain.com to your domain & the cron key to yours. Thanks Quote Link to comment Share on other sites More sharing options...
0 Paul Posted December 14, 2017 Report Share Posted December 14, 2017 3 hours ago, katycomputer said: I converted my logo to pdf, still no joy. I don't have Photoshop to try PDF without transparency. I miss-typed, I meant PNG without transparency. If you send me your logo in JPG, I can try saving in Photoshop as PNG for you to see if it works. katycomputer 1 Quote Link to comment Share on other sites More sharing options...
0 Michael Posted November 6, 2014 Report Share Posted November 6, 2014 Settings > company > Billing/Payment > invoice customization > logo does it show up? Quote Link to comment Share on other sites More sharing options...
0 richwalker Posted November 6, 2014 Author Report Share Posted November 6, 2014 Yes mate it is. Quote Link to comment Share on other sites More sharing options...
0 Michael Posted November 6, 2014 Report Share Posted November 6, 2014 Yes mate it is. weird Quote Link to comment Share on other sites More sharing options...
0 Paul Posted November 6, 2014 Report Share Posted November 6, 2014 Does your PHP have the GD library? TCPDF sometimes uses the GD library to format the logo or background image. Michael 1 Quote Link to comment Share on other sites More sharing options...
0 richwalker Posted December 5, 2014 Author Report Share Posted December 5, 2014 Hi Paul Sorry for the delay, Yes we have GD library installed. We are running php in CGI module Version 5.4.35 GD Version 2.1.0 The logo shows on PDF's if you login to the control panel and view that way. Its just via email that's the problem ' Quote Link to comment Share on other sites More sharing options...
0 Tyson Posted December 5, 2014 Report Share Posted December 5, 2014 If you go to a client's profile and email yourself a copy of an invoice manually, is the image available? I wonder if GD is not configured/available via CLI on your web server. Quote Link to comment Share on other sites More sharing options...
0 richwalker Posted December 5, 2014 Author Report Share Posted December 5, 2014 Hi Tyson Yes the logo is attached to the pdf if I manually send it. Quote Link to comment Share on other sites More sharing options...
0 Paul Posted December 5, 2014 Report Share Posted December 5, 2014 Your CLI environment may not have GD. SSH in as the user your cron runs as (Usually the same as FTP) and run this: php -i | grep GD It should say something like: GD Support => enabled GD Version => bundled (2.x.x compatible) If it doesn't show that, then it's not available. Michael 1 Quote Link to comment Share on other sites More sharing options...
0 richwalker Posted December 6, 2014 Author Report Share Posted December 6, 2014 Hi Paul Yes GD support is enabled version 2.1.0 Thanks Quote Link to comment Share on other sites More sharing options...
0 mediagin Posted January 31, 2015 Report Share Posted January 31, 2015 I am running into this same problem. The logo image appears when viewed/downloads or when manually sent but it does not appear when automatically sent. Any resolution to this? Thanks. Quote Link to comment Share on other sites More sharing options...
0 mediagin Posted January 31, 2015 Report Share Posted January 31, 2015 Sorry, I'm not sure what this is. Is this something replaced in Blesta? I tried changing the cron command to this, but it did not take it. Quote Link to comment Share on other sites More sharing options...
0 mediagin Posted February 1, 2015 Report Share Posted February 1, 2015 Thanks for the help. I believe got my situation figured out using these instructions: http://docs.blesta.com/display/user/Installing+Blesta#InstallingBlesta-4.SetupaCronJob. Quote Link to comment Share on other sites More sharing options...
0 Guest ipnet Posted February 25, 2015 Report Share Posted February 25, 2015 Ok Guys, having the same issue the logo in the pdf invoices only shows up when manually sent not auto sent. I did check and GD support is enabled version 2.1.0. @richwalker I have no idea what you mean. Do I do this on the server level or change the cronkey in blesta. I'm totally lost. Thank in advance for some guidance! My cron is working great ...here is a screenshot http://www.evernote.com/shard/s32/sh/07c18cd9-bfbd-437c-8fc9-bb18405e25f1/e7fefd4e41a8ad7990d81a1de9a7e613 Quote Link to comment Share on other sites More sharing options...
0 Paul Posted February 25, 2015 Report Share Posted February 25, 2015 Ok Guys, having the same issue the logo in the pdf invoices only shows up when manually sent not auto sent. I did check and GD support is enabled version 2.1.0. @richwalker I have no idea what you mean. Do I do this on the server level or change the cronkey in blesta. I'm totally lost. Thank in advance for some guidance! My cron is working great ...here is a screenshot http://www.evernote.com/shard/s32/sh/07c18cd9-bfbd-437c-8fc9-bb18405e25f1/e7fefd4e41a8ad7990d81a1de9a7e613 You should set a cron key if you are going to run it via web, by using lynx (richwalker's example), wget, or other. Please see "Running the cron via the web" at http://docs.blesta.com/display/user/Installing+Blesta#InstallingBlesta-4.SetupaCronJob Quote Link to comment Share on other sites More sharing options...
0 Guest ipnet Posted February 25, 2015 Report Share Posted February 25, 2015 What is the command or how could I find out if GD Library is using CLI? Sorry gentlemen this is really advanced for me. Becuase it is my understanding that if GD Libray was using CLI on the server that would be the best way to go. Or am I complete wrong? Quote Link to comment Share on other sites More sharing options...
0 AdamDG Posted March 4, 2015 Report Share Posted March 4, 2015 We ran into a similar problem where logos were always showing up on our invoices if the invoices were generated "on demand" by clicking on something within Blesta, but they would not show up in automatically generated invoices. The component of Blesta that generates the PDF files appears to be expecting an absolute path to the logo file, however it is only actually receiving a relative path. So, unless the working directory of the cron job is the directory in which the Blesta install resides, the problem will occur. In our hosting environment, the working directory of a cron job is, by default, one level higher than the directory where Blesta (or any other website) would reside. We fixed this by wrapping the cron job in our own shell script that does a cd to the proper working directory just prior to executing the cron job script. Quote Link to comment Share on other sites More sharing options...
0 katycomputer Posted December 6, 2017 Report Share Posted December 6, 2017 I am having the same problem. No logo on PDF invoices. Logo settings are set on /admin/settings/company/billing/customization [root@cp ~]# php -i | grep GD GD Support => enabled GD Version => bundled (2.1.0 compatible) [root@cp ~]# Any other ideas? Quote Link to comment Share on other sites More sharing options...
0 Paul Posted December 6, 2017 Report Share Posted December 6, 2017 3 hours ago, katycomputer said: I am having the same problem. No logo on PDF invoices. Logo settings are set on /admin/settings/company/billing/customization [root@cp ~]# php -i | grep GD GD Support => enabled GD Version => bundled (2.1.0 compatible) [root@cp ~]# Any other ideas? What format is the logo? Try PDF without transparency. People have reported issues with transparency. If you are using Photoshop, also save using "Save for web" Quote Link to comment Share on other sites More sharing options...
0 Shane O-Mac Posted December 12, 2017 Report Share Posted December 12, 2017 Mines doing the same with our letterhead image. Any idea on getting a work around. Quote Link to comment Share on other sites More sharing options...
0 katycomputer Posted December 12, 2017 Report Share Posted December 12, 2017 My logo is in jpg format, I haven't had time to test Paul's suggestion to convert it to a PDF. Quote Link to comment Share on other sites More sharing options...
0 katycomputer Posted December 14, 2017 Report Share Posted December 14, 2017 I converted my logo to pdf, still no joy. I don't have Photoshop to try PDF without transparency. Quote Link to comment Share on other sites More sharing options...
0 katycomputer Posted December 15, 2017 Report Share Posted December 15, 2017 Paul, I found a suitable PNG - it looks great. Thank you. Paul and Michael 2 Quote Link to comment Share on other sites More sharing options...
Question
richwalker
My logo is missing on invoices that have been automatically generated.
The logo has worked in the past. It's strange as it's been fine up and till a couple of weeks ago. I'm pretty sure I haven't changed anything.
Link to comment
Share on other sites
24 answers to this question
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.