George A. Posted September 21, 2016 Report Posted September 21, 2016 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. Quote
0 Blesta Addons Posted September 21, 2016 Report Posted September 21, 2016 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 . Michael 1 Quote
0 George A. Posted September 21, 2016 Author Report Posted September 21, 2016 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? Quote
0 Blesta Addons Posted September 21, 2016 Report Posted September 21, 2016 are your sure the logo or the background are well uploaded ? Quote
0 George A. Posted September 21, 2016 Author Report Posted September 21, 2016 Hello, Yes and the directory has 0777 permissions and it's included in open_basedir path. Quote
0 Michael Posted September 21, 2016 Report Posted September 21, 2016 Go to: yourdomain.com/blesta/settings/company/billing/customization/ and ensure you upload a PNG, GIF or a JPG. Quote
0 George A. Posted September 21, 2016 Author Report Posted September 21, 2016 Hello, Both are .png images Mike. Quote
0 Michael Posted September 21, 2016 Report Posted September 21, 2016 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. Quote
0 George A. Posted September 21, 2016 Author Report Posted September 21, 2016 Hello, The structure is /tmp/uploads/invoices/1/inv_logo.png and inv_bg.png Both images have 3kb each. Quote
0 Paul Posted September 21, 2016 Report Posted September 21, 2016 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? Michael 1 Quote
0 George A. Posted September 22, 2016 Author Report Posted September 22, 2016 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. Quote
0 Tyson Posted September 22, 2016 Report Posted September 22, 2016 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. Quote
0 George A. Posted September 24, 2016 Author Report Posted September 24, 2016 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 Quote
0 serge Posted September 24, 2016 Report Posted September 24, 2016 can you run this from terminal/console: /***censored***/php-cli5 -q /***censored***/public_html/index.php cron do that work or give error? Quote
0 George A. Posted September 24, 2016 Author Report Posted September 24, 2016 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. Quote
Question
George A.
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.