Jump to content
thirty bees forum

Raymond

Trusted Members
  • Posts

    85
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Raymond

  1. Hello In BO page to edit/create a product I get this error jquery-1.11.0.min.js:3 script busy or not responding If I do click continue after a while the page work, in other cases clicking continue result in a halt of the browser and eventually a crash. Clicking stop the script results in not being able to save the changes. What should I check to debug this? Thank you. Regards Ray UPDATE I begun to see this error after I added a few things: suppliers, manufacturers, attributes, features and relative default values, etcetera... I reverted step by step and discovered that this issue is caused by the features. The addition was done via phpmyadmin directly in the database, everything else seemed to work fine, only this jquery issue was triggered, now thinking about this (as noob) I might thing of 3 possible scenarios: 1) in the tables I used (taken from previous prestashop installation I am using) there might be errors and incompatibilities with TB, however I took care to compare the feature related tables structure one by one, all seems fine for each. For what is concerning the values in the tables I took care to check that are consistent, so far I think that are fine, I do not know what eventual special thing need to be checked to avoid inconsistencies or conflicts 2) the character encoding might be wrong for these tables, in fact in the values assigned to features there might be some rarely used character causing troubles, alike °, the diameter symbol, and few others... I do not know if the use of such characters can cause such an issue as a jquery script busy or not responding 3) the amount of features, default values and languages is quite big, over 180 features, about 4800 default values and because there are 10 languages in use over 48000 record in the table feature_value_lang, I do not know if using many features and default features can cause such an issue Can anyone tell if the size of the tables can cause this problem? (I can start recreating everything from the BO and check now and then while progressing if the page to edit a product start to cause this trouble again, but is a very long work I would like to avoid). IF that of the size of the tables is a known problem I would avoid bothering doing all those tests and search for the proper solution to that... What about the other two possibilities I am imagining? (I am not expert, I am working according to my understanding and imagination, sorry...) What do you suggest to investigate first? Any other thing to check in order to solve this? FURTHER UPDATE I found this page on github: https://github.com/PrestaShop/PrestaShop/issues/9809 Seems that there are several troubles with amount of categories and product features in prestashop 1.6 and 1.7, as TB is containing large part of PS 1.6 I guess this trouble is inherited. It is a quite odd trouble, very annoying and a big limitation. Is TB also still affected? What do you suggest to circumvent this? Anything else is known in relation to this issues? Thank you Best regards Ray
  2. Hello Brent Thank you for the info. No, transformer is not compatible with TB. Yes Panda should be, but not sure about TB1.1 Thanks Ray
  3. 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 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 [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-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} Stack trace 1. vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:128 source content_5d476ec0a291a0_45265484(arguments) 2. vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:172 source Smarty_Template_Resource_Base->getRenderedTemplateCode(arguments) 3. vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:206 source Smarty_Template_Compiled->render(arguments) 4. vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:372 source Smarty_Internal_Template->render() 5. Smarty_Internal_Template->_subTemplateRender(arguments) #1 ".../themes/transformer/./order-carrier.tpl" #2 null #3 null #4 0 #5 31536000 #6 array(0) [] #7 0 #8 true 6. vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:128 source content_5d476ec059c640_53267765(arguments) 7. vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:172 source Smarty_Template_Resource_Base->getRenderedTemplateCode(arguments) 8. vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:206 source Smarty_Template_Compiled->render(arguments) 9. vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:216 source Smarty_Internal_Template->render(arguments) 10. vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:107 source Smarty_Internal_TemplateBase->_execute(arguments) 11. classes/SmartyCustom.php:180 source Smarty_Internal_TemplateBase->fetch(arguments) 12. classes/controller/FrontController.php:984 source SmartyCustomCore->fetch(arguments) 965: $this->js_files = Media::cccJs($this->js_files); 966: } 967: } 968: 969: $this->context->smarty->assign( 970: [ 971: 'css_files' => $this->css_files, 972: 'js_files' => ($this->getLayout() && (bool) Configuration::get('PS_JS_DEFER')) ? [] : $this->js_files, 973: 'js_defer' => (bool) Configuration::get('PS_JS_DEFER'), 974: 'errors' => $this->errors, 975: 'display_header' => $this->display_header, 976: 'display_footer' => $this->display_footer, 977: 'img_formats' => ['webp' => 'image/webp', 'jpg' => 'image/jpeg'] 978: ] 979: ); 980: 981: $layout = $this->getLayout(); 982: if ($layout) { 983: if ($this->template) { 984: $template = $this->context->smarty->fetch($this->template); 985: } else { 986: // For retrocompatibility with 1.4 controller 987: 988: ob_start(); 989: $this->displayContent(); 990: $template = ob_get_contents(); 991: ob_clean(); 992: } 993: $this->context->smarty->assign('template', $template); 994: $this->smartyOutputContent($layout); #1 ".../themes/transformer/order-opc.tpl" 13. classes/controller/Controller.php:226 source FrontControllerCore->display() 14. classes/controller/FrontController.php:253 source ControllerCore->run() 15. classes/Dispatcher.php:837 source FrontControllerCore->run() 16. ./index.php:33 source DispatcherCore->dispatch()
  4. Hi Well ^^, then I got a version 1.0.8 where that extra dialogue to decide which modules enable or disable is already removed. Yes, in fact I was used to install the theme and find it ready as the developer intended to present it, then of course one could always change a few thing or many things. In this case I got this theme with over 30 modules or alike and was a sort of pain to disable all duplicate function modules from TB and enable all the modules of the developer, that apge was useful as one could decide whatever, leave everything as the developer suggests, keeps everything as it is of fast decide what to do on the spot, eg. disable some less or more and viceversa enable less or more of the new modules according to needs or preferences.... I missed that page 🙂 By the way, so far is good to know that is not just a bug but effectively was removed, while I hope you bring it back. Thank you
  5. Hello I downloaded and installed TB 1.0.8 and did a fresh install to do some tests. One thing that I noticed straight away id that some translation strings are missing, so in the various configuration panels some fields are shown but the title is absent, eg. google maps api key, I had look in another older installation to guess what that empty field is in the new installation. Also in the modules panel, a warning was appearing but without text, so was hard to remember that maybe was the warning about the bankwire payment module not being configured (at least I think was related to that...) However the main strange thing I am seeing is that when I install the transformer theme the usual question "which modules you do want to disable and which to enable..." is not shown, the them is installed right away, then all tb modules which the theme would uninstall are still installed as before and no ST module are installed as expected, also in the images configuration panel I find no new types as expected. Is this function to automatically uninstall / install modules when installing a new theme removed? Or for some reason i s not working? Thank you Regards
  6. Hello I am trying to adjust the fields in the address form. No matter what I do I cannot add more fields as I was used to do Customer:website Customer:email Customer:siret other Adding these fields above into the Nation address format box produces no results in the form to add an address, none of those extra fields is shown in the address form. For curiosity I tried to add also all possible extra fields in order to see if any would work, over a limit the list of fields is cut when saving (getting back in the configuration page I see that is truncated, but that is ok), problem is that then in the address form none of those other extra fields too is visible. By the way, just as a test, I tried to remove fields and left only name and surname, by my surprise in the address form the fields that are usually shown by default were all present anyway, so tried to remove all fields and again were all shown except name and surname (this test just to see the general behaviour...) I'd like the clients to indicate their website and alternative (legal) email, have an extra other info field, but I need to recycle one of the extra fields for legal purposes as now I need to allow the clients to input a special new code for invoices (is optional but strongly advised to have it for practical and legal reasons) Any hint about why this happen and how to solve it? Thank you Regards UPDATE I have seen that the fields that have Customer as prefix do appear and are working fine in the Customer section, however all extra fields of the address section are not show
  7. I seems that work fine so far (have its own lacks and defects but that's another matter) Thank you
  8. Hi Thank you Following same principle then I had to change in the same way a bunch of other similar commands. Seems that is working now, at least is installed and I can go into the configuration page. Hope that works .. going to test... Regards
  9. Thank you I tried that, I get a similar error, difference is this instead of "Cannot make static method ObjectModelCore::createDatabase()" outputs " Cannot make static method ObjectModelCore::dropDatabase()" here below the entire error string I get [PrestaShop] Fatal error in module file :C:\wamp64\www\Prestatester\modules\gdprpro\src\CustomObjectModel.php: Cannot make static method ObjectModelCore::dropDatabase() non static in class CustomObjectModel Regards
  10. Hello I tried to install this module for the gdpr, after upload to install TB output this error: [PrestaShop] Fatal error in module file :C:\wamp64\www\Prestatester\modules\gdprpro\src\CustomObjectModel.php: Cannot make static method ObjectModelCore::createDatabase() non static in class CustomObjectModel I tried to install this same module on PS 1.6.1.21 and 1.7 and works fine. What can I do to have this module working on TB? Thank you Regards
×
×
  • Create New...