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
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
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.
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:
LOG OFF 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.
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.
Last edited by Carbonless; 18 Dec 2020 at 03:56 PM.
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.
Bookmarks