Jump to content
  • 0

Invoices not being delivered


Question

Posted

Hello,

 

This is the error I'm seeing in console when running cron manually:

<strong>TCPDF ERROR: </strong>[Image] No such file or directory in

I'm using Blesta 3.6.2 version.

14 answers to this question

Recommended Posts

  • 0
Posted
42 minutes ago, George A. said:

Hello,

 

This is the error I'm seeing in console when running cron manually:

<strong>TCPDF ERROR: </strong>[Image] No such file or directory in

I'm using Blesta 3.6.2 version.

this can be related to the logo or background set for invoices , recheck them in, invoice customization .

  • 0
Posted

Hello,

 

If I disable the logo and background from invoice customization then all invoices are delivered.

Any solutions to keep the customization and have the invoices delivered?

  • 0
Posted
1 hour ago, George A. said:

Hello,

Both are .png images Mike.

 

Well the only thing I can think of other than that is: in /uploads/ is there a folder called "invoices"

Other than that it's either a big / corrupt image or something server related.

  • 0
Posted

Do you have the GD extension in your PHP? If not, try adding it. Also, try re-adding your logo or background image to your invoice. Does the logo and/or background image appear when trying to open an existing invoice?

  • 0
Posted
14 hours ago, Paul said:

Do you have the GD extension in your PHP?

Yes.

14 hours ago, Paul said:

Does the logo and/or background image appear when trying to open an existing invoice?

Yes.

But still the cron fails to deliver invoices via email when  the invoice customization is set.

If I remove the customization everything goes back to normal and invoices are delivered using email.

  • 0
Posted

If you disable the cron from running, and then run it manually from within Blesta instead, do invoices get delivered using your invoice customization images? My guess is the answer is 'yes'. In that case, the issue is probably that the cron you have setup runs on the server as a different user--a user that, perhaps, does not have read access to the uploads directories or the file itself.

  • 0
Posted

Hello,

If I disable the cron in the Automation section then it doesn't run at all (invoices don't get delivered) when I manually execute the cron.

Here is what I have in /etc/crontab

*/5 * * * * root /***censored***/php-cli5 -q /***censored***/public_html/index.php cron  > /dev/null 2>&1

  • 0
Posted

Hello,

 

Yes, I can run it and if the invoice customization or the "Deliver Invoices" cron is disabled it does not throw any error at all but the usual text: Validating license etc.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...