Post by RaceVTA » Thu Apr 08, 2021 7:55 pm

3.0.3.7 worked fine for a couple weeks, now out of nowhere orders are going to MISSING ORDERS, paypal payment is successful, when trying to change to PENDING pop up window show INTERNAL SERVER ERROR, uploaded yesterdays backup but issue is still there, cant manually add order either.
But I can edit products.

error logs:
2021-03-24 17:33:56 - PHP Notice: date_default_timezone_set(): Timezone ID '' is invalid in /home/rcaction/public_html/racevta.com/store/admin/controller/setting/setting.php on line 343
2021-03-25 21:35:49 - PP_STANDARD :: TOTAL PAID MISMATCH! 64.42
2021-03-30 0:37:50 - PHP Warning: fread(): Length parameter must be greater than 0 in /home/rcaction/public_html/racevta.com/store/system/library/session/file.php on line 14

New member

Posts

Joined
Fri Apr 27, 2018 11:42 pm

Post by RaceVTA » Thu Apr 08, 2021 8:31 pm

[08-Apr-2021 11:43:00 UTC] PHP Fatal error: Uncaught Exception: Error: DATA not accepted from server! in /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php:241
Stack trace:
#0 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(236): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...', 3)
#1 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(236): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...', 3)
#2 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(236): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...', 2)
#3 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(209): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...')
#4 /home/rcaction/public_html/racevta.com/store/system/library/mail.php(142): Mail\Smtp->send()
#5 /home/rcaction/public_html/racevta.com/store/catalog/controller/mail/order.php(275): Mail->send()
#6 /home/rcaction/public_html/racevta.com/store/catalog/contro in /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php on line 241
[08-Apr-2021 11:45:21 UTC] PHP Fatal error: Uncaught Exception: Error: DATA not accepted from server! in /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php:241
Stack trace:
#0 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(236): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...', 3)
#1 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(236): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...', 3)
#2 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(236): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...', 2)
#3 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(209): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...')
#4 /home/rcaction/public_html/racevta.com/store/system/library/mail.php(142): Mail\Smtp->send()
#5 /home/rcaction/public_html/racevta.com/store/catalog/controller/mail/order.php(275): Mail->send()
#6 /home/rcaction/public_html/racevta.com/store/catalog/contro in /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php on line 241

New member

Posts

Joined
Fri Apr 27, 2018 11:42 pm

Post by straightlight » Thu Apr 08, 2021 8:33 pm

RaceVTA wrote:
Thu Apr 08, 2021 7:55 pm
3.0.3.7 worked fine for a couple weeks, now out of nowhere orders are going to MISSING ORDERS, paypal payment is successful, when trying to change to PENDING pop up window show INTERNAL SERVER ERROR, uploaded yesterdays backup but issue is still there, cant manually add order either.
But I can edit products.

error logs:
2021-03-24 17:33:56 - PHP Notice: date_default_timezone_set(): Timezone ID '' is invalid in /home/rcaction/public_html/racevta.com/store/admin/controller/setting/setting.php on line 343
2021-03-25 21:35:49 - PP_STANDARD :: TOTAL PAID MISMATCH! 64.42
2021-03-30 0:37:50 - PHP Warning: fread(): Length parameter must be greater than 0 in /home/rcaction/public_html/racevta.com/store/system/library/session/file.php on line 14
See this post: viewtopic.php?f=201&t=222369&start=40#p818522 .

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Thu Apr 08, 2021 8:34 pm

RaceVTA wrote:
Thu Apr 08, 2021 8:31 pm
[08-Apr-2021 11:43:00 UTC] PHP Fatal error: Uncaught Exception: Error: DATA not accepted from server! in /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php:241
Stack trace:
#0 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(236): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...', 3)
#1 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(236): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...', 3)
#2 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(236): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...', 2)
#3 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(209): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...')
#4 /home/rcaction/public_html/racevta.com/store/system/library/mail.php(142): Mail\Smtp->send()
#5 /home/rcaction/public_html/racevta.com/store/catalog/controller/mail/order.php(275): Mail->send()
#6 /home/rcaction/public_html/racevta.com/store/catalog/contro in /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php on line 241
[08-Apr-2021 11:45:21 UTC] PHP Fatal error: Uncaught Exception: Error: DATA not accepted from server! in /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php:241
Stack trace:
#0 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(236): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...', 3)
#1 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(236): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...', 3)
#2 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(236): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...', 2)
#3 /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php(209): Mail\Smtp->handleReply(Resource id #107, 250, 'Error: DATA not...')
#4 /home/rcaction/public_html/racevta.com/store/system/library/mail.php(142): Mail\Smtp->send()
#5 /home/rcaction/public_html/racevta.com/store/catalog/controller/mail/order.php(275): Mail->send()
#6 /home/rcaction/public_html/racevta.com/store/catalog/contro in /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php on line 241
Email configuration issues from your OC admin > systems > settings > edit settings > mail tab. See in your host console for the detailed configurations of your server email settings.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ADD Creative » Thu Apr 08, 2021 8:39 pm

Your mail server didn't like the email OpenCart tried to send.

To see why, you could try changing line 241 in system/library/mail/smtp.php to:

