Hello, i have tried the Chex 0.9.0 , but now i am getting an error 500.
I have choosen the One Page Checkout (Order process type) in BO Preferences/Orders and the module is active (but i have no valid license).
The error is as follows. What to do? What is happening and how can i solve this. I think i really will use Chex but i have to fix this first.
1:{*
2:* 2007-2015 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
[email protected] 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 <
[email protected]>
21:* @copyright 2007-2015 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:{if !$opc}
26: {capture name=path}{l s='Shipping:'}{/capture}
27: {assign var='current_step' value='shipping'}
28: <div id="carrier_area">
29: <h1 class="page-heading">{l s='Shipping:'}</h1>
30:<!-- disabled showing order-steps -->
31: {* include file="$tpl_dir./order-steps.tpl" *}
32: {include file="$tpl_dir./errors.tpl"}
33: <form id="form" action="{$link->getPageLink('order', true, NULL, "{if $multi_shipping}multi-shipping={$multi_shipping}{/if}")|escape:'html':'UTF-8'}" method="post" name="carrier_area">
34:{else}
35: <div id="carrier_area" class="opc-main-block">
36: <h1 class="page-heading step-num"><span>2</span> {l s='Delivery methods'}</h1>
37: <div id="opc_delivery_methods" class="opc-main-block">
38: <div id="opc_delivery_methods-overlay" class="opc-overlay" style="display: none;"></div>
39:{/if}
40:<div class="order_carrier_content box">
41: {if isset($virtual_cart) && $virtual_cart}
42: <input id="input_virtual_carrier" class="hidden" type="hidden" name="id_carrier" value="0" />
43: <p class="alert alert-warning">{l s='No carrier is needed for this order.'}</p>
44: {else}
45: <div id="HOOK_BEFORECARRIER">
46: {if isset($carriers) && isset($HOOK_BEFORECARRIER)}
47: {$HOOK_BEFORECARRIER}
48: {/if}
49: </div>
50: {if isset($isVirtualCart) && $isVirtualCart}
51: <p class="alert alert-warning">{l s='No carrier is needed for this order.'}</p>
52: {else}
53: <div class="delivery_options_address">
54: {if isset($delivery_option_list)}
55: {foreach $delivery_option_list as $id_address => $option_list}
56: <p class="carrier_title">
57: {if isset($address_collection[$id_address])}
58: {l s='Choose a shipping option for this address:'} {$address_collection[$id_address]->alias}
59: {else}
60: {l s='Choose a shipping option'}
61: {/if}
62: </p>
63: <div class="delivery_options">
64: {foreach $option_list as $key => $option}
65: <div class="delivery_option {if ($option@index % 2)}alternate_{/if}item">
66: <div>
67: <table class="resume table table-bordered{if !$option.unique_carrier} hide{/if}">
68: <tr>
69: <td class="delivery_option_radio">
70: <input id="delivery_option_{$id_address|intval}_{$option@index}" class="delivery_option_radio" type="radio" name="delivery_option[{$id_address|intval}]" data-key="{$key}" data-id_address="{$id_address|intval}" value="{$key}"{if isset($delivery_option[$id_address]) && $delivery_option[$id_address] == $key} checked="checked"{/if} />
71: </td>
72: <td class="delivery_option_logo">
73: {foreach $option.carrier_list as $carrier}
74: {if $carrier.logo}
75: <img class="order_carrier_logo" src="{$carrier.logo|escape:'htmlall':'UTF-8'}" alt="{$carrier.instance->name|escape:'htmlall':'UTF-8'}"/>
76: {elseif !$option.unique_carrier}
77: {$carrier.instance->name|escape:'htmlall':'UTF-8'}
78: {if !$carrier@last} - {/if}
79: {/if}
80: {/foreach}
81: </td>
82: <td>
83: {if $option.unique_carrier}
84: {foreach $option.carrier_list as $carrier}
85: <strong>{$carrier.instance->name|escape:'htmlall':'UTF-8'}</strong>
86: {/foreach}
87: {if isset($carrier.instance->delay[$cookie->id_lang])}
88: <br />{l s='Delivery time:'} {$carrier.instance->delay[$cookie->id_lang]|escape:'htmlall':'UTF-8'}
89: {/if}
90: {/if}
91: {if count($option_list) > 1}
92: <br />
93: {if $option.is_best_grade}
94: {if $option.is_best_price}
95: <span class="best_grade best_grade_price best_grade_speed">{l s='The best price and speed'}</span>
96: {else}
97: <span class="best_grade best_grade_speed">{l s='The fastest'}</span>
98: {/if}
99: {elseif $option.is_best_price}
100: <span class="best_grade best_grade_price">{l s='The best price'}</span>
101: {/if}
102: {/if}
103: </td>
104: <td class="delivery_option_price">
105: <div class="delivery_option_price">
106: {if $option.total_price_with_tax && !$option.is_free && (!isset($free_shipping) || (isset($free_shipping) && !$free_shipping))}
107: {if $use_taxes == 1}
108: {if $priceDisplay == 1}
109: {convertPrice price=$option.total_price_without_tax}{if $display_tax_label} {l s='(tax excl.)'}{/if}
110: {else}
111: {convertPrice price=$option.total_price_with_tax}{if $display_tax_label} {l s='(tax incl.)'}{/if}
112: {/if}
113: {else}
114: {convertPrice price=$option.total_price_without_tax}
115: {/if}
116: {else}
117: {l s='Free'}
118: {/if}
119: </div>
120: </td>
121: </tr>
122: </table>
123: {if !$option.unique_carrier}
124: <table class="delivery_option_carrier{if isset($delivery_option[$id_address]) && $delivery_option[$id_address] == $key} selected{/if} resume table table-bordered{if $option.unique_carrier} hide{/if}">
125: <tr>
126: {if !$option.unique_carrier}
127: <td rowspan="{$option.carrier_list|@count}" class="delivery_option_radio first_item">
128: <input id="delivery_option_{$id_address|intval}_{$option@index}" class="delivery_option_radio" type="radio" name="delivery_option[{$id_address|intval}]" data-key="{$key}" data-id_address="{$id_address|intval}" value="{$key}"{if isset($delivery_option[$id_address]) && $delivery_option[$id_address] == $key} checked="checked"{/if} />
129: </td>
130: {/if}
131: {assign var="first" value=current($option.carrier_list)}
132: <td class="delivery_option_logo{if $first.product_list[0].carrier_list[0] eq 0} hide{/if}">
133: {if $first.logo}
134: <img class="order_carrier_logo" src="{$first.logo|escape:'htmlall':'UTF-8'}" alt="{$first.instance->name|escape:'htmlall':'UTF-8'}"/>
135: {elseif !$option.unique_carrier}
136: {$first.instance->name|escape:'htmlall':'UTF-8'}
137: {/if}
138: </td>
139: <td class="{if $option.unique_carrier}first_item{/if}{if $first.product_list[0].carrier_list[0] eq 0} hide{/if}">
140: <input type="hidden" value="{$first.instance->id|intval}" name="id_carrier" />
141: {if isset($first.instance->delay[$cookie->id_lang])}
142: <i class="icon-info-sign"></i>
143: {strip}
144: {$first.instance->delay[$cookie->id_lang]|escape:'htmlall':'UTF-8'}
145:
146: {if count($first.product_list) <= 1}
147: ({l s='For this product:'}
148: {else}
149: ({l s='For these products:'}
150: {/if}
151: {/strip}
152: {foreach $first.product_list as $product}
153: {if $product@index == 4}
154: <acronym title="
155: {/if}
156: {strip}
157: {if $product@index >= 4}
158: {$product.name|escape:'htmlall':'UTF-8'}
159: {if isset($product.attributes) && $product.attributes}
160: {$product.attributes|escape:'htmlall':'UTF-8'}
161: {/if}
162: {if !$product@last}
163: ,
164: {else}
165: ">…</acronym>)
166: {/if}
167: {else}
168: {$product.name|escape:'htmlall':'UTF-8'}
169: {if isset($product.attributes) && $product.attributes}
170: {$product.attributes|escape:'htmlall':'UTF-8'}
171: {/if}
172: {if !$product@last}
173: ,
174: {else}
175: )
176: {/if}
177: {/if}
178: {/strip}
179: {/foreach}
180: {/if}
181: </td>
182: <td rowspan="{$option.carrier_list|@count}" class="delivery_option_price">
183: <div class="delivery_option_price">
184: {if $option.total_price_with_tax && !$option.is_free && (!isset($free_shipping) || (isset($free_shipping) && !$free_shipping))}
185: {if $use_taxes == 1}
186: {if $priceDisplay == 1}
187: {convertPrice price=$option.total_price_without_tax}{if $display_tax_label} {l s='(tax excl.)'}{/if}
188: {else}
189: {convertPrice price=$option.total_price_with_tax}{if $display_tax_label} {l s='(tax incl.)'}{/if}
190: {/if}
191: {else}
192: {convertPrice price=$option.total_price_without_tax}
193: {/if}
194: {else}
195: {l s='Free'}
196: {/if}
197: </div>
198: </td>
199: </tr>
200: {foreach $option.carrier_list as $carrier}
201: {if $carrier@iteration != 1}
202: <tr>
203: <td class="delivery_option_logo{if $carrier.product_list[0].carrier_list[0] eq 0} hide{/if}">
204: {if $carrier.logo}
205: <img class="order_carrier_logo" src="{$carrier.logo|escape:'htmlall':'UTF-8'}" alt="{$carrier.instance->name|escape:'htmlall':'UTF-8'}"/>
206: {elseif !$option.unique_carrier}
207: {$carrier.instance->name|escape:'htmlall':'UTF-8'}
208: {/if}
209: </td>
210: <td class="{if $option.unique_carrier} first_item{/if}{if $carrier.product_list[0].carrier_list[0] eq 0} hide{/if}">
211: <input type="hidden" value="{$first.instance->id|intval}" name="id_carrier" />
212: {if isset($carrier.instance->delay[$cookie->id_lang])}
213: <i class="icon-info-sign"></i>
214: {strip}
215: {$carrier.instance->delay[$cookie->id_lang]|escape:'htmlall':'UTF-8'}
216:
217: {if count($first.product_list) <= 1}
218: ({l s='For this product:'}
219: {else}
220: ({l s='For these products:'}
221: {/if}
222: {/strip}
223: {foreach $carrier.product_list as $product}
224: {if $product@index == 4}
225: <acronym title="
226: {/if}
227: {strip}
228: {if $product@index >= 4}
229: {$product.name|escape:'htmlall':'UTF-8'}
230: {if isset($product.attributes) && $product.attributes}
231: {$product.attributes|escape:'htmlall':'UTF-8'}
232: {/if}
233: {if !$product@last}
234: ,
235: {else}
236: ">…</acronym>)
237: {/if}
238: {else}
239: {$product.name|escape:'htmlall':'UTF-8'}
240: {if isset($product.attributes) && $product.attributes}
241: {$product.attributes|escape:'htmlall':'UTF-8'}
242: {/if}
243: {if !$product@last}
244: ,
245: {else}
246: )
247: {/if}
248: {/if}
249: {/strip}
250: {/foreach}
251: {/if}
252: </td>
253: </tr>
254: {/if}
255: {/foreach}
256: </table>
257: {/if}
258: </div>
259: </div> <!-- end delivery_option -->
260: {/foreach}
261: </div> <!-- end delivery_options -->
262: <div class="hook_extracarrier" id="HOOK_EXTRACARRIER_{$id_address}">
263: {if isset($HOOK_EXTRACARRIER_ADDR) && isset($HOOK_EXTRACARRIER_ADDR.$id_address)}{$HOOK_EXTRACARRIER_ADDR.$id_address}{/if}
264: </div>
265: {foreachelse}
266: {assign var='errors' value=' '|explode:''}
267: <p class="alert alert-warning" id="noCarrierWarning">
268: {foreach $cart->getDeliveryAddressesWithoutCarriers(true, $errors) as $address}
269: {if empty($address->alias)}
270: {l s='No carriers available.'}
271: {else}
272: {assign var='flag_error_message' value=false}
273: {foreach $errors as $error}
274: {if $error == Carrier::SHIPPING_WEIGHT_EXCEPTION}
275: {$flag_error_message = true}
276: {l s='The product selection cannot be delivered by the available carrier(s): it is too heavy. Please amend your cart to lower its weight.'}
277: {elseif $error == Carrier::SHIPPING_PRICE_EXCEPTION}
278: {$flag_error_message = true}
279: {l s='The product selection cannot be delivered by the available carrier(s). Please amend your cart.'}
280: {elseif $error == Carrier::SHIPPING_SIZE_EXCEPTION}
281: {$flag_error_message = true}
282: {l s='The product selection cannot be delivered by the available carrier(s): its size does not fit. Please amend your cart to reduce its size.'}
283: {/if}
284: {/foreach}
285: {if !$flag_error_message}
286: {l s='No carriers available for the address "%s".' sprintf=$address->alias}
287: {/if}
288: {/if}
289: {if !$address@last}
290: <br />
291: {/if}
292: {foreachelse}
293: {l s='No carriers available.'}
294: {/foreach}
295: </p>
296: {/foreach}
297: {/if}
298: </div> <!-- end delivery_options_address -->
299: <div id="extra_carrier" style="display: none;"></div>
300: {if $opc}
301: <p class="carrier_title">{l s='Leave a message'}</p>
302: <div>
303: <p>{l s='If you would like to add a comment about your order, please write it in the field below.'}</p>
304: <textarea class="form-control" cols="120" rows="2" name="message" id="message">{strip}
305: {if isset($oldMessage)}{$oldMessage|escape:'html':'UTF-8'}{/if}
306: {/strip}</textarea>
307: </div>
308: {/if}
309: {if $recyclablePackAllowed}
310: <p class="carrier_title">{l s='Recyclable Packaging'}</p>
311: <div class="checkbox recyclable">
312: <label for="recyclable">
313: <input type="checkbox" name="recyclable" id="recyclable" value="1"{if $recyclable == 1} checked="checked"{/if} />
314: {l s='I would like to receive my order in recycled packaging.'}
315: </label>
316: </div>
317: {/if}
318: {if $giftAllowed}
319: {if $opc}
320: <hr style="" />
321: {/if}
322: <p class="carrier_title">{l s='Gift'}</p>
323: <p class="checkbox gift">
324: <input type="checkbox" name="gift" id="gift" value="1"{if $cart->gift == 1} checked="checked"{/if} />
325: <label for="gift">
326: {l s='I would like my order to be gift wrapped.'}
327: {if $gift_wrapping_price > 0}
328: <i>({l s='Additional cost of'}
329: <span class="price" id="gift-price">
330: {if $priceDisplay == 1}
331: {convertPrice price=$total_wrapping_tax_exc_cost}
332: {else}
333: {convertPrice price=$total_wrapping_cost}
334: {/if}
335: </span>
336: {if $use_taxes && $display_tax_label}
337: {if $priceDisplay == 1}
338: {l s='(tax excl.)'}
339: {else}
340: {l s='(tax incl.)'}
341: {/if}
342: {/if})
343: </i>
344: {/if}
345: </label>
346: </p>
347: <p id="gift_div">
348: <label for="gift_message">{l s='If you\'d like, you can add a note to the gift:'}</label>
349: <textarea rows="2" cols="120" id="gift_message" class="form-control" name="gift_message">{$cart->gift_message|escape:'html':'UTF-8'}</textarea>
350: </p>
351: {/if}
352: {/if}
353: {/if}
354: {if $conditions && $cms_id && (! isset($advanced_payment_api) || !$advanced_payment_api)}
355: {if $opc}
356: <hr style="" />
357: {/if}
358: {if isset($override_tos_display) && $override_tos_display}
359: {$override_tos_display}
360: {else}
361: <p class="checkbox">
362: <input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} />
363: <label for="cgv">{l s='I agree to the terms of service and will adhere to them unconditionally.'}</label>
364: <a href="{$link_conditions|escape:'html':'UTF-8'}" class="iframe" rel="nofollow">{l s='(Read the Terms of Service)'}</a>
365: </p>
366: {/if}
367: {/if}
368: </div> <!-- end delivery_options_address -->
369: {if !$opc}
370: <p class="cart_navigation clearfix">
371: <input type="hidden" name="step" value="3" />
372: <input type="hidden" name="back" value="{$back}" />
373: {if !$is_guest}
374: {if $back}
375: <a href="{$link->getPageLink('order', true, NULL, "step=1&back={$back}{if $multi_shipping}&multi-shipping={$multi_shipping}{/if}")|escape:'html':'UTF-8'}" title="{l s='Previous'}" class="button-exclusive btn btn-default">
376: <i class="icon-chevron-left"></i>
377: {l s='Continue shopping'}
378: </a>
379: {else}
380: <a href="{$link->getPageLink('order', true, NULL, "step=1{if $multi_shipping}&multi-shipping={$multi_shipping}{/if}")|escape:'html':'UTF-8'}" title="{l s='Previous'}" class="button-exclusive btn btn-default">
381: <i class="icon-chevron-left"></i>
382: {l s='Continue shopping'}
383: </a>
384: {/if}
385: {else}
386: <a href="{$link->getPageLink('order', true, NULL, "{if $multi_shipping}multi-shipping={$multi_shipping}{/if}")|escape:'html':'UTF-8'}" title="{l s='Previous'}" class="button-exclusive btn btn-default">
387: <i class="icon-chevron-left"></i>
388: {l s='Continue shopping'}
389: </a>
390: {/if}
391: {if isset($virtual_cart) && $virtual_cart || (isset($delivery_option_list) && !empty($delivery_option_list))}
392: <button type="submit" name="processCarrier" class="button btn standard-checkout button-medium">
393: <span>
394: {l s='Proceed to checkout'}
395: <i class="icon-chevron-right right"></i>
396: </span>
397: </button>
398: {/if}
399: </p>
400: </form>
401: {else}
402: </div> <!-- end opc_delivery_methods -->
403: {/if}
404:</div> <!-- end carrier_area -->
405:{strip}
406:{if !$opc}
407: {addJsDef orderProcess='order'}
408: {if isset($virtual_cart) && !$virtual_cart && $giftAllowed && $cart->gift == 1}
409: {addJsDef cart_gift=true}
410: {else}
411: {addJsDef cart_gift=false}
412: {/if}
413: {addJsDef orderUrl=$link->getPageLink("order", true)|escape:'quotes':'UTF-8'}
414: {addJsDefL name=txtProduct}{l s='Product' js=1}{/addJsDefL}
415: {addJsDefL name=txtProducts}{l s='Products' js=1}{/addJsDefL}
416:{/if}
417:{if $conditions}
418: {addJsDefL name=msg_order_carrier}{l s='You must agree to the terms of service before continuing.' js=1}{/addJsDefL}
419:{/if}
420:{/strip}
------------------
Stack trace
1. vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123 source content_639db455e37a08_08437405(arguments)
2. vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114 source Smarty_Template_Resource_Base->getRenderedTemplateCode(arguments)
3. vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216 source Smarty_Template_Compiled->render(arguments)
4. vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385 source Smarty_Internal_Template->render()
5. themes/01response/order-opc.tpl source Smarty_Internal_Template->_subTemplateRender(arguments)
6. vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123 source content_639db455ba2254_18635637(arguments)
7. vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114 source Smarty_Template_Resource_Base->getRenderedTemplateCode(arguments)
8. vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216 source Smarty_Template_Compiled->render(arguments)
9. vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:232 source Smarty_Internal_Template->render(arguments)
10. vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116 source Smarty_Internal_TemplateBase->_execute(arguments)
11. classes/SmartyCustom.php:179 source Smarty_Internal_TemplateBase->fetch(arguments)
12. classes/controller/FrontController.php:986 source SmartyCustomCore->fetch(arguments)
13. classes/controller/Controller.php:228 source FrontControllerCore->display()
14. classes/controller/FrontController.php:255 source ControllerCore->run()
15. classes/Dispatcher.php:852 source FrontControllerCore->run()
16. ./index.php:33 source DispatcherCore->dispatch()
opc_090_error500.txt