Page 96 of 99 FirstFirst ... 46869495969798 ... LastLast
Results 951 to 960 of 985
  1. #951
    Join Date
    Jun 2012
    Location
    California
    Posts
    202
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by lat9 View Post
    Since you've updated from a previous version of TyPT, did you make sure to remove all the leftovers as identified here: https://github.com/lat9/zen_TyPackag...ing_to_400.md?

    Note, too, that you'll need to update the TyPT configuration now that you've got EO 4.6.0 installed to enable the TyPT integration with EO.
    Yes, I had originally gone through and done that process before but I went and double checked again. I did find that I had either missed "/YOUR_ADMIN/includes/functions/extra_functions/common_orders_functions.php" or it was installed again when I reinstalled everything.
    I deleted it.

    I checked the TyP configuration and it is set up correctly and the "Ty Package Tracker Module Switch" is set to True

  2. #952
    Join Date
    Jun 2012
    Location
    California
    Posts
    202
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by wsworx View Post
    Yes, I had originally gone through and done that process before but I went and double checked again. I did find that I had either missed "/YOUR_ADMIN/includes/functions/extra_functions/common_orders_functions.php" or it was installed again when I reinstalled everything.
    I deleted it.

    I checked the TyP configuration and it is set up correctly and the "Ty Package Tracker Module Switch" is set to True
    This is what I am seeing now:
    Name:  Code Issue.jpg
Views: 411
Size:  29.8 KB

    When I first log in it is not there.
    After I access Customer:Orders it shows up and stays there

  3. #953
    Join Date
    Jun 2012
    Location
    California
    Posts
    202
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by wsworx View Post
    This is what I am seeing now:
    Name:  Code Issue.jpg
