0
Hi,
I like your product. I'm trying to send email to customers from SALES list. Email and smtp not working from Digital ocean.
Results are below...
http://139.59.16.88/admin/sales/email/2
This page isn’t working139.59.16.88 is currently unable to handle this request.
HTTP ERROR 500
*enabled less-secure app in Google.
Instructions on email setup will be helpful.
My hosting ip 139.59.16.88 (login with your login credential).
And also, is POS printing layout set for POS printer? If not, how to do it?
Many thanks
0
Hi, if you are trying to setup SMTP under setting you will need a valid domain, username, password , can you show us your SMTP setting please from the setting page so we can take a better look ?
I can guide you on that.
0
Hello,
Please update default email address and mail settings. If you need to test, you can use mailtrap.io
For 500 error, please check the server error logs and let me know the details so that I can suggest.
If you need to enable app logs, you can change the log_threshold
to 1 in app/config/config.php
and then visit the page again to reproduce error. Lastly check the latest log file in app/logs/
folder.
Thank you
0
Hi, Same error with domain name. Page goes to non secure page from Secure once I try to send email ! Thanks.
https://nbinventory.com/admin/sales/email/1
This page isn’t working nbinventory.com is currently unable to handle this request.
HTTP ERROR 500
SMTP settings:
Protocol: smtp.gmail.com
port: 587 or 465
SMTP Crypto: SSL
0
Log error:
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
ERROR - 2020-08-19 23:49:02 --> Severity: error --> Exception: Class 'DOMDocument' not found /var/www/nbinventory/vendor/dompdf/dompdf/lib/html5lib/TreeBuilder.php 155
0
Hello,
Please make sure that php-xml
& php-dom
are installed and enabled for your php versions.
The issue caused by pdf library. Can you try to download the sales as pdf and see if it works?
There are 2 pdf libraries option, dompdf and mopdf. Please try both. Once you able to download the pdf file then try to email again.
Thank you
0
Hi, as you guessed, I cant even download pdf.
php-xml & php-dom are installed and enabled.
My php version : PHP 7.3.21-1+ubuntu18.04.1+deb.
(email works on localhost xampp)Thanks.
0
Hello,
If it works on localhost, the same code should work on live server too. Might be some config related issue.
Did you try with mpdf?
0
Page goes to non secure page from Secure and looses ssl certificate and cookies, once I try to send email !
I did try with mpdf, still same. php version issue or any other module need to install?
digital ocean is the tricky one, app developers don't provide any documentations for it.
Thanks.
0
Page goes to non secure page from Secure and looses ssl certificate and cookies, once I try to send email !
I did try with mpdf, still same. php version issue or any other module need to install?
digital ocean is the tricky one, app developers don't provide any documentations for it.
Thanks.
0
Hello,
What is your base_url
in app/config/cobnfig.php
It should be https://
and that will be used for all ajax call.
Did you follow the instruction from docs to enable https?
Thank you
We use Cookies
We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.