Page 256 of 296 FirstFirst ... 156206246254255256257258266 ... LastLast
Results 2,551 to 2,560 of 2956
  1. #2551
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,294
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Hmm, that constant is defined in /includes/languages/english/extra_definitions/lang.checkout_one_extra_definitions.php. Did you, perhaps, forget to copy that file when you installed?
    In the above file, it appears that
    Code:
    'ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED', 'Access to that page ............
    should be

    Code:
    'ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED' => 'Access to that page ............
    Simon

  2. #2552
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,294
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by simon1066 View Post
    In the above file, it appears that
    Code:
    'ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED', 'Access to that page ............
    should be

    Code:
    'ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED' => 'Access to that page ............
    Raised as an issue on Github.
    Simon

  3. #2553
    Join Date
    Apr 2019
    Posts
    292
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by simon1066 View Post
    In the above file, it appears that
    Code:
    'ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED', 'Access to that page ............
    should be

    Code:
    'ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED' => 'Access to that page ............
    Hi @Simon, I just tried your suggestion and it fixed! Thanks!

  4. #2554
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: One-Page Checkout [Support Thread]

    PR created. Thanks Simon.
    That Software Guy. My Store: Zen Cart Support
    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.

  5. #2555
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,349
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    v2.4.5 of One-Page Checkout is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2095

    This release contains changes associated with the following GitHub issues:

    #364: Correct missing language-constant ERROR_GUEST_CHECKOUT_PAGE_DISALLOWED.
    #367: HTML5, remove type="text/javascript" from <script> tags.
    #368: order_status page, correct PHP fatal error on initial installation on zc157.
    #369: Ensure that $_SESSION['customers_email_address'] is set for registered-account creation and guest-checkout.

  6. #2556
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,449
    Plugin Contributions
    11

    Default Re: One-Page Checkout [Support Thread]

    1.5.8 with PHP 8
    BootStrap 3.5.0 -- IMPORTANT
    Updating OPC to 2.4.7

    Part of the OPC distro includes/modules/sideboxes/YOUR_TEMPLATE/information.php. It is said to not be a core file replacement. This seems to be false if the store is using bootstrap or a bootstrap clone.

    If you clone bootstrap to, say, boot_dbltoe it then essentially becomes the "YOUR_TEMPLATE" folder for 1.5.8 running bootstrap.

    The directions state to rename the OPC YOUR_TEMPLATE files to whatever your current template is called which would result in the provided OPC file to be renamed to includes/modules/sideboxes/boot_dbltoe/information.php.

    When that file is loaded to the store, the original bootstrap information.php is overwritten by the OPC and the following log file occurs along with a partial blank page.

    Code:
    [27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1#1 require(/includes/templates/boot_dbltoe/sideboxes/tpl_information.php) called at [/includes/modules/sideboxes/boot_dbltoe/information.php:56]
    #2 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
    #3 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
    #4 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
    #5 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
    --> PHP Warning: Undefined variable $box_id in /includes/templates/boot_dbltoe/sideboxes/tpl_information.php on line 12.
    
    
    [27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1
    #1 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
    #2 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
    #3 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
    #4 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
    --> PHP Warning: Undefined variable $column_box_default in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.
    
    
    [27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1
    #1 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
    #2 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
    #3 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
    #4 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
    --> PHP Warning: Undefined variable $column_box_default in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.
    
    
    [27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1
    #1 require() called at [/includes/modules/sideboxes/boot_dbltoe/information.php:61]
    #2 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
    #3 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
    #4 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
    #5 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
    --> PHP Warning: require(/includes/templates/boot_dbltoe/common): Failed to open stream: No such file or directory in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.
    
    
    [27-Dec-2022 13:08:33 America/Denver] PHP Fatal error: Uncaught Error: Failed opening required 'includes/templates/boot_dbltoe/common/' (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /includes/modules/sideboxes/boot_dbltoe/information.php:61
    Stack trace:
    #0 /includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php(97): require()
    #1 /includes/templates/boot_dbltoe/common/tpl_header.php(77): require('/home/hornkati/...')
    #2 /includes/templates/boot_dbltoe/common/tpl_main_page.php(125): require('/home/hornkati/...')
    #3 /index.php(94): require('/home/hornkati/...')
    #4 {main}
    thrown in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61
    
    
    [27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255
    --> PHP Fatal error: Uncaught Error: Failed opening required 'includes/templates/boot_dbltoe/common/' (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /includes/modules/sideboxes/boot_dbltoe/information.php:61
    Stack trace:
    #0 /includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php(97): require()
    #1 /includes/templates/boot_dbltoe/common/tpl_header.php(77): require('/home/hornkati/...')
    #2 /includes/templates/boot_dbltoe/common/tpl_main_page.php(125): require('/home/hornkati/...')
    #3 /index.php(94): require('/home/hornkati/...')
    #4 {main}
    thrown in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.
    Replacing the OPC information.php file with the original from bootstrap 3.5.0 restores operation to the store.

    Had this same problem before but was not able to replicate cause and effect till this time.

  7. #2557
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,349
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by dbltoe View Post
    1.5.8 with PHP 8
    BootStrap 3.5.0 -- IMPORTANT
    Updating OPC to 2.4.7

    Part of the OPC distro includes/modules/sideboxes/YOUR_TEMPLATE/information.php. It is said to not be a core file replacement. This seems to be false if the store is using bootstrap or a bootstrap clone.

    If you clone bootstrap to, say, boot_dbltoe it then essentially becomes the "YOUR_TEMPLATE" folder for 1.5.8 running bootstrap.

    The directions state to rename the OPC YOUR_TEMPLATE files to whatever your current template is called which would result in the provided OPC file to be renamed to includes/modules/sideboxes/boot_dbltoe/information.php.

    When that file is loaded to the store, the original bootstrap information.php is overwritten by the OPC and the following log file occurs along with a partial blank page.

    Code:
    [27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1#1 require(/includes/templates/boot_dbltoe/sideboxes/tpl_information.php) called at [/includes/modules/sideboxes/boot_dbltoe/information.php:56]
    #2 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
    #3 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
    #4 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
    #5 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
    --> PHP Warning: Undefined variable $box_id in /includes/templates/boot_dbltoe/sideboxes/tpl_information.php on line 12.
    
    
    [27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1
    #1 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
    #2 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
    #3 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
    #4 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
    --> PHP Warning: Undefined variable $column_box_default in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.
    
    
    [27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1
    #1 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
    #2 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
    #3 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
    #4 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
    --> PHP Warning: Undefined variable $column_box_default in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.
    
    
    [27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255, Language id 1
    #1 require() called at [/includes/modules/sideboxes/boot_dbltoe/information.php:61]
    #2 require(/includes/modules/sideboxes/boot_dbltoe/information.php) called at [/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php:97]
    #3 require(/includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php) called at [/includes/templates/boot_dbltoe/common/tpl_header.php:77]
    #4 require(/includes/templates/boot_dbltoe/common/tpl_header.php) called at [/includes/templates/boot_dbltoe/common/tpl_main_page.php:125]
    #5 require(/includes/templates/boot_dbltoe/common/tpl_main_page.php) called at [/index.php:94]
    --> PHP Warning: require(/includes/templates/boot_dbltoe/common): Failed to open stream: No such file or directory in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.
    
    
    [27-Dec-2022 13:08:33 America/Denver] PHP Fatal error: Uncaught Error: Failed opening required 'includes/templates/boot_dbltoe/common/' (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /includes/modules/sideboxes/boot_dbltoe/information.php:61
    Stack trace:
    #0 /includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php(97): require()
    #1 /includes/templates/boot_dbltoe/common/tpl_header.php(77): require('/home/hornkati/...')
    #2 /includes/templates/boot_dbltoe/common/tpl_main_page.php(125): require('/home/hornkati/...')
    #3 /index.php(94): require('/home/hornkati/...')
    #4 {main}
    thrown in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61
    
    
    [27-Dec-2022 13:08:33 America/Denver] Request URI: /index.php?main_page=down_for_maintenance, IP address: 255.255.255.255
    --> PHP Fatal error: Uncaught Error: Failed opening required 'includes/templates/boot_dbltoe/common/' (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /includes/modules/sideboxes/boot_dbltoe/information.php:61
    Stack trace:
    #0 /includes/templates/boot_dbltoe/common/tpl_offcanvas_menu.php(97): require()
    #1 /includes/templates/boot_dbltoe/common/tpl_header.php(77): require('/home/hornkati/...')
    #2 /includes/templates/boot_dbltoe/common/tpl_main_page.php(125): require('/home/hornkati/...')
    #3 /index.php(94): require('/home/hornkati/...')
    #4 {main}
    thrown in /includes/modules/sideboxes/boot_dbltoe/information.php on line 61.
    Replacing the OPC information.php file with the original from bootstrap 3.5.0 restores operation to the store.

    Had this same problem before but was not able to replicate cause and effect till this time.
    Thanks, @dbltoe. I'll get the OPC installation instructions updated to note that the Bootstrap template (v2.4.0 and later) already has the required template files for that sidebox.

  8. #2558
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,294
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    On ZC v1.5.8 is it necessary to have both 'lang.' and 'non-lang.' versions of

    /includes/languages/english/modules/order_total/YOUR_TEMPLATE/ot_coupon.php
    /includes/languages/english/modules/order_total/YOUR_TEMPLATE/ot_gv.php

    could I merge both files into a 'lang.' version only?
    Simon

  9. #2559
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,349
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by simon1066 View Post
    On ZC v1.5.8 is it necessary to have both 'lang.' and 'non-lang.' versions of

    /includes/languages/english/modules/order_total/YOUR_TEMPLATE/ot_coupon.php
    /includes/languages/english/modules/order_total/YOUR_TEMPLATE/ot_gv.php

    could I merge both files into a 'lang.' version only?
    For zc158, you can simply rename the ot_coupon.php and ot_gv.php to be .php~ files; the changes for zc158 are present in the lang. format.

  10. #2560
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,294
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    Excellent, thank you.
    Simon

 

 

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