-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Quote:
Originally Posted by
lat9
Missing a right-paren:
Code:
// Begin Ty Package Tracker
if (is_array($track_id)) {
foreach($track_id as $id => $track) {
$osh_sql['track_id' . $id] = zen_db_input($track);
}
}
Thank You carlwhat and lat9 your assistance is always much appreciated.:smile:
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Quote:
Originally Posted by
wsworx
Thank You carlwhat and lat9 your assistance is always much appreciated.:smile:
At this point it appears that edit has resolved the only issue I was having with TyPackage Tracker version 3.1.6 in 1.5.7a
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Quote:
Originally Posted by
wsworx
Thank You carlwhat and lat9 your assistance is always much appreciated.:smile:
i am the typo miscreant. my apologies!
thanks @lat9 for the cleanup!
best.
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
I have installed this mod on a fresh install of 1.5.7b running php7.3
Mod posts the tracking number and displays in the admin order details, sends out tan email with tracking number, however, it does not display the tracking number in the My Account>>Order Information facing the customer.
In earlier versions of zc, 1.5.6, it would display the tracking number in the customers Order details.
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Quote:
Originally Posted by
Carbonless
I have installed this mod on a fresh install of 1.5.7b running php7.3
Mod posts the tracking number and displays in the admin order details, sends out tan email with tracking number, however, it does not display the tracking number in the My Account>>Order Information facing the customer.
In earlier versions of zc, 1.5.6, it would display the tracking number in the customers Order details.
I'm guessing that you haven't incorporated this mod's customizations for tpl_account_history_info_default.php into your template.
https://share.getcloudapp.com/JruqOlxr
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Quote:
Originally Posted by
DrByte
You guessed correctly. I "assumed" the "custom_template" folder had to be uploaded as is. All is working.
THANK YOU!
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Quote:
Originally Posted by
Carbonless
You guessed correctly. I "assumed" the "custom_template" folder had to be uploaded as is. All is working.
THANK YOU!
WHile the mod is working, it's also causing an error log with each log in.
[17-Dec-2020 21:59:16 America/Chicago] Request URI: /index.php?main_page=login, IP address: xxxxx
#1 sizeof() called at [/includes/templates/ntobs20/sideboxes/tpl_track_orders.php:19]
#2 require(/includes/templates/ntobs20/sideboxes/tpl_track_orders.php) called at [/includes/modules/sideboxes/ntobs20/track_orders.php:55]
#3 include(/includes/modules/sideboxes/ntobs20/track_orders.php) called at [/includes/modules/column_right.php:25]
#4 require(/includes/modules/column_right.php) called at [/includes/templates/ntobs20/common/tpl_main_page.php:234]
#5 require(/includes/templates/ntobs20/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /includes/templates/ntobs20/sideboxes/tpl_track_orders.php on line 19.
Not sure what needs to be corrected?
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Quote:
Originally Posted by
Carbonless
WHile the mod is working, it's also causing an error log with each log in.
[17-Dec-2020 21:59:16 America/Chicago] Request URI: /index.php?main_page=login, IP address: xxxxx
#1 sizeof() called at [/includes/templates/ntobs20/sideboxes/tpl_track_orders.php:19]
#2 require(/includes/templates/ntobs20/sideboxes/tpl_track_orders.php) called at [/includes/modules/sideboxes/ntobs20/track_orders.php:55]
#3 include(/includes/modules/sideboxes/ntobs20/track_orders.php) called at [/includes/modules/column_right.php:25]
#4 require(/includes/modules/column_right.php) called at [/includes/templates/ntobs20/common/tpl_main_page.php:234]
#5 require(/includes/templates/ntobs20/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /includes/templates/ntobs20/sideboxes/tpl_track_orders.php on line 19.
Not sure what needs to be corrected?
i would suggest reading this thread.... it might help.... especially right around here:
https://www.zen-cart.com/showthread....13#post1355813
best.
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Quote:
Originally Posted by
carlwhat
oh man... I overwrote the fix and didnt realize it. Thank you!
I am now only getting log errors when logging into or out of a customer account.
LOGIN error code:
Code:
[18-Dec-2020 08:53:09 America/Chicago] Request URI: /index.php?main_page=login, IP address: xxxxx
#1 sizeof() called at [/includes/templates/ntobs20/sideboxes/tpl_track_orders.php:19]
#2 require(/includes/templates/ntobs20/sideboxes/tpl_track_orders.php) called at [/includes/modules/sideboxes/ntobs20/track_orders.php:55]
#3 include(/includes/modules/sideboxes/ntobs20/track_orders.php) called at [/includes/modules/column_right.php:25]
#4 require(/includes/modules/column_right.php) called at [/includes/templates/ntobs20/common/tpl_main_page.php:234]
#5 require(/includes/templates/ntobs20/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /includes/templates/ntobs20/sideboxes/tpl_track_orders.php on line 19.
LOG OFF error code:
Code:
[18-Dec-2020 08:52:33 America/Chicago] Request URI: /index.php?main_page=logoff, IP address: xxxxx
#1 sizeof() called at [/includes/templates/ntobs20/sideboxes/tpl_track_orders.php:19]
#2 require(/includes/templates/ntobs20/sideboxes/tpl_track_orders.php) called at [/includes/modules/sideboxes/ntobs20/track_orders.php:55]
#3 include(/includes/modules/sideboxes/ntobs20/track_orders.php) called at [/includes/modules/column_right.php:25]
#4 require(/includes/modules/column_right.php) called at [/includes/templates/ntobs20/common/tpl_main_page.php:234]
#5 require(/includes/templates/ntobs20/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /includes/templates/ntobs20/sideboxes/tpl_track_orders.php on line 19.
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Quote:
Originally Posted by
Carbonless
oh man... I overwrote the fix and didnt realize it. Thank you!
I am now only getting log errors when logging into or out of a customer account.
LOGIN error code:
Code:
[18-Dec-2020 08:53:09 America/Chicago] Request URI: /index.php?main_page=login, IP address: xxxxx
#1 sizeof() called at [/includes/templates/ntobs20/sideboxes/tpl_track_orders.php:19]
#2 require(/includes/templates/ntobs20/sideboxes/tpl_track_orders.php) called at [/includes/modules/sideboxes/ntobs20/track_orders.php:55]
#3 include(/includes/modules/sideboxes/ntobs20/track_orders.php) called at [/includes/modules/column_right.php:25]
#4 require(/includes/modules/column_right.php) called at [/includes/templates/ntobs20/common/tpl_main_page.php:234]
#5 require(/includes/templates/ntobs20/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /includes/templates/ntobs20/sideboxes/tpl_track_orders.php on line 19.
LOG OFF error code:
Code:
[18-Dec-2020 08:52:33 America/Chicago] Request URI: /index.php?main_page=logoff, IP address: xxxxx
#1 sizeof() called at [/includes/templates/ntobs20/sideboxes/tpl_track_orders.php:19]
#2 require(/includes/templates/ntobs20/sideboxes/tpl_track_orders.php) called at [/includes/modules/sideboxes/ntobs20/track_orders.php:55]
#3 include(/includes/modules/sideboxes/ntobs20/track_orders.php) called at [/includes/modules/column_right.php:25]
#4 require(/includes/modules/column_right.php) called at [/includes/templates/ntobs20/common/tpl_main_page.php:234]
#5 require(/includes/templates/ntobs20/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /includes/templates/ntobs20/sideboxes/tpl_track_orders.php on line 19.
I didnt notice this till JUST now, I was only viewing from the "EDIT" orders mod... when viewing outside of the edit orders mod, the tracking fields dont display nor does the tracking data entered.
this is the only error log I'm getting:
Code:
[18-Dec-2020 17:20:08 America/Chicago] Request URI: /index.php?main_page=account_history_info&order_id=6, IP address: xxxxx
#1 sizeof() called at [/includes/templates/ntobs20/templates/tpl_account_history_info_default.php:27]
#2 require(/includes/templates/ntobs20/templates/tpl_account_history_info_default.php) called at [/includes/templates/ntobs20/common/tpl_main_page.php:195]
#3 require(/includes/templates/ntobs20/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /includes/templates/ntobs20/templates/tpl_account_history_info_default.php on line 27.