Zen Cart Logo
Forums / General Questions / OSH_EMAIL_TEXT_COMMENTS_UPDATE error/warning message

OSH_EMAIL_TEXT_COMMENTS_UPDATE error/warning message

Views: 620

Results 1 to 11 of 11
9 Jul 2022, 2:16 PM
#1
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

OSH_EMAIL_TEXT_COMMENTS_UPDATE error/warning message

just upgraded to 1.5.7d php 7.4.30 - may be changing that to 8 if client chooses to install square.

09-Jul-2022 00:04:15 UTC] Request URI: /index.php?main_page=checkout_process, IP address: 99.96.214.168
#1 zen_update_orders_history() called at [/includes/modules/payment/paypalwpp.php:501]
#2 paypalwpp->after_process() called at [/includes/classes/payment.php:261]
#3 payment->after_process() called at [/includes/modules/pages/checkout_process/header_php.php:17]
#4 require(/includes/modules/pages/checkout_process/header_php.php) called at [/index.php:35]
--> PHP Warning: Use of undefined constant OSH_EMAIL_TEXT_COMMENTS_UPDATE - assumed 'OSH_EMAIL_TEXT_COMMENTS_UPDATE' (this will throw an Error in a future version of PHP) in /includes/functions/functions_osh_update.php on line 79.

Since these are default files for 1.5.7d (I eyeballed all referred above to make sure), why is this happening? I don't see how something like this could have been missed.

9 Jul 2022, 3:07 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,809
Plugin Contributions:
15

Re: OSH_EMAIL_TEXT_COMMENTS_UPDATE error/warning message

In a fresh 1.5.7d, that should be defined in includes/languages/english/extra_definitions/orders_status_updates.php and YOUR_ADMIN/includes/languages/english/extra_definitions/orders_status_updates.php

FYI Square WebPay works fine 1.5.6 thru 1..5.7d with PHP 7.4

9 Jul 2022, 3:18 PM
#3
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: OSH_EMAIL_TEXT_COMMENTS_UPDATE error/warning message

okay but that file is also 1.5.7d. but the error log talks about checkout - not admin.

And the new square module to combat square changes this month I heard did require php 8. Since I don't see a new version in plugins, I can't prove that but the old one is supposed to stop working this month.

9 Jul 2022, 3:30 PM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,809
Plugin Contributions:
15

Re: OSH_EMAIL_TEXT_COMMENTS_UPDATE error/warning message

delia:

okay but that file is also 1.5.7d. but the error log talks about checkout - not admin.

And the new square module to combat square changes this month I heard did require php 8. Since I don't see a new version in plugins, I can't prove that but the old one is supposed to stop working this month.did I read your post incorrectly that you had just upgraded to 1.5.7d?

And, there are two links there.

And, I was one of the testers for Square WebPay and it worked on 1.5.6 and up with PHP 7.4 from the start. Even 7.3.3

9 Jul 2022, 3:33 PM
#6
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: OSH_EMAIL_TEXT_COMMENTS_UPDATE error/warning message

Thanks, Scott. I searched for just square and only the old one showed up. That’s good news!

9 Jul 2022, 3:34 PM
#7
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: OSH_EMAIL_TEXT_COMMENTS_UPDATE error/warning message

But the original problem still stands and that error message hints that it happens during checkout.

9 Jul 2022, 3:39 PM
#8
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,809
Plugin Contributions:
15

Re: OSH_EMAIL_TEXT_COMMENTS_UPDATE error/warning message

and you haven't said if the file exists and matches the default:P

Not knowing anything other than 1.5.7d and 7.4 leaves an awful lot of reasons for things to go bump in the night.:smile:

9 Jul 2022, 3:41 PM
#9
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,100
Plugin Contributions:
56

Re: OSH_EMAIL_TEXT_COMMENTS_UPDATE error/warning message

delia:

just upgraded to 1.5.7d php 7.4.30 - may be changing that to 8 if client chooses to install square.

09-Jul-2022 00:04:15 UTC] Request URI: /index.php?main_page=checkout_process, IP address: 99.96.214.168
#1 zen_update_orders_history() called at [/includes/modules/payment/paypalwpp.php:501]
#2 paypalwpp->after_process() called at [/includes/classes/payment.php:261]
#3 payment->after_process() called at [/includes/modules/pages/checkout_process/header_php.php:17]
#4 require(/includes/modules/pages/checkout_process/header_php.php) called at [/index.php:35]
--> PHP Warning: Use of undefined constant OSH_EMAIL_TEXT_COMMENTS_UPDATE - assumed 'OSH_EMAIL_TEXT_COMMENTS_UPDATE' (this will throw an Error in a future version of PHP) in /includes/functions/functions_osh_update.php on line 79.

Since these are default files for 1.5.7d (I eyeballed all referred above to make sure), why is this happening? I don't see how something like this could have been missed.

dbltoe:

In a fresh 1.5.7d, that should be defined in includes/languages/english/extra_definitions/orders_status_updates.php and YOUR_ADMIN/includes/languages/english/extra_definitions/orders_status_updates.php

FYI Square WebPay works fine 1.5.6 thru 1..5.7d with PHP 7.4
@delia, you should check the site's two /extra_definitions (storefront and admin) language sub-directories, as @dbltoe suggested. It sounds like you're missing those two files.
delia:

okay but that file is also 1.5.7d. but the error log talks about checkout - not admin.

And the new square module to combat square changes this month I heard did require php 8. Since I don't see a new version in plugins, I can't prove that but the old one is supposed to stop working this month.

9 Jul 2022, 3:47 PM
#10
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: OSH_EMAIL_TEXT_COMMENTS_UPDATE error/warning message

ah, there it is - missing in action on the catalog side! I think I do know how that happened! Thanks so much.

9 Jul 2022, 3:53 PM
#11
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,809
Plugin Contributions:
15

Re: OSH_EMAIL_TEXT_COMMENTS_UPDATE error/warning message

:hug:

Glad you got it working.