Jump to content
  • 0
richwalker

Invoice Logo Missing

Question

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.

Share this post


Link to post
Share on other sites

24 answers to this question

Recommended Posts

  • 0
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.

Share this post


Link to post
Share on other sites
  • 0

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

'

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0
Guest ipnet

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

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0
Guest ipnet

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?

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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?

Share this post


Link to post
Share on other sites
  • 0
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"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×