Views: 411
Size:  29.8 KB

    When I first log in it is not there.
    After I access Customer:Orders it shows up and stays there
    In addition I am now getting log debug files with the following PHP error:

    "--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home2/wildstee/public_html/includes/templates/wsworx/sideboxes/tpl_track_orders.php on line 19."
    Last edited by wsworx; 16 Jun 2021 at 08:29 PM.

  4. #954
    Join Date
    Jun 2012
    Location
    California
    Posts
    202
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by wsworx View Post
    In addition I am now getting log debug files with the following PHP error:

    "--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home2/wildstee/public_html/includes/templates/wsworx/sideboxes/tpl_track_orders.php on line 19."
    Googling indicates that sizeof() is an issue with PHP 7.2 and some developers are recommending count instead of sizeof

  5. #955
    Join Date
    Jun 2012
    Location
    California
    Posts
    202
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by wsworx View Post
    Googling indicates that sizeof() is an issue with PHP 7.2 and some developers are recommending count instead of sizeof
    So it appears that I have this issue fixed.
    I changed the following code in "includes/templates/YOUR TEMPLATE/sideboxes/tpl_track_orders.php" Line 19

    From
    if (sizeof($customer_orders)==0) {

    To
    if (empty($customer_orders)) {

    It has stopped the debug log files and the front end is still working correctly
    Last edited by wsworx; 16 Jun 2021 at 08:53 PM.

  6. #956
    Join Date
    Jun 2012
    Location
    California
    Posts
    202
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Here is the EO Debug file contents if it helps at all"

    "
    getOrderInfo(edit), on exit:

    Subtotal: 134.33, Shipping: (not set), Shipping Tax-Rate: (not set), Shipping Tax-Description: (not set), Shipping Tax: (not set), Tax: 0.0000, Total: 148.0800, Tax Groups: {"Tax":0}
    $_SESSION['shipping']: (not set)

    Order Totals
    ot_subtotal. Text: $134.33, Value: 134.3300
    ot_shipping. Text: $13.75, Value: 13.7500
    ot_total. Text: $148.08, Value: 148.0800

    eoInitializeShipping(7932, edit), on entry:
    Subtotal: 134.33, Shipping: (not set), Shipping Tax-Rate: (not set), Shipping Tax-Description: (not set), Shipping Tax: (not set), Tax: 0.0000, Total: 148.0800, Tax Groups: {"Tax":0}
    $_SESSION['shipping']: (not set)

    Order Totals
    ot_subtotal. Text: $134.33, Value: 134.3300
    ot_shipping. Text: $13.75, Value: 13.7500
    ot_total. Text: $148.08, Value: 148.0800

    calculateOrderShippingTax returning 0, rate = '0.0000', cost = 13.7500.
    eoInitializeShipping(7932, edit), on exit:
    Subtotal: 134.33, Shipping: 13.7500, Shipping Tax-Rate: 0.0000, Shipping Tax-Description: (not set), Shipping Tax: 0, Tax: 0.0000, Total: 148.0800, Tax Groups: {"Tax":0}
    $_SESSION['shipping']: {"title":"USPS (Priority Mail\u2122 Medium Flat Rate Box)","id":"usps_","cost":"13.7500"}

    Order Totals
    ot_subtotal. Text: $134.33, Value: 134.3300
    ot_shipping. Text: $13.75, Value: 13.7500
    ot_total. Text: $148.08, Value: 148.0800


    Checking order for virtual status. Order contains 2 unique products, 0 of those are virtual

    ============================================================
    = Creating display of Order Product #33723
    ============================================================
    Product Details:
    {"qty":1,"id":"430",
    "orders_products_id":"33723",
    "name":"VOLTAGE REGULATOR 32 AMP SERIES BLACK COMPUFIRE",
    "model":"000-000551-20",
    "tax":"0.0000",
    "price":"119.7300",
    "final_price":"119.7300",
    "onetime_charges":"0.0000",
    "products_priced_by_attribute":"0",
    "product_is_free":"0",
    "products_discount_type":"0",
    "products_discount_type_from":"0",
    "products_weight":"1.13",
    "products_virtual":0,"product_is_always_free_shipping":0,"products_quantity_orde r_min":"1",
    "products_quantity_order_units":"1",
    "products_quantity_order_max":"0",
    "products_quantity_mixed":0,"products_mixed_discount_quantity":1}


    ============================================================
    = Creating display of Order Product #33724
    ============================================================
    Product Details:
    {"qty":2,"id":"2044",
    "orders_products_id":"33724",
    "name":"TAPPET SCREEN",
    "model":"000-01215-15",
    "tax":"0.0000",
    "price":"7.3000",
    "final_price":"7.3000",
    "onetime_charges":"0.0000",
    "products_priced_by_attribute":"0",
    "product_is_free":"0",
    "products_discount_type":"0",
    "products_discount_type_from":"0",
    "products_weight":"0.0625",
    "products_virtual":0,"product_is_always_free_shipping":0,"products_quantity_orde r_min":"1",
    "products_quantity_order_units":"1",
    "products_quantity_order_max":"0",
    "products_quantity_mixed":1,"products_mixed_discount_quantity":1}

    Preparing to display status history: {"date_added":{"title":"Date Added",
    "show_function":"zen_datetime_short",
    "include_field_name":false},"customer_notified":{"title":"Customer Notified",
    "show_function":"eo_display_customers_notifications_icon",
    "align":"center",
    "include_field_name":false},"orders_status_id":{"title":"Status",
    "show_function":"built-in"},"comments":{"title":"Comments",
    "show_function":"built-in"},"updated_by":{"title":"Updated By",
    "align":"center",
    "show_function":"built-in"}}
    "

  7. #957
    Join Date
    Jun 2012
    Location
    California
    Posts
    202
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by wsworx View Post
    Here is the EO Debug file contents if it helps at all"

    "
    getOrderInfo(edit), on exit:

    Subtotal: 134.33, Shipping: (not set), Shipping Tax-Rate: (not set), Shipping Tax-Description: (not set), Shipping Tax: (not set), Tax: 0.0000, Total: 148.0800, Tax Groups: {"Tax":0}
    $_SESSION['shipping']: (not set)

    Order Totals
    ot_subtotal. Text: $134.33, Value: 134.3300
    ot_shipping. Text: $13.75, Value: 13.7500
    ot_total. Text: $148.08, Value: 148.0800

    eoInitializeShipping(7932, edit), on entry:
    Subtotal: 134.33, Shipping: (not set), Shipping Tax-Rate: (not set), Shipping Tax-Description: (not set), Shipping Tax: (not set), Tax: 0.0000, Total: 148.0800, Tax Groups: {"Tax":0}
    $_SESSION['shipping']: (not set)

    Order Totals
    ot_subtotal. Text: $134.33, Value: 134.3300
    ot_shipping. Text: $13.75, Value: 13.7500
    ot_total. Text: $148.08, Value: 148.0800

    calculateOrderShippingTax returning 0, rate = '0.0000', cost = 13.7500.
    eoInitializeShipping(7932, edit), on exit:
    Subtotal: 134.33, Shipping: 13.7500, Shipping Tax-Rate: 0.0000, Shipping Tax-Description: (not set), Shipping Tax: 0, Tax: 0.0000, Total: 148.0800, Tax Groups: {"Tax":0}
    $_SESSION['shipping']: {"title":"USPS (Priority Mail\u2122 Medium Flat Rate Box)","id":"usps_","cost":"13.7500"}

    Order Totals
    ot_subtotal. Text: $134.33, Value: 134.3300
    ot_shipping. Text: $13.75, Value: 13.7500
    ot_total. Text: $148.08, Value: 148.0800


    Checking order for virtual status. Order contains 2 unique products, 0 of those are virtual

    ============================================================
    = Creating display of Order Product #33723
    ============================================================
    Product Details:
    {"qty":1,"id":"430",
    "orders_products_id":"33723",
    "name":"VOLTAGE REGULATOR 32 AMP SERIES BLACK COMPUFIRE",
    "model":"000-000551-20",
    "tax":"0.0000",
    "price":"119.7300",
    "final_price":"119.7300",
    "onetime_charges":"0.0000",
    "products_priced_by_attribute":"0",
    "product_is_free":"0",
    "products_discount_type":"0",
    "products_discount_type_from":"0",
    "products_weight":"1.13",
    "products_virtual":0,"product_is_always_free_shipping":0,"products_quantity_orde r_min":"1",
    "products_quantity_order_units":"1",
    "products_quantity_order_max":"0",
    "products_quantity_mixed":0,"products_mixed_discount_quantity":1}


    ============================================================
    = Creating display of Order Product #33724
    ============================================================
    Product Details:
    {"qty":2,"id":"2044",
    "orders_products_id":"33724",
    "name":"TAPPET SCREEN",
    "model":"000-01215-15",
    "tax":"0.0000",
    "price":"7.3000",
    "final_price":"7.3000",
    "onetime_charges":"0.0000",
    "products_priced_by_attribute":"0",
    "product_is_free":"0",
    "products_discount_type":"0",
    "products_discount_type_from":"0",
    "products_weight":"0.0625",
    "products_virtual":0,"product_is_always_free_shipping":0,"products_quantity_orde r_min":"1",
    "products_quantity_order_units":"1",
    "products_quantity_order_max":"0",
    "products_quantity_mixed":1,"products_mixed_discount_quantity":1}

    Preparing to display status history: {"date_added":{"title":"Date Added",
    "show_function":"zen_datetime_short",
    "include_field_name":false},"customer_notified":{"title":"Customer Notified",
    "show_function":"eo_display_customers_notifications_icon",
    "align":"center",
    "include_field_name":false},"orders_status_id":{"title":"Status",
    "show_function":"built-in"},"comments":{"title":"Comments",
    "show_function":"built-in"},"updated_by":{"title":"Updated By",
    "align":"center",
    "show_function":"built-in"}}
    "
    For troubleshooting the no show of the tracking info

  8. #958
    Join Date
    Jun 2012
    Location
    California
    Posts
    202
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by wsworx View Post
    So it appears that I have this issue fixed.
    I changed the following code in "includes/templates/YOUR TEMPLATE/sideboxes/tpl_track_orders.php" Line 19

    From
    if (sizeof($customer_orders)==0) {

    To
    if (empty($customer_orders)) {

    It has stopped the debug log files and the front end is still working correctly
    So from what I can tell this was a leftover file from a previous TyP install that is not used in the newest version so I have deleted it from my ZC install.

  9. #959
    Join Date
    Jun 2012
    Location
    California
    Posts
    202
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    So am I the only one having the update success label continuously showing at the top of the page and the inability to see the Tracking data in Admin in Customer:Orders or in Edit Orders? Is anyone else out there having these issues?

  10. #960
    Join Date
    Jun 2012
    Location
    California
    Posts
    202
    Plugin Contributions
    0

    Default Re: Track Package from FedEx, UPS, Postal, DHL, etc..

    Quote Originally Posted by wsworx View Post
    Nothing like going backwards.....lol
    I am back to having the update info showing at the top all the time and now I can't see the tracking info in the Edit Orders or in the Orders
    I made all the changes per the GitHub prior to uploading TyP again.
    Again the front end is working perfectly. I can see the tracking link and it opens as it should.
    So I activated ZenCarts additional debugging and was able to uncover the following when I am in Customer:Orders and I enter Edit Orders:

    [16-Jun-2021 20:03:41 America/Boise] PHP Notice: Constant TABLE_HEADING_TRACKING_ID already defined in /home2/*******/public_html/*******/includes/languages/english/extra_definitions/ty_package_tracker_admin_definitions.php on line 12
    [16-Jun-2021 20:03:41 America/Boise] PHP Notice: Constant TABLE_HEADING_CARRIER_NAME already defined in /home2/*******/public_html/*******/includes/languages/english/extra_definitions/ty_package_tracker_admin_definitions.php on line 13
    [16-Jun-2021 20:03:41 America/Boise] PHP Notice: Constant ENTRY_ADD_TRACK already defined in /home2/*******/public_html/*******/includes/languages/english/extra_definitions/ty_package_tracker_admin_definitions.php on line 14
    [16-Jun-2021 20:03:41 America/Boise] PHP Notice: Constant EMAIL_TEXT_COMMENTS_TRACKING_UPDATE already defined in /home2/*******/public_html/*******/includes/languages/english/extra_definitions/ty_package_tracker_admin_definitions.php on line 15
    [16-Jun-2021 20:03:41 America/Boise] PHP Notice: Constant TABLE_HEADING_PRODUCTS_MODEL already defined in /home2/*******/public_html/*******/includes/languages/english.php on line 471

    I suspect this is why I cannot see the tracking info in the Edit Orders area.

 

 
Page 96 of 99 FirstFirst ... 46869495969798 ... LastLast

Similar Threads

  1. v150 Is there a FedEx plugin to quote on package size and postal code/zone?
    By Music Man in forum Addon Shipping Modules
    Replies: 7
    Last Post: 3 Aug 2014, 10:30 PM
  2. UPS/DHL shipping in Europe
    By DML73 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 29 Jan 2009, 09:43 PM
  3. what is the track your package url?
    By keylesslocks in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Aug 2008, 06:49 PM
  4. going from small package to large package
    By luna_99 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 19 Nov 2007, 02:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR