Page 181 of 290 FirstFirst ... 81131171179180181182183191231281 ... LastLast
Results 1,801 to 1,810 of 2900
  1. #1801
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,884
    Plugin Contributions
    89

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jeking View Post
    Zen Cart 1.5.5f
    Template is M o z e n (forum won't let me post that word without the spaces)
    OPC 2.3.4

    I did follow the steps for 1.5.5f on GitHub

    When trying to checkout, I'm getting a 500 error:
    [26-Oct-2020 09:29:39 America/Chicago] PHP Parse error: syntax error, unexpected ')', expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in /XXX/includes/modules/pages/checkout_one/header_php.php on line 355

    Clearly this file is not the root cause. But if that's not the cause, where do I go looking for the real issue?
    I don't know where that header_php.php file 'came from', but that file hasn't changed since November of 2019.

    Line 355 of the as-shipped version of the file is highlighted below:
    Code:
    // -----
    // Determine if there are any payment modules that are in the confirmation-required list.
    //
    // The generated list is used within the /includes/modules/pages/checkout_one/jscript_main.php module to determine what text to
    // display for the order-submittal text/title.
    //
    $required_list = '';
    if (!empty(CHECKOUT_ONE_CONFIRMATION_REQUIRED)) {
        $confirmation_required = explode(',', CHECKOUT_ONE_CONFIRMATION_REQUIRED);
        $required_list = '"' . implode('", "', $confirmation_required) . '"';
    }

  2. #1802
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,884
    Plugin Contributions
    89

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by strelitzia View Post
    I'm having problems with Payment form styling changing if a user makes a change to the default shipping method after OPC page has loaded.
    After inspecting the page in both conditions I've discovered that on initial page load the form fields all have

    class="form-control"

    But as soon as a shipping method is changed that class is removed from the form fields, messing up the form style.

    Is there a fix for this, or do I need to modify my forms so they look nice without the "form-control" class?
    What version of Zen Cart and OPC is in use?
    What template is in use? I'll note that the default OPC templating doesn't include any form-control classes.

  3. #1803
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,575
    Plugin Contributions
    28

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    I don't know where that header_php.php file 'came from', but that file hasn't changed since November of 2019.

    Line 355 of the as-shipped version of the file is highlighted below:
    Code:
    // -----
    // Determine if there are any payment modules that are in the confirmation-required list.
    //
    // The generated list is used within the /includes/modules/pages/checkout_one/jscript_main.php module to determine what text to
    // display for the order-submittal text/title.
    //
    $required_list = '';
    if (!empty(CHECKOUT_ONE_CONFIRMATION_REQUIRED)) {
        $confirmation_required = explode(',', CHECKOUT_ONE_CONFIRMATION_REQUIRED);
        $required_list = '"' . implode('", "', $confirmation_required) . '"';
    }
    This is why I'm confused. That's what's in the file: https://prnt.sc/v76rm3

  4. #1804
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,884
    Plugin Contributions
    89

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jeking View Post
    This is why I'm confused. That's what's in the file: https://prnt.sc/v76rm3
    Shoot me a copy of that file to my direct email address, please.

  5. #1805
    Join Date
    Nov 2005
    Location
    France
    Posts
    592
    Plugin Contributions
    8

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    What version of Zen Cart and OPC is in use?
    What template is in use?
    OPC version: 2.3.4
    ZC version: 1.5.7
    Template is a heavily modified template default that has undergone many changes/upgrades since it was first used by the client way back on zc 1.5.1
    All the form fields have class="form-control" to provide uniform styling.

  6. #1806
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,884
    Plugin Contributions
    89

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by strelitzia View Post
    OPC version: 2.3.4
    ZC version: 1.5.7
    Template is a heavily modified template default that has undergone many changes/upgrades since it was first used by the client way back on zc 1.5.1
    All the form fields have class="form-control" to provide uniform styling.
    Did this issue start 'recently'?

    Was the template and OPC working together on a previous version of Zen Cart?

    Have you applied all the patches identified for zc157 (https://www.zen-cart.com/showthread....1-5-7-series)?

  7. #1807
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,884
    Plugin Contributions
    89

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Shoot me a copy of that file to my direct email address, please.
    Copy received and, as indicated, it's a match for the as-distributed version. What version of PHP is in use?

  8. #1808
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,575
    Plugin Contributions
    28

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Copy received and, as indicated, it's a match for the as-distributed version. What version of PHP is in use?
    Interesting question. 5.4.45. Upgrading PHP is also on the task list. Tried last week but failed. So waiting on Hostgator support....

  9. #1809
    Join Date
    Nov 2005
    Location
    France
    Posts
    592
    Plugin Contributions
    8

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Did this issue start 'recently'?

    Was the template and OPC working together on a previous version of Zen Cart?

    Have you applied all the patches identified for zc157 (https://www.zen-cart.com/showthread....1-5-7-series)?
    The site was using FEC up until the recent upgrade to 1.5.7, so no idea if OPC would have the same issues on an older version of zen cart.
    Yes, all bug fixes listed in that thread have been implemented.

    To be clear, I have no issue with the form at all when OPC page first loads. But as soon as a shipping method selection is changed, the class is removed from the payment method fields, breaking their layout. I can only assume something in the OPC code is doing this as it doesn't expect that class to exist. They still perform their task, just don't look pretty.

  10. #1810
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,884
    Plugin Contributions
    89

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jeking View Post
    Interesting question. 5.4.45. Upgrading PHP is also on the task list. Tried last week but failed. So waiting on Hostgator support....
    I haven't seen a site running that version of PHP for a long time, nor have I done any integration testing with OPC on that very old version.

 

 

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