AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: Mint Online on January 17, 2019, 04:29:26 PM
-
Hi,
I'm having some issues with sending emails. When I use the Send Email feature I get:
Task Failed
0 messages have been sent.
Step 1 - failed. (Connection error occurred. HTTP-status:403)
When a customer fills in a form I get the following errors in the log:
2019-01-17 21:27:26 - warning: AbanteCart core v.1.2.13 Illegal string offset 'directory' in <b>/home/.../public_html/core/engine/form.php</b> on line <b>695</b>
2019-01-17 21:27:26 - App Error: AbanteCart core v.1.2.13 AForm error: can't to move uploaded file to
Trace:
#0 /home/.../public_html/core/engine/form.php on line 706
#1 /home/.../public_html/storefront/controller/pages/content/contact.php on line 44
#2 /home/.../public_html/core/engine/dispatcher.php on line 293
#3 /home/.../public_html/core/engine/dispatcher.php on line 328
#4 /home/.../public_html/core/engine/page.php on line 98
2019-01-17 21:27:26 - App Error: AbanteCart core v.1.2.13 AForm error: can't to move uploaded file to
Trace:
#0 /home/.../public_html/core/engine/form.php on line 706
#1 /home/.../public_html/storefront/controller/pages/content/contact.php on line 44
#2 /home/.../public_html/core/engine/dispatcher.php on line 293
#3 /home/.../public_html/core/engine/dispatcher.php on line 328
#4 /home/.../public_html/core/engine/page.php on line 98
2019-01-17 21:27:26 - warning: AbanteCart core v.1.2.13 Illegal string offset 'directory' in <b>/home/.../public_html/core/engine/form.php</b> on line <b>695</b>
2019-01-17 21:27:26 - App Error: AbanteCart core v.1.2.13 AForm error: can't to move uploaded file to
Trace:
#0 /home/.../public_html/core/engine/form.php on line 706
#1 /home/.../public_html/storefront/controller/pages/content/contact.php on line 44
#2 /home/.../public_html/core/engine/dispatcher.php on line 293
#3 /home/.../public_html/core/engine/dispatcher.php on line 328
#4 /home/.../public_html/core/engine/page.php on line 98
2019-01-17 21:27:26 - App Error: AbanteCart core v.1.2.13 AForm error: can't to move uploaded file to
Trace:
#0 /home/.../public_html/core/engine/form.php on line 706
#1 /home/.../public_html/storefront/controller/pages/content/contact.php on line 44
#2 /home/.../public_html/core/engine/dispatcher.php on line 293
#3 /home/.../public_html/core/engine/dispatcher.php on line 328
#4 /home/.../public_html/core/engine/page.php on line 98
2019-01-17 21:27:26 - warning: AbanteCart core v.1.2.13 Illegal string offset 'directory' in <b>/home/.../public_html/core/engine/form.php</b> on line <b>695</b>
2019-01-17 21:27:26 - App Error: AbanteCart core v.1.2.13 AForm error: can't to move uploaded file to
Trace:
#0 /home/.../public_html/core/engine/form.php on line 706
#1 /home/.../public_html/storefront/controller/pages/content/contact.php on line 44
#2 /home/.../public_html/core/engine/dispatcher.php on line 293
#3 /home/.../public_html/core/engine/dispatcher.php on line 328
#4 /home/.../public_html/core/engine/page.php on line 98
2019-01-17 21:27:26 - Error: E-Mail sender required!
In either case no emails are received. With the form the admin panel notification message does appear.
I've tried both Mail and SMTP options.
Any advice on how to resolve would be appreciated.
Thanks
-
Hello. 403 error mean you have wrong permission to files.
Check task.php https://github.com/abantecart/abantecart-src/blob/master/public_html/task.php
and admin/controller/task/sale/contact.php
https://github.com/abantecart/abantecart-src/blob/master/public_html/admin/controller/task/sale/contact.php
For the customers form. From error looks like you add upload field to the contact us form and set wrong directory or not writable directory for that field
-
Thanks for the quick reply Basara.
I will check those settings and get back to you to confirm if it resolved the issue or not.
-
Hi again,
Changed the permissions on those two files to 644, and now I get the following error instead on Send Mail:
Step 1 - failed. (Task_id: 9 : step_id: 9 - Failed. 0 emails sent.)
Form upload still has the same error, the upload folder is "admin/system/uploads" and the permissions on that folder are 777.
Thanks
Trev
-
Hi again,
Changed the permissions on those two files to 644, and now I get the following error instead on Send Mail:
Step 1 - failed. (Task_id: 9 : step_id: 9 - Failed. 0 emails sent.)
Form upload still has the same error, the upload folder is "admin/system/uploads" and the permissions on that folder are 777.
Thanks
Trev
There should an error in the log related to the failed message. Check for that and share.
-
The errors in the log are below. Also when trying to send an email it hangs at 1% for a while then fails whereas before it was failing immediately.
2019-01-20 12:00:56 - Error: EHLO not accepted from server!
2019-01-20 12:00:56 - Error: AUTH LOGIN not accepted from server!
2019-01-20 12:00:56 - Error: Username not accepted from server!
2019-01-20 12:00:56 - Error: Password not accepted from server!
2019-01-20 12:00:56 - Error: MAIL FROM not accepted from server!
2019-01-20 12:00:56 - Error: RCPT TO not accepted from server!
2019-01-20 12:00:56 - Error: DATA not accepted from server!
2019-01-20 12:00:56 - Error: DATA not accepted from server!
2019-01-20 12:00:56 - Error: QUIT not accepted from server!
2019-01-20 12:00:56 - App Error: AbanteCart core v.1.2.13 AMail Errors: Error: EHLO not accepted from server!
Error: AUTH LOGIN not accepted from server!
Error: Username not accepted from server!
Error: Password not accepted from server!
Error: MAIL FROM not accepted from server!
Error: RCPT TO not accepted from server!
Error: DATA not accepted from server!
Error: DATA not accepted from server!
Error: QUIT not accepted from server!
Trace:
#0 /home/.../public_html/admin/controller/task/sale/contact.php on line 251
#1 /home/.../public_html/admin/controller/task/sale/contact.php on line 158
#2 /home/.../public_html/admin/controller/task/sale/contact.php on line 70
#3 /home/.../public_html/core/engine/dispatcher.php on line 293
#4 /home/.../public_html/core/engine/dispatcher.php on line 216
2019-01-20 12:00:56 - App Error: AbanteCart core v.1.2.13 Some errors during step run.
Trace:
#0 /home/.../public_html/admin/controller/task/sale/contact.php on line 198
#1 /home/.../public_html/admin/controller/task/sale/contact.php on line 192
#2 /home/.../public_html/admin/controller/task/sale/contact.php on line 70
#3 /home/.../public_html/core/engine/dispatcher.php on line 293
#4 /home/.../public_html/core/engine/dispatcher.php on line 216
2019-01-20 12:00:56 - Task_id: 10 : step_id: 10 - Failed. 0 emails sent.
step details:
array (
'step_id' => '10',
'task_id' => '10',
'sort_order' => '1',
'status' => '1',
'last_time_run' => '0000-00-00 00:00:00',
'last_result' => '0',
'max_execution_time' => '80',
'controller' => 'task/sale/contact/sendEmail',
'settings' =>
array (
'to' =>
array (
0 => '***',
),
'subject' => 'Test',
'message' => 'Test',
'store_name' => '***',
'subscribers' =>
array (
),
),
'date_added' => '0000-00-00 00:00:00',
'date_modified' => '2019-01-20 12:00:50',
)
Thanks
Trev
-
There is a clear connection/authentication error in your mail server.
Error: EHLO not accepted from server!
Error: AUTH LOGIN not accepted from server!
Error: Username not accepted from server!
Error: Password not accepted from server!
Error: MAIL FROM not accepted from server!
Error: RCPT TO not accepted from server!
Error: DATA not accepted from server!
Error: DATA not accepted from server!
Error: QUIT not accepted from server!
-
I've sorted it now, thanks for the help.
-
hello!
When someone using contact us form, the form arriving and notification email arriving to admin website. when the admin reading the messages top of dashboard there is tow messages waiting, 1st one is the client's form and the 2nd is Error: E-Mail sender required!
I'm using SMTP mailer and the permissions for those file public_html>task.php : 644 and public_html>admin>controller>task>sales>contact.php : 755
Shall I change the permissions too??
here is the contains of error log:
2019-07-12 0:04:34 - App Error: AbanteCart core v.1.2.15 AForm error: can't to move uploaded file to
Trace:
#0 /home/u8526052/public_html/core/engine/form.php on line 750
#1 /home/u8526052/public_html/storefront/controller/pages/content/contact.php on line 46
#2 /home/u8526052/public_html/core/engine/dispatcher.php on line 293
#3 /home/u8526052/public_html/core/engine/dispatcher.php on line 328
#4 /home/u8526052/public_html/core/engine/page.php on line 108
2019-07-12 0:04:34 - App Error: AbanteCart core v.1.2.15 AForm error: can't to move uploaded file to
Trace:
#0 /home/u8526052/public_html/core/engine/form.php on line 750
#1 /home/u8526052/public_html/storefront/controller/pages/content/contact.php on line 46
#2 /home/u8526052/public_html/core/engine/dispatcher.php on line 293
#3 /home/u8526052/public_html/core/engine/dispatcher.php on line 328
#4 /home/u8526052/public_html/core/engine/page.php on line 108
2019-07-12 0:04:34 - App Error: AbanteCart core v.1.2.15 AForm error: can't to move uploaded file to
Trace:
#0 /home/u8526052/public_html/core/engine/form.php on line 750
#1 /home/u8526052/public_html/storefront/controller/pages/content/contact.php on line 46
#2 /home/u8526052/public_html/core/engine/dispatcher.php on line 293
#3 /home/u8526052/public_html/core/engine/dispatcher.php on line 328
#4 /home/u8526052/public_html/core/engine/page.php on line 108
2019-07-12 0:04:34 - Error: E-Mail sender required!
2019-07-12 0:04:43 - warning: AbanteCart core v.1.2.15 Use of undefined constant CACHE_DRIVER - assumed 'CACHE_DRIVER' (this will throw an Error in a future version of PHP) in <b>/home/u8526052/public_html/core/helper/system_check.php</b> on line <b>126</b>
Thanks for your patient
Regards
SAMY
-
Check file permissions
-
Did you add "file" upload to the contact us form? If so check that upload folder exist and writable
-
Check file permissions
I changed it to 777 and nothing positive.
-
Did you add "file" upload to the contact us form? If so check that upload folder exist and writable
I disabled the file upload and nothing positive too.
-
here a screenshot for error.
-
Clean the AbanteCart error log and try again.
Check for latest errors after fail
-
Clean the AbanteCart error log and try again.
Check for latest errors after fail
I do next error only: 2019-07-21 14:29:59 - Error: E-Mail sender required!
I couldn't share screenshot because the max. allowed file size 650 kb. only
-
In your AbanteCart Mail setting what type of sender you have? SMTP or Php Mail?
-
Clean the AbanteCart error log and try again.
Check for latest errors after fail
This is the log error which i got:
2019-07-28 0:45:39 - Error: E-Mail sender required!
2019-07-28 0:46:18 - warning: AbanteCart core v.1.2.15 Use of undefined constant CACHE_DRIVER - assumed 'CACHE_DRIVER' (this will throw an Error in a future version of PHP) in <b>/home/u8526052/public_html/core/helper/system_check.php</b> on line <b>126</b>
-
Did you add "file" upload to the contact us form? If so check that upload folder exist and writable
Hello!
1. Where we gonna find the upload folder?
2. If someone sent a contact us form and uploaded a file, where it will be saved ??
3. why the contact us from appears only on admin dashboard and not arriving to the website admin's email??
Regards
HADY
-
Upload Directory - directory where uploaded files will be saved. Your directory will be created in _your_site_folder_/admin/system/uploads.
https://abantecart.atlassian.net/wiki/spaces/AD/pages/13500486/Forms+Manager
-
Upload Directory - directory where uploaded files will be saved. Your directory will be created in _your_site_folder_/admin/system/uploads.
https://abantecart.atlassian.net/wiki/spaces/AD/pages/13500486/Forms+Manager
Thanks Basara!
That was very helpful. What about my 3rd question please??
Regards
Hady
-
It is hard to answer. Incorrectly configured mail, hosting mail rules, sender (smtp provider).....
-
It is hard to answer. Incorrectly configured mail, hosting mail rules, sender (smtp provider).....
All of these rules were taken into consideration and applied correctly. What is missing then ??