Page 1 of 2 12 LastLast
Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: One-Page Checkout [Support Thread]

    Hi
    I am running zencart 1.5.8 Bootstrap V 3.4.0 one-page-checkout V 2.4.3(2022-07-23) PHP 7.4
    Sadly if apply Guest Checkout after putting something in the cart I get your session has expired. Can anyone advise , many thanks

  2. #2
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by ianhg View Post
    Hi
    I am running zencart 1.5.8 Bootstrap V 3.4.0 one-page-checkout V 2.4.3(2022-07-23) PHP 7.4
    Sadly if apply Guest Checkout after putting something in the cart I get your session has expired. Can anyone advise , many thanks
    I have updated to version one-page-checkout V 2.4.4 (2022-11-30)
    I am getting a problem if I allow Guest Checkout and try and purchase I am still getting Session has Expired.
    Would this be an issue with Bootstrap?
    Appreciate some guidance please , Thank you

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,925
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by ianhg View Post
    I have updated to version one-page-checkout V 2.4.4 (2022-11-30)
    I am getting a problem if I allow Guest Checkout and try and purchase I am still getting Session has Expired.
    Would this be an issue with Bootstrap?
    Appreciate some guidance please , Thank you
    Any debug-logs? Any console logs? What version of PHP? What, if any, other plugins are installed?

    Note, also, that the Bootstrap template's been updated to v3.4.1 ... not that I believe that that's going to affect the outcome!

  4. #4
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Any debug-logs? Any console logs? What version of PHP? What, if any, other plugins are installed?

    Note, also, that the Bootstrap template's been updated to v3.4.1 ... not that I believe that that's going to affect the outcome!
    Thank you for answering. So the zen cart is a new install of Zen Cart V1.5.8 from a previous version 1.5.7 (previously used Guest checkout with out any issues). NO Debug-logs I turned on Enable Checkout bug found this in there as below. PHP 7.4 Plugins shipping UK Post Code a couple of others but nothing that should be an issue. Bootstrap 3.4.
    So if you put something in the cart and then go to checkout , click on Check out as a Guest you immediately get the Login Time Out your sessions has expired.

    I did copy the slightly older database over to the new one, is it possible something went wrong there?

    I have used the plugins before with Bootstrap and not had a problem all has worked well in the past, so a bit confused.
    From Checkout debug
    Code:
      2022-12-02 09:24:29 OnePageCheckout: updateOrderAddresses, on entry:order::__set_state(array(   'attachArray' => 
      array (
      ),
       'bestSellersUpdate' => NULL,
       'billing' => 
      array (
      ),
       'content_type' => 'physical',
       'customer' => 
      array (
      ),
       'delivery' => 
      array (
      ),
       'doStockDecrement' => NULL,
       'extra_header_text' => NULL,
       'email_low_stock' => NULL,
       'email_order_message' => NULL,
       'info' => 
      array (
        'order_status' => '2',
        'currency' => 'GBP',
        'currency_value' => '1.000000',
        'payment_method' => '',
        'payment_module_code' => '',
        'coupon_code' => '',
        'shipping_method' => '',
        'shipping_module_code' => '',
        'shipping_cost' => 0,
        'subtotal' => 0,
        'shipping_tax' => 0,
        'tax' => 0,
        'total' => 0,
        'tax_groups' => 
        array (
        ),
        'comments' => '',
        'ip_address' => '**.**.**.**1 - **.**.**.**1',
      ),
       'orderId' => NULL,
       'products' => 
      array (
      ),
       'products_ordered' => NULL,
       'products_ordered_attributes' => NULL,
       'products_ordered_html' => NULL,
       'queryReturnFlag' => NULL,
       'send_low_stock_emails' => NULL,
       'statuses' => 
      array (
      ),
       'total_cost' => NULL,
       'total_tax' => NULL,
       'total_weight' => NULL,
       'totals' => 
      array (
      ),
       'use_external_tax_handler_only' => NULL,
       'observerAliases' => 
      array (
        'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE',
      ),
    ))
    OnePageCheckout Object
    (
        [isGuestCheckoutEnabled:protected] => 1
        [registeredAccounts:protected] => 
        [isEnabled:protected] => 1
        [guestIsActive:protected] => 
        [tempAddressValues:protected] => 
        [guestCustomerInfo:protected] => 
        [guestCustomerId:protected] => 1
        [reset_info:protected] => Array
            (
            )
    
    
        [tempBilltoAddressBookId:protected] => 1
        [tempSendtoAddressBookId:protected] => 2
        [dbStringType:protected] => stringIgnoreNull
        [label_params:protected] => 
        [sendtoSaved:protected] => 
        [paypalAddressOverride:protected] => 
        [paypalTotalValue:protected] => 
        [paypalTotalValueChanged:protected] => 
        [paypalNoShipping:protected] => 
        [customerInfoOk:protected] => 
        [billtoTempAddrOk:protected] => 
        [sendtoTempAddrOk:protected] => 
        [isVirtualOrder:protected] => 
        [billtoAddressChangeable:protected] => 
        [sendtoAddressChangeable:protected] => 
        [observerAliases:base:private] => Array
            (
                [NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE] => NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE
            )
    
    
    )
    
    
    2022-12-02 09:24:29 OnePageCheckout: Current sendto: not set
    2022-12-02 09:24:29 OnePageCheckout: updateOrderAddresses, , , 0, 0
    []
    []
    []
    2022-12-02 09:24:31 checkout_one_observer: checkout_one redirect 1a: Array
    (
        [main_page] => checkout_shipping
    )
    
    
    
    
    Array
    (
        [securityToken] => 9a9b2dc89af9b4f22c438bc31871c9b6
        [customers_host_address] => 82-69-16-141.dsl.in-addr.zen.co.uk
        [opc] => OnePageCheckout Object
            (
                [isGuestCheckoutEnabled:protected] => 1
                [registeredAccounts:protected] => 
                [isEnabled:protected] => 1
                [guestIsActive:protected] => 
                [tempAddressValues:protected] => 
                [guestCustomerInfo:protected] => 
                [guestCustomerId:protected] => 1
                [reset_info:protected] => Array
                    (
                    )
    
    
                [tempBilltoAddressBookId:protected] => 1
                [tempSendtoAddressBookId:protected] => 2
                [dbStringType:protected] => stringIgnoreNull
                [label_params:protected] => 
                [sendtoSaved:protected] => 
                [paypalAddressOverride:protected] => 
                [paypalTotalValue:protected] => 
                [paypalTotalValueChanged:protected] => 
                [paypalNoShipping:protected] => 
                [customerInfoOk:protected] => 
                [billtoTempAddrOk:protected] => 
                [sendtoTempAddrOk:protected] => 
                [isVirtualOrder:protected] => 
                [billtoAddressChangeable:protected] => 
                [sendtoAddressChangeable:protected] => 
                [observerAliases:base:private] => Array
                    (
                        [NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE] => NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE
                    )
    
    
            )
    
    
        [cartID] => 
        [cart_errors] => 
        [valid_to_checkout] => 1
        [cart] => shoppingCart Object
            (
                [contents] => Array
                    (
                        [200:3685352893bb559c6ee298feb1ef88ca] => Array
                            (
                                [qty] => 1
                                [attributes] => Array
                                    (
                                        [1] => 38
                                    )
    
    
                            )
    
    
                    )
    
    
                [total] => 33.95
                [weight] => 0.3
                [cartID] => 36454
                [content_type:protected] => physical
                [free_shipping_item:protected] => 0
                [free_shipping_weight:protected] => 0
                [free_shipping_price:protected] => 0
                [download_count:protected] => 0
                [total_before_discounts:protected] => 33.95
                [display_debug_messages:protected] => 
                [flag_duplicate_msgs_set:protected] => 
                [flag_duplicate_quantity_msgs_set:protected] => Array
                    (
                    )
    
    
                [observerAliases:base:private] => Array
                    (
                        [NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE] => NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE
                    )
    
    
            )
    
    
        [check_valid_prod] => 1
        [navigation] => navigationHistory Object
            (
                [path] => Array
                    (
                        [0] => Array
                            (
                                [page] => index
                                [mode] => SSL
                                [get] => Array
                                    (
                                        [cPath] => 2
                                    )
    
    
                                [post] => Array
                                    (
                                    )
    
    
                            )
    
    
                        [1] => Array
                            (
                                [page] => product_info
                                [mode] => SSL
                                [get] => Array
                                    (
                                        [cPath] => 2_16
                                        [products_id] => 200
                                        [number_of_uploads] => 0
                                        [action] => add_product
                                    )
    
    
                                [post] => Array
                                    (
                                    )
    
    
                            )
    
    
                        [2] => Array
                            (
                                [page] => shopping_cart
                                [mode] => SSL
                                [get] => Array
                                    (
                                    )
    
    
                                [post] => Array
                                    (
                                    )
    
    
                            )
    
    
                        [3] => Array
                            (
                                [page] => checkout_shipping
                                [mode] => SSL
                                [get] => Array
                                    (
                                    )
    
    
                                [post] => Array
                                    (
                                    )
    
    
                            )
    
    
                    )
    
    
                [snapshot] => Array
                    (
                        [page] => product_info
                        [mode] => SSL
                        [get] => Array
                            (
                                [cPath] => 2_16
                                [products_id] => 200
                            )
    
    
                        [post] => Array
                            (
                            )
    
    
                    )
    
    
                [observerAliases:base:private] => Array
                    (
                        [NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE] => NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE
                    )
    
    
            )
    
    
        [language] => english
        [languages_id] => 1
        [languages_code] => en
        [layoutType] => legacy
        [currency] => GBP
        [today_is] => 2022-12-02
        [updateExpirations] => 1
        [antispam_fieldname] => 9xxX9M9fdi
        [session_counter] => 1
        [customers_ip_address] => **.**.**.**
        [new_products_id_in_cart] => 200:3685352893bb559c6ee298feb1ef88ca
        [cart_country_id] => 222
        [country_info] => Array
            (
                [countries_name] => United Kingdom
                [countries_iso_code_2] => GB
                [countries_iso_code_3] => GBR
            )
    
    
        [shipping_weight] => 0.3
    )
    
    
    2022-12-02 09:24:31 checkout_one: CHECKOUT_ONE_ENTRY, version (2.4.4 (2022-11-30)), Zen Cart version (1.5.8), template (bootstrap)
    2022-12-02 09:24:31 OnePageCheckout: startGuestOnePageCheckout, exit: sendto: not set, billto: not set
    OnePageCheckout Object
    (
        [isGuestCheckoutEnabled:protected] => 1
        [registeredAccounts:protected] => 
        [isEnabled:protected] => 1
        [guestIsActive:protected] => 
        [tempAddressValues:protected] => Array
            (
                [ship] => Array
                    (
                        [gender] => 
                        [company] => 
                        [firstname] => 
                        [lastname] => 
                        [street_address] => 
                        [suburb] => 
                        [city] => 
                        [postcode] => 
                        [state] => 
                        [country] => 222
                        [country_id] => 222
                        [zone_id] => 0
                        [zone_name] => 
                        [address_book_id] => 0
                        [selected_country] => 222
                        [country_has_zones] => 1
                        [state_field_label] => 
                        [show_pulldown_states] => 1
                        [error] => 
                        [error_state_input] => 
                        [validated] => 
                    )
    
    
                [bill] => Array
                    (
                        [gender] => 
                        [company] => 
                        [firstname] => 
                        [lastname] => 
                        [street_address] => 
                        [suburb] => 
                        [city] => 
                        [postcode] => 
                        [state] => 
                        [country] => 222
                        [country_id] => 222
                        [zone_id] => 0
                        [zone_name] => 
                        [address_book_id] => 0
                        [selected_country] => 222
                        [country_has_zones] => 1
                        [state_field_label] => 
                        [show_pulldown_states] => 1
                        [error] => 
                        [error_state_input] => 
                        [validated] => 
                    )
    
    
            )
    
    
        [guestCustomerInfo:protected] => 
        [guestCustomerId:protected] => 1
        [reset_info:protected] => Array
            (
            )
    
    
        [tempBilltoAddressBookId:protected] => 1
        [tempSendtoAddressBookId:protected] => 2
        [dbStringType:protected] => stringIgnoreNull
        [label_params:protected] => 
        [sendtoSaved:protected] => 
        [paypalAddressOverride:protected] => 
        [paypalTotalValue:protected] => 
        [paypalTotalValueChanged:protected] => 
        [paypalNoShipping:protected] => 
        [customerInfoOk:protected] => 
        [billtoTempAddrOk:protected] => 
        [sendtoTempAddrOk:protected] => 
        [isVirtualOrder:protected] => 
        [billtoAddressChangeable:protected] => 
        [sendtoAddressChangeable:protected] => 
        [observerAliases:base:private] => Array
            (
                [NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE] => NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE
            )
    
    
    )
    
    
    2022-12-02 09:24:37 checkout_one: CHECKOUT_ONE_ENTRY, version (2.4.4 (2022-11-30)), Zen Cart version (1.5.8), template (bootstrap)
    2022-12-02 09:24:37 OnePageCheckout: startGuestOnePageCheckout, exit: sendto: not set, billto: not set
    OnePageCheckout Object
    (
        [isGuestCheckoutEnabled:protected] => 1
        [registeredAccounts:protected] => 
        [isEnabled:protected] => 1
        [guestIsActive:protected] => 1
        [tempAddressValues:protected] => Array
            (
                [ship] => Array
                    (
                        [gender] => 
                        [company] => 
                        [firstname] => 
                        [lastname] => 
                        [street_address] => 
                        [suburb] => 
                        [city] => 
                        [postcode] => 
                        [state] => 
                        [country] => 222
                        [country_id] => 222
                        [zone_id] => 0
                        [zone_name] => 
                        [address_book_id] => 0
                        [selected_country] => 222
                        [country_has_zones] => 1
                        [state_field_label] => 
                        [show_pulldown_states] => 1
                        [error] => 
                        [error_state_input] => 
                        [validated] => 
                    )
    
    
                [bill] => Array
                    (
                        [gender] => 
                        [company] => 
                        [firstname] => 
                        [lastname] => 
                        [street_address] => 
                        [suburb] => 
                        [city] => 
                        [postcode] => 
                        [state] => 
                        [country] => 222
                        [country_id] => 222
                        [zone_id] => 0
                        [zone_name] => 
                        [address_book_id] => 0
                        [selected_country] => 222
                        [country_has_zones] => 1
                        [state_field_label] => 
                        [show_pulldown_states] => 1
                        [error] => 
                        [error_state_input] => 
                        [validated] => 
                    )
    
    
            )
    
    
        [guestCustomerInfo:protected] => Array
            (
                [firstname] => 
                [lastname] => 
                [email_address] => 
                [telephone] => 
                [dob] => 
                [gender] => 
            )
    
    
        [guestCustomerId:protected] => 1
        [reset_info:protected] => Array
            (
            )
    
    
        [tempBilltoAddressBookId:protected] => 1
        [tempSendtoAddressBookId:protected] => 2
        [dbStringType:protected] => stringIgnoreNull
        [label_params:protected] => 
        [sendtoSaved:protected] => 
        [paypalAddressOverride:protected] => 
        [paypalTotalValue:protected] => 
        [paypalTotalValueChanged:protected] => 
        [paypalNoShipping:protected] => 
        [customerInfoOk:protected] => 
        [billtoTempAddrOk:protected] => 
        [sendtoTempAddrOk:protected] => 
        [isVirtualOrder:protected] => 
        [billtoAddressChangeable:protected] => 
        [sendtoAddressChangeable:protected] => 
        [observerAliases:base:private] => Array
            (
                [NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE] => NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE
            )
    
    
    )
    Thanks appreciate any guidance

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,925
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    @ianhg, PM me a link to the site where you're having this issue.

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

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by ianhg View Post
    I have updated to version one-page-checkout V 2.4.4 (2022-11-30)
    I am getting a problem if I allow Guest Checkout and try and purchase I am still getting Session has Expired.
    Would this be an issue with Bootstrap?
    Appreciate some guidance please , Thank you
    I think the issue may be in the sequence in which you loaded the mods.
    We (myzencarthost.com) have found that OPC needs to be loaded prior to the Bootstrap files as bootstrap needs to modify OPC silightly in order for the two to properly operate together.

    Also, don't forget
    • If you have OPC installed, its Order Total: jQuery Selector configuration setting should be set to #ottotal > .ot-text for the Bootstrap template's use.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  7. #7
    Join Date
    Dec 2013
    Location
    Adelaide, South Australia
    Posts
    29
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Hi Guys, Love the OPC module, thank you for all your efforts. :)

    I have checked my logs afer a week of using and found the following entries.

    Could soneone hava quick look and help me resolve the issues please. :)

    [29-Nov-2022 15:32:24 Australia/Melbourne] Request URI: /index.php?main_page=checkout_one, IP address: 159.196.51.68

    #1 trigger_error() called at [/***/public_html/includes/classes/OnePageCheckout.php:1078]

    #2 OnePageCheckout->getAddressValuesFromDb() called at [/***/public_html/includes/classes/OnePageCheckout.php:1051]

    #3 OnePageCheckout->getAddressValues() called at [/***/public_html/includes/templates/template_default/templates/tpl_modules_opc_address_block.php:26]

    #4 require(/***/public_html/includes/templates/template_default/templates/tpl_modules_opc_address_block.php) called at [/***/public_html/includes/templates/template_default/templates/tpl_modules_opc_billing_address.php:14]

    #5 require(/***/public_html/includes/templates/template_default/templates/tpl_modules_opc_billing_address.php) called at [/***/public_html/includes/templates/template_default/templates/tpl_checkout_one_default.php:54]

    #6 require(/***/public_html/includes/templates/template_default/templates/tpl_checkout_one_default.php) called at [/****/public_html/includes/templates/responsive_abcflags/common/tpl_main_page.php:178]

    #7 require(/***/public_html/includes/templates/responsive_abcflags/common/tpl_main_page.php) called at [/***/public_html/index.php:94]
    --> PHP Fatal error: unknown address_book_id (1199) for customer_id (1048) in /***/public_html/includes/classes/OnePageCheckout.php on line 1078.



    Thanking you in advance. :)

    --------------------

  8. #8
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by dbltoe View Post
    I think the issue may be in the sequence in which you loaded the mods.
    We (myzencarthost.com) have found that OPC needs to be loaded prior to the Bootstrap files as bootstrap needs to modify OPC silightly in order for the two to properly operate together.

    Also, don't forget
    Thanks for your reply .. Order Total is as you suggested.

  9. #9
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by dbltoe View Post
    I think the issue may be in the sequence in which you loaded the mods.
    We (myzencarthost.com) have found that OPC needs to be loaded prior to the Bootstrap files as bootstrap needs to modify OPC silightly in order for the two to properly operate together.
    Thank you I can not remember in which order the mods were added, is there a way to check and see if the OPC have been modified for Bootstrap to work?

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,925
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by ianhg View Post
    Thank you I can not remember in which order the mods were added, is there a way to check and see if the OPC have been modified for Bootstrap to work?
    If you actually read the installation instructions in either readme.html, both OPC and Bootstrap indicate that you should merge (not simply overwrite) changes for the template-override files.

    That said, the information-sidebox code that comes with the template should take precedence over that shipped with OPC. There are no modifications to OPC required for Bootstrap to interoperate, only that the current version of both be used.

 

 
Page 1 of 2 12 LastLast

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

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