Code: Select all

throw new \Exception($error_text . ' ' . $reply);

www.add-creative.co.uk


Active Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by RaceVTA » Thu Apr 08, 2021 9:38 pm

Confused, store was working fine yesterday ... changed my mails setting SMTP port to 465

error log now shows

[08-Apr-2021 13:33:54 UTC] PHP Fatal error: Uncaught Exception: Error: EHLO not accepted from server! in /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php:121
Stack trace:
#0 /home/rcaction/public_html/racevta.com/store/system/library/mail.php(142): Mail\Smtp->send()
#1 /home/rcaction/public_html/racevta.com/store/catalog/controller/mail/order.php(275): Mail->send()
#2 /home/rcaction/public_html/racevta.com/store/catalog/controller/mail/order.php(34): ControllerMailOrder->add(Array, '1', '', '0')
#3 /home/rcaction/public_html/storage/modification/system/engine/action.php(79): ControllerMailOrder->index('checkout/order/...', Array)
#4 /home/rcaction/public_html/racevta.com/store/system/engine/event.php(62): Action->execute(Object(Registry), Array)
#5 /home/rcaction/public_html/storage/modification/system/engine/loader.php(229): Event->trigger('model/checkout/...', Array)
#6 /home/rcaction/public_html/racevta.com/store/system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#7 /home/rcaction/public_html/racevta.com/store/cata in /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php on line 121

New member

Posts

Joined
Fri Apr 27, 2018 11:42 pm

Post by straightlight » Thu Apr 08, 2021 9:40 pm

RaceVTA wrote:
Thu Apr 08, 2021 9:38 pm
Confused, store was working fine yesterday ... changed my mails setting SMTP port to 465

error log now shows

[08-Apr-2021 13:33:54 UTC] PHP Fatal error: Uncaught Exception: Error: EHLO not accepted from server! in /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php:121
Stack trace:
#0 /home/rcaction/public_html/racevta.com/store/system/library/mail.php(142): Mail\Smtp->send()
#1 /home/rcaction/public_html/racevta.com/store/catalog/controller/mail/order.php(275): Mail->send()
#2 /home/rcaction/public_html/racevta.com/store/catalog/controller/mail/order.php(34): ControllerMailOrder->add(Array, '1', '', '0')
#3 /home/rcaction/public_html/storage/modification/system/engine/action.php(79): ControllerMailOrder->index('checkout/order/...', Array)
#4 /home/rcaction/public_html/racevta.com/store/system/engine/event.php(62): Action->execute(Object(Registry), Array)
#5 /home/rcaction/public_html/storage/modification/system/engine/loader.php(229): Event->trigger('model/checkout/...', Array)
#6 /home/rcaction/public_html/racevta.com/store/system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#7 /home/rcaction/public_html/racevta.com/store/cata in /home/rcaction/public_html/racevta.com/store/system/library/mail/smtp.php on line 121
What does your host console state about your email settings (without password)?

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by RaceVTA » Thu Apr 08, 2021 10:54 pm

Username: vta@racevta.com
Password: Use the email account’s password.
Incoming Server: mail.racevta.com
IMAP Port: 993 POP3 Port: 995
Outgoing Server: mail.racevta.com
SMTP Port: 465

and non-ssl
Username: vta@racevta.com
Password: Use the email account’s password.
Incoming Server: mail.racevta.com
IMAP Port: 143 POP3 Port: 110
Outgoing Server: mail.racevta.com
SMTP Port: 587
IMAP, POP3, and SMTP require authentication.

My store SMTP port is set to 587 and timeout is 5


I deleted everything and installed yesterdays backup and its working now, but would like to prevent this from happening again.

New member

Posts

Joined
Fri Apr 27, 2018 11:42 pm

Post by ADD Creative » Fri Apr 09, 2021 12:25 am

RaceVTA wrote:
Thu Apr 08, 2021 10:54 pm
Username: vta@racevta.com
Password: Use the email account’s password.
Incoming Server: mail.racevta.com
IMAP Port: 993 POP3 Port: 995
Outgoing Server: mail.racevta.com
SMTP Port: 465

and non-ssl
Username: vta@racevta.com
Password: Use the email account’s password.
Incoming Server: mail.racevta.com
IMAP Port: 143 POP3 Port: 110
Outgoing Server: mail.racevta.com
SMTP Port: 587
IMAP, POP3, and SMTP require authentication.

My store SMTP port is set to 587 and timeout is 5


I deleted everything and installed yesterdays backup and its working now, but would like to prevent this from happening again.
For secure mail use.
SMTP Hostname: ssl://mail.racevta.com
SMTP Port: 465
Or even.
SMTP Hostname: tls://mail.racevta.com
SMTP Port: 587

As for preventing happening again. You could try increasing the timeout. Some mail servers can be slow in replying. But you really need to know what was causing the error in the first place. Making the change here would of giving you more details. viewtopic.php?f=201&t=223327#p818705

For generally stopping mail errors making orders missing.
viewtopic.php?f=202&t=223180#p818135

Or if your hosting is configured correctly use Mail as the Mail Engine and set the Mail Parameters correctly.

www.add-creative.co.uk


Active Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 4 guests