Page 250 of 281 FirstFirst ... 150200240248249250251252260 ... LastLast
Results 2,491 to 2,500 of 2809
  1. #2491
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,495
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by mikecnz View Post
    ZC v1.5.7d
    OPC 2.4.3
    Preview Email 1.4

    OPC appears to be causing issues with preview e-mail or vice versa, debug is as follows:

    [13-Oct-2022 22:45:25 UTC] Request URI: /**admin/index.php?cmd=preview_email, IP address: 103.45.241.65
    --> PHP Fatal error: Uncaught Error: Call to undefined function opc_load_legacy_language_definitions() in /home/****/public_html/includes/languages/english/checkout_process_guest.php:12
    Stack trace:
    #0 /home/***/public_html/includes/modules/require_languages.php(22): require_once()
    #1 /home/***/public_html/**admin/includes/functions/extra_functions/preview_email.php(251): require('/home/**...')
    #2 /home/***/public_html/**admin/preview_email.php(58): build_checkout_email()
    #3 /home/***/public_html/**admin/index.php(11): require('/home/**...')
    #4 {main}
    thrown in /home/**/public_html/includes/languages/english/checkout_process_guest.php on line 12.

    opc_load_legacy_language_definitions() is defined in includes/functions/extra_functions/one_page_checkout_functions.php, so im not sure what is causing the issue.

    Thanks
    That "Preview Email" plugin is running on the admin and using storefront language definitions, so I'm going to say that the ball's in that plugin's court. That's only going to get more complicated for that plugin when zc158 is released.

  2. #2492
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,699
    Plugin Contributions
    123

    Default Re: One-Page Checkout [Support Thread]

    I'll have to look at all this when 1.5.8 is released. Cindy was first off the mark using the new style of language files, and this plugin predates that by many moons.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #2493
    Join Date
    Apr 2019
    Posts
    244
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Update. My live site still received intermittent duplicated orders, like once per week. Nowadays, customers are really mad at this...

    Anyway, I did some further changes today and I will report if helps.

    1. I change AJAX time-out from 6s to 8s. A few months ago, I changed it from 4s to 6s. Not sure if it helps.

    2. According to the following post

    https://www.zen-cart.com/showthread....76#post1317476

    I change the setTimeout('button_timeout()', 4000) from 4s to 20s. There are two files uses this function:

    \includes\modules\pages\checkout_confirmation\jscript_double_submit.php
    \includes\modules\pages\checkout_one_confirmation\jscript_main.php

    I changed both to 20s. Here is a similar post from Stripe.com plug-in

    https://www.zen-cart.com/showthread....dule&p=1386282

    The author recommended to re-enable the submit button after 9s. So if 20s works on my end, I may try 10s instead.

    Background: I'm using zc 1.5.7d, opc 2.4.4b2, paypal pro and express, php 7.4
    Last edited by njcyx; 14 Oct 2022 at 05:36 PM.

  4. #2494
    Join Date
    May 2005
    Posts
    532
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Just trying to install OPCO with the Bootstrap template using zc1.5.8. - clean install on local server to test. have uploaded as well the boostrap template for opco.

    the error I get is

    [21-Oct-2022 12:07:50 UTC] PHP Fatal error: Uncaught Error: Undefined constant "MODULE_ORDER_TOTAL_COUPON_HEADER" in .\includes\modules\order_total\ot_coupon.php:105
    Stack trace:
    #0 .admin\modules.php(187): ot_coupon->__construct()
    #1 .admin\index.php(11): require('C:\\Users\\...\\...')
    #2 {main}
    thrown in .\includes\modules\order_total\ot_coupon.php on line 105

    [21-Oct-2022 12:07:50 UTC] Request URI: .admin/index.php?cmd=modules&set=ordertotal, IP address: ::1
    --> PHP Fatal error: Uncaught Error: Undefined constant "MODULE_ORDER_TOTAL_COUPON_HEADER" in .\includes\modules\order_total\ot_coupon.php:105
    Stack trace:
    #0 .admin\modules.php(187): ot_coupon->__construct()
    #1 .admin\index.php(11): require('C:\\Users\\...\\...')
    #2 {main}
    thrown in .\includes\modules\order_total\ot_coupon.php on line 105.


    I can see the define is in the language file, I am not sure how to interpret the rest of this log to help fund or understand the problem. - sorry bit of a novice when it comes to coding.

    I have also noticed that in admin \modules\order totals I only have one and the rest of the page does not load suggesting an error somewhere that prevents the admin page loading. Again, sorry but I just not sure where to look to see what is causing the error.

    Thanks
    Last edited by MikeyG; 21 Oct 2022 at 01:39 PM.

  5. #2495
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,495
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by MikeyG View Post
    Just trying to install OPCO with the Bootstrap template using zc1.5.8. - clean install on local server to test. have uploaded as well the boostrap template for opco.

    the error I get is

    [21-Oct-2022 12:07:50 UTC] PHP Fatal error: Uncaught Error: Undefined constant "MODULE_ORDER_TOTAL_COUPON_HEADER" in .\includes\modules\order_total\ot_coupon.php:105
    Stack trace:
    #0 .admin\modules.php(187): ot_coupon->__construct()
    #1 .admin\index.php(11): require('C:\\Users\\...\\...')
    #2 {main}
    thrown in .\includes\modules\order_total\ot_coupon.php on line 105

    [21-Oct-2022 12:07:50 UTC] Request URI: .admin/index.php?cmd=modules&set=ordertotal, IP address: ::1
    --> PHP Fatal error: Uncaught Error: Undefined constant "MODULE_ORDER_TOTAL_COUPON_HEADER" in .\includes\modules\order_total\ot_coupon.php:105
    Stack trace:
    #0 .admin\modules.php(187): ot_coupon->__construct()
    #1 .admin\index.php(11): require('C:\\Users\\...\\...')
    #2 {main}
    thrown in .\includes\modules\order_total\ot_coupon.php on line 105.


    I can see the define is in the language file, I am not sure how to interpret the rest of this log to help fund or understand the problem. - sorry bit of a novice when it comes to coding.

    I have also noticed that in admin \modules\order totals I only have one and the rest of the page does not load suggesting an error somewhere that prevents the admin page loading. Again, sorry but I just not sure where to look to see what is causing the error.

    Thanks
    That's something 'funky' going on in the admin when you're displaying/configuring the order-total modules. Nothing to do with either OPC or the Bootstrap template, everything to do with something that's gone awry with zc158.

    I'll suggest that you re-post the issue in a more general/Zen Cart base topic.

  6. #2496
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,699
    Plugin Contributions
    123

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by mikecnz View Post
    ZC v1.5.7d
    OPC 2.4.3
    Preview Email 1.4

    OPC appears to be causing issues with preview e-mail or vice versa, debug is as follows:
    Please see

    https://www.zen-cart.com/showthread....97#post1390897

    for the required patches.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #2497
    Join Date
    Apr 2011
    Posts
    383
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by mikecnz View Post
    ZC v1.5.7d
    OPC 2.4.3
    Preview Email 1.4

    OPC appears to be causing issues with preview e-mail or vice versa, debug is as follows:

    [13-Oct-2022 22:45:25 UTC] Request URI: /**admin/index.php?cmd=preview_email, IP address: 103.45.241.65
    --> PHP Fatal error: Uncaught Error: Call to undefined function opc_load_legacy_language_definitions() in /home/****/public_html/includes/languages/english/checkout_process_guest.php:12
    Stack trace:
    #0 /home/***/public_html/includes/modules/require_languages.php(22): require_once()
    #1 /home/***/public_html/**admin/includes/functions/extra_functions/preview_email.php(251): require('/home/**...')
    #2 /home/***/public_html/**admin/preview_email.php(58): build_checkout_email()
    #3 /home/***/public_html/**admin/index.php(11): require('/home/**...')
    #4 {main}
    thrown in /home/**/public_html/includes/languages/english/checkout_process_guest.php on line 12.

    opc_load_legacy_language_definitions() is defined in includes/functions/extra_functions/one_page_checkout_functions.php, so im not sure what is causing the issue.

    Thanks
    Issues have been fixed by swguy. See the plugin thread for the patch

  8. #2498
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: One-Page Checkout [Support Thread]

    Trial version of 1.5.8, with OPC installed.
    Defines for CHECK ORDER STATUS are not being recognised on the Order Status page
    Lines 38 and 44 in the following file...

    one_page_checkout-2.4.3\includes\languages\english\order_status.php
    TEXT_LOOKUP_INSTRUCTIONS
    ENTRY_ORDER_NUMBER

    I copied these defines over to the CORE ZC-1.5.8 file (lang.order_status.php)

    Code:
    <?php
    $define = [
        'NAVBAR_TITLE' => 'Order Status',
        'NAVBAR_TITLE_1' => 'My Account',
        'HEADING_TITLE' => 'Check Order History',
        'TEXT_LOOKUP_INSTRUCTIONS' =>'Select your order number below',
        'ENTRY_ORDER_NUMBER' =>'Order Number',
    ];
    
    return $define;
    ... and this now returns the desired text variable.
    Last edited by schoolboy; 26 Oct 2022 at 10:05 AM.
    20 years a Zencart User

  9. #2499
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,495
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by schoolboy View Post
    Trial version of 1.5.8, with OPC installed.
    Defines for CHECK ORDER STATUS are not being recognised on the Order Status page
    Lines 38 and 44 in the following file...

    one_page_checkout-2.4.3\includes\languages\english\order_status.php
    TEXT_LOOKUP_INSTRUCTIONS
    ENTRY_ORDER_NUMBER

    I copied these defines over to the CORE ZC-1.5.8 file (lang.order_status.php)

    Code:
    <?php
    $define = [
        'NAVBAR_TITLE' => 'Order Status',
        'NAVBAR_TITLE_1' => 'My Account',
        'HEADING_TITLE' => 'Check Order History',
        'TEXT_LOOKUP_INSTRUCTIONS' =>'Select your order number below',
        'ENTRY_ORDER_NUMBER' =>'Order Number',
    ];
    
    return $define;
    ... and this now returns the desired text variable.
    Thanks for the report, I'd (obviously) missed testing this page. GitHub issue: https://github.com/lat9/one_page_checkout/issues/357

  10. #2500
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by schoolboy View Post
    Trial version of 1.5.8, with OPC installed.
    Defines for CHECK ORDER STATUS are not being recognised on the Order Status page
    Lines 38 and 44 in the following file...

    one_page_checkout-2.4.3\includes\languages\english\order_status.php
    TEXT_LOOKUP_INSTRUCTIONS
    ENTRY_ORDER_NUMBER

    I copied these defines over to the CORE ZC-1.5.8 file (lang.order_status.php)

    Code:
    <?php
    $define = [
        'NAVBAR_TITLE' => 'Order Status',
        'NAVBAR_TITLE_1' => 'My Account',
        'HEADING_TITLE' => 'Check Order History',
        'TEXT_LOOKUP_INSTRUCTIONS' =>'Select your order number below',
        'ENTRY_ORDER_NUMBER' =>'Order Number',
    ];
    
    return $define;
    ... and this now returns the desired text variable.
    HOWEVER... on 1.5.8 the visitor is provided with a drop-down, not a text-input. Surely, the CHECK ORDER STATUS should therefore be behind a LOGIN?
    20 years a Zencart User

 

 

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 PM

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