All seemed fine, then I found out to have to see the order status page in order to have the database fixed creating two columns that core updater still does not do
However further testing i discovered that in the checkout process having the native OPC activated I get a 500 internal error page.
In the error message there is a link to download an encrypted error log, how can I decrypt it to read the content?
So I switched to the 5 steps checkout, this work, but the custom payments I created are shown four times each.
I do use transformer theme.
What should I look at to give you more info?
What can I do to fix this?
Thank you
Kind regards
About using the OPC I reached to get this error message
ThirtyBeesException
Cannot use object of type Carrier as array
when rendering smarty template themes/transformer/order-opc.tpl
Source file: themes/transformer/order-opc.tpl
1:{*
2:* 2007-2014 PrestaShop
3:*
4:* NOTICE OF LICENSE
5:*
6:* This source file is subject to the Academic Free License (AFL 3.0)
7:* that is bundled with this package in the file LICENSE.txt.
8:* It is also available through the world-wide-web at this URL:
9:* http://opensource.org/licenses/afl-3.0.php
10:* If you did not receive a copy of the license and are unable to
11:* obtain it through the world-wide-web, please send an email
12:* to license@prestashop.com so we can send you a copy immediately.
13:*
14:* DISCLAIMER
15:*
16:* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
17:* versions in the future. If you wish to customize PrestaShop for your
18:* needs please refer to http://www.prestashop.com for more information.
19:*
20:* @author PrestaShop SA <contact@prestashop.com>
21:* @copyright 2007-2014 PrestaShop SA
22:* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
23:* International Registered Trademark & Property of PrestaShop SA
24:*}
25:26:{if $opc}
27: {assign var="back_order_page" value="order-opc.php"}
28: {else}
29: {assign var="back_order_page" value="order.php"}
30:{/if}
31:32:{if $PS_CATALOG_MODE}
33: {capture name=path}{l s='Your shopping cart'}{/capture}
34: <h2 id="cart_title">{l s='Your shopping cart'}</h2>
35: <p class="alert alert-warning">{l s='Your new order was not accepted.'}</p>
36:{else}
37: {if $productNumber}
38: <!-- Shopping Cart -->
39: {include file="$tpl_dir./shopping-cart.tpl"}
40: <!-- End Shopping Cart -->
41: {if $is_logged AND !$is_guest}
42: {include file="$tpl_dir./order-address.tpl"}
43: {else}
44: <!-- Create account / Guest account / Login block -->
45: {include file="$tpl_dir./order-opc-new-account.tpl"}
46: <!-- END Create account / Guest account / Login block -->
47: {/if}
48: <!-- Carrier -->
49: {include file="$tpl_dir./order-carrier.tpl"}
50: <!-- END Carrier -->
51:52: <!-- Payment -->
53: {include file="$tpl_dir./order-payment.tpl"}
54: <!-- END Payment -->
55: {else}
56: {capture name=path}{l s='Your shopping cart'}{/capture}
57: <h2 class="page-heading">{l s='Your shopping cart'}</h2>
58: {include file="$tpl_dir./errors.tpl"}
59: <p class="alert alert-warning">{l s='Your shopping cart is empty.'}</p>
60: {/if}
61:{strip}
62:{addJsDef imgDir=$img_dir}
63:{addJsDef authenticationUrl=$link->getPageLink("authentication", true)|escape:'quotes':'UTF-8'}
64:{addJsDef orderOpcUrl=$link->getPageLink("order-opc", true)|escape:'quotes':'UTF-8'}
65:{addJsDef historyUrl=$link->getPageLink("history", true)|escape:'quotes':'UTF-8'}
66:{addJsDef guestTrackingUrl=$link->getPageLink("guest-tracking", true)|escape:'quotes':'UTF-8'}
67:{addJsDef addressUrl=$link->getPageLink("address", true, NULL, "back={$back_order_page}")|escape:'quotes':'UTF-8'}
68:{addJsDef orderProcess='order-opc'}
69:{addJsDef guestCheckoutEnabled=$PS_GUEST_CHECKOUT_ENABLED|intval}
70:{addJsDef displayPrice=$priceDisplay}
71:{addJsDef taxEnabled=$use_taxes}
72:{addJsDef conditionEnabled=$conditions|intval}
73:{addJsDef vat_management=$vat_management|intval}
74:{addJsDef errorCarrier=$errorCarrier|@addcslashes:'\''}
75:{addJsDef errorTOS=$errorTOS|@addcslashes:'\''}
76:{addJsDef checkedCarrier=$checked|intval}
77:{addJsDef addresses=array()}
78:{addJsDef isVirtualCart=$isVirtualCart|intval}
79:{addJsDef isPaymentStep=$isPaymentStep|intval}
80:{addJsDefL name=txtWithTax}{l s='(tax incl.)' js=1}{/addJsDefL}
81:{addJsDefL name=txtWithoutTax}{l s='(tax excl.)' js=1}{/addJsDefL}
82:{addJsDefL name=txtHasBeenSelected}{l s='has been selected' js=1}{/addJsDefL}
83:{addJsDefL name=txtNoCarrierIsSelected}{l s='No carrier has been selected' js=1}{/addJsDefL}
84:{addJsDefL name=txtNoCarrierIsNeeded}{l s='No carrier is needed for this order' js=1}{/addJsDefL}
85:{addJsDefL name=txtConditionsIsNotNeeded}{l s='You do not need to accept the Terms of Service for this order.' js=1}{/addJsDefL}
86:{addJsDefL name=txtTOSIsAccepted}{l s='The service terms have been accepted' js=1}{/addJsDefL}
87:{addJsDefL name=txtTOSIsNotAccepted}{l s='The service terms have not been accepted' js=1}{/addJsDefL}
88:{addJsDefL name=txtThereis}{l s='There is' js=1}{/addJsDefL}
89:{addJsDefL name=txtErrors}{l s='Error(s)' js=1}{/addJsDefL}
90:{addJsDefL name=txtDeliveryAddress}{l s='Delivery address' js=1}{/addJsDefL}
91:{addJsDefL name=txtInvoiceAddress}{l s='Invoice address' js=1}{/addJsDefL}
92:{addJsDefL name=txtModifyMyAddress}{l s='Modify my address' js=1}{/addJsDefL}
93:{addJsDefL name=txtInstantCheckout}{l s='Instant checkout' js=1}{/addJsDefL}
94:{addJsDefL name=txtSelectAnAddressFirst}{l s='Please start by selecting an address.' js=1}{/addJsDefL}
95:{addJsDefL name=txtFree}{l s='Free' js=1}{/addJsDefL}
96:97:{capture}{if $back}&mod={$back|urlencode}{/if}{/capture}
98:{capture name=addressUrl}{$link->getPageLink('address', true, NULL, 'back='|cat:$back_order_page|cat:'?step=1'|cat:$smarty.capture.default)|escape:'quotes':'UTF-8'}{/capture}
99:{addJsDef addressUrl=$smarty.capture.addressUrl}
100:{capture}{'&multi-shipping=1'|urlencode}{/capture}
101:{addJsDef addressMultishippingUrl=$smarty.capture.addressUrl|cat:$smarty.capture.default}
102:{capture name=addressUrlAdd}{$smarty.capture.addressUrl|cat:'&id_address='}{/capture}
103:{addJsDef addressUrlAdd=$smarty.capture.addressUrlAdd}
104:{addJsDef opc=$opc|boolval}
105:{capture}<h3 class="page-subheading">{l s='Your billing address' js=1}</h3>{/capture}
106:{addJsDefL name=titleInvoice}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL}
107:{capture}<h3 class="page-subheading">{l s='Your delivery address' js=1}</h3>{/capture}
108:{addJsDefL name=titleDelivery}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL}
109:{capture}<a class="btn btn-default" href="{$smarty.capture.addressUrlAdd}" title="{l s='Update' js=1}">{l s='Update' js=1}</a>{/capture}
110:{addJsDefL name=liUpdate}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL}
111:{/strip}
112:{/if}
Question
Raymond
Hello
I upgraded from TB 1.08 to 1.1
All seemed fine, then I found out to have to see the order status page in order to have the database fixed creating two columns that core updater still does not do
However further testing i discovered that in the checkout process having the native OPC activated I get a 500 internal error page.
In the error message there is a link to download an encrypted error log, how can I decrypt it to read the content?
So I switched to the 5 steps checkout, this work, but the custom payments I created are shown four times each.
I do use transformer theme.
What should I look at to give you more info?
What can I do to fix this?
Thank you
Kind regards
About using the OPC I reached to get this error message
Cannot use object of type Carrier as array
Source file: themes/transformer/order-opc.tpl
Stack trace
added error message
Link to comment
Share on other sites
38 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now