Sweden Posted September 22, 2017 Share Posted September 22, 2017 (edited) SOLVED: Missing data "language_code" in MySQL table "ps_lang". Now it works! Hello! I get an "Error 500" when changing language from Swedish to English. The site does work without any problems on the default language (Swedish). PrestaShop version: 1.7.2.2 Theme: classic PHP-version: 7.0.23 I get the following errors when the shop is in debug mode: ContextErrorException in ApiClient.php line 52:Notice: Undefined offset: 1 in ApiClient.php line 52 at ErrorHandler->handleError('8', 'Undefined offset: 1', '/storage/content/66/188266/subdomain.example.com/public_html/src/PrestaShopBundle/Service/DataProvider/Marketplace/ApiClient.php', '52', array('addonsApiClient' => object(Client), 'locale' => '', 'toolsAdapter' => object(Tools), 'isoLang' => '')) in ApiClient.php line 52 at ApiClient->__construct(object(Client), '', object(Tools)) in ModuleManagerBuilder.php line 161 at ModuleManagerBuilder->__construct() in ModuleManagerBuilder.php line 74 at ModuleManagerBuilder::getInstance() in Link.php line 762 at LinkCore->getImageLink('salt-and-pepper', '24', 'large_default') in ImageRetriever.php line 158 at ImageRetriever->getImage(object(Product), '24') in ImageRetriever.php line 80 at ImageRetriever->PrestaShop\PrestaShop\Adapter\Image\{closure}(array('cover' => '1', 'id_image' => '24', 'legend' => '', 'position' => '1')) at array_map(object(Closure), array(array('cover' => '1', 'id_image' => '24', 'legend' => '', 'position' => '1'))) in ImageRetriever.php line 90 at ImageRetriever->getProductImages(array('id_product_attribute' => '0', 'id_product' => '8', 'cart_quantity' => '1', 'id_shop' => '1', 'id_customization' => null, 'name' => 'Salt and Pepper', 'is_virtual' => '0', 'description_short' => '', 'available_now' => '', 'available_later' => '', 'id_category_default' => '18', 'id_supplier' => '0', 'id_manufacturer' => '0', 'manufacturer_name' => null, 'on_sale' => '0', 'ecotax' => '0.000000', 'additional_shipping_cost' => '0.00', 'available_for_order' => '1', 'show_price' => '1', 'price' => '395,00 kr', 'active' => '1', 'unity' => '', 'unit_price_ratio' => '0.000000', 'quantity_available' => '0', 'width' => '10.000000', 'height' => '0.000000', 'depth' => '0.000000', 'out_of_stock' => '2', 'weight' => '0.65', 'available_date' => '0000-00-00', 'date_add' => '2017-09-21 17:24:59', 'date_upd' => '2017-09-21 23:29:10', 'quantity' => '1', 'link_rewrite' => 'salt-and-pepper', 'category' => 'dish-up', 'unique_id' => '00000000080000000000130', 'id_address_delivery' => '13', 'advanced_stock_management' => '0', 'supplier_reference' => null, 'customization_quantity' => null, 'price_attribute' => null, 'ecotax_attr' => null, 'reference' => 'MC37', 'weight_attribute' => null, 'ean13' => '', 'isbn' => '', 'upc' => '', 'minimal_quantity' => '1', 'wholesale_price' => '0.000000', 'id_image' => '8-24', 'legend' => '', 'reduction_type' => '0', 'is_gift' => false, 'reduction' => '0', 'price_without_reduction' => '395', 'specific_prices' => array(), 'stock_quantity' => '0', 'price_with_reduction' => '395', 'price_with_reduction_without_tax' => '316', 'total' => '395,00 kr', 'total_wt' => '395', 'price_wt' => '395', 'reduction_applies' => false, 'quantity_discount_applies' => false, 'allow_oosp' => '1', 'features' => array(array('id_feature' => '2', 'id_product' => '8', 'id_feature_value' => '41'), array('id_feature' => '4', 'id_product' => '8', 'id_feature_value' => '42')), 'rate' => '25', 'tax_name' => 'Moms SE 25%', 'remove_from_cart_url' => 'http://subdomain.example.com/en/varukorg?delete=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88' 'up_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88&op=up' 'down_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88&op=down' 'update_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88' 'ecotax_rate' => '', 'customizable' => '', 'online_only' => '', 'new' => '', 'condition' => '', 'pack' => '', 'price_amount' => '395', 'quantity_wanted' => '1'), object(Language)) in ProductPresenter.php line 95 at ProductPresenter->fillImages(array('id_product_attribute' => '0', 'id_product' => '8', 'cart_quantity' => '1', 'id_shop' => '1', 'id_customization' => null, 'name' => 'Salt and Pepper', 'is_virtual' => '0', 'description_short' => '', 'available_now' => '', 'available_later' => '', 'id_category_default' => '18', 'id_supplier' => '0', 'id_manufacturer' => '0', 'manufacturer_name' => null, 'on_sale' => '0', 'ecotax' => '0.000000', 'additional_shipping_cost' => '0.00', 'available_for_order' => '1', 'show_price' => true, 'price' => '395,00 kr', 'active' => '1', 'unity' => '', 'unit_price_ratio' => '0.000000', 'quantity_available' => '0', 'width' => '10.000000', 'height' => '0.000000', 'depth' => '0.000000', 'out_of_stock' => '2', 'weight' => '0.65', 'available_date' => '0000-00-00', 'date_add' => '2017-09-21 17:24:59', 'date_upd' => '2017-09-21 23:29:10', 'quantity' => '1', 'link_rewrite' => 'salt-and-pepper', 'category' => 'dish-up', 'unique_id' => '00000000080000000000130', 'id_address_delivery' => '13', 'advanced_stock_management' => '0', 'supplier_reference' => null, 'customization_quantity' => null, 'price_attribute' => null, 'ecotax_attr' => null, 'reference' => 'MC37', 'weight_attribute' => null, 'ean13' => '', 'isbn' => '', 'upc' => '', 'minimal_quantity' => '1', 'wholesale_price' => '0.000000', 'id_image' => '8-24', 'legend' => '', 'reduction_type' => '0', 'is_gift' => false, 'reduction' => '0', 'price_without_reduction' => '395', 'specific_prices' => array(), 'stock_quantity' => '0', 'price_with_reduction' => '395', 'price_with_reduction_without_tax' => '316', 'total' => '395,00 kr', 'total_wt' => '395', 'price_wt' => '395', 'reduction_applies' => false, 'quantity_discount_applies' => false, 'allow_oosp' => '1', 'features' => array(array('id_feature' => '2', 'id_product' => '8', 'id_feature_value' => '41'), array('id_feature' => '4', 'id_product' => '8', 'id_feature_value' => '42')), 'rate' => '25', 'tax_name' => 'Moms SE 25%', 'remove_from_cart_url' => 'http://subdomain.example.com/en/varukorg?delete=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88' 'up_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88&op=up' 'down_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88&op=down' 'update_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88' 'ecotax_rate' => '', 'customizable' => '', 'online_only' => '', 'new' => '', 'condition' => '', 'pack' => '', 'price_amount' => '395', 'quantity_wanted' => '1', 'id' => '8', 'attributes' => array(), 'weight_unit' => 'kg'), object(ProductPresentationSettings), array('id_product_attribute' => '0', 'id_product' => '8', 'cart_quantity' => '1', 'id_shop' => '1', 'id_customization' => null, 'name' => 'Salt and Pepper', 'is_virtual' => '0', 'description_short' => '', 'available_now' => '', 'available_later' => '', 'id_category_default' => '18', 'id_supplier' => '0', 'id_manufacturer' => '0', 'manufacturer_name' => null, 'on_sale' => '0', 'ecotax' => '0.000000', 'additional_shipping_cost' => '0.00', 'available_for_order' => '1', 'show_price' => '1', 'price' => '395,00 kr', 'active' => '1', 'unity' => '', 'unit_price_ratio' => '0.000000', 'quantity_available' => '0', 'width' => '10.000000', 'height' => '0.000000', 'depth' => '0.000000', 'out_of_stock' => '2', 'weight' => '0.65', 'available_date' => '0000-00-00', 'date_add' => '2017-09-21 17:24:59', 'date_upd' => '2017-09-21 23:29:10', 'quantity' => '1', 'link_rewrite' => 'salt-and-pepper', 'category' => 'dish-up', 'unique_id' => '00000000080000000000130', 'id_address_delivery' => '13', 'advanced_stock_management' => '0', 'supplier_reference' => null, 'customization_quantity' => null, 'price_attribute' => null, 'ecotax_attr' => null, 'reference' => 'MC37', 'weight_attribute' => null, 'ean13' => '', 'isbn' => '', 'upc' => '', 'minimal_quantity' => '1', 'wholesale_price' => '0.000000', 'id_image' => '8-24', 'legend' => '', 'reduction_type' => '0', 'is_gift' => false, 'reduction' => '0', 'price_without_reduction' => '395', 'specific_prices' => array(), 'stock_quantity' => '0', 'price_with_reduction' => '395', 'price_with_reduction_without_tax' => '316', 'total' => '395,00 kr', 'total_wt' => '395', 'price_wt' => '395', 'reduction_applies' => false, 'quantity_discount_applies' => false, 'allow_oosp' => '1', 'features' => array(array('id_feature' => '2', 'id_product' => '8', 'id_feature_value' => '41'), array('id_feature' => '4', 'id_product' => '8', 'id_feature_value' => '42')), 'rate' => '25', 'tax_name' => 'Moms SE 25%', 'remove_from_cart_url' => 'http://subdomain.example.com/en/varukorg?delete=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88' 'up_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88&op=up' 'down_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88&op=down' 'update_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88' 'ecotax_rate' => '', 'customizable' => '', 'online_only' => '', 'new' => '', 'condition' => '', 'pack' => '', 'price_amount' => '395', 'quantity_wanted' => '1'), object(Language)) in ProductPresenter.php line 567 at ProductPresenter->present(object(ProductPresentationSettings), array('id_product_attribute' => '0', 'id_product' => '8', 'cart_quantity' => '1', 'id_shop' => '1', 'id_customization' => null, 'name' => 'Salt and Pepper', 'is_virtual' => '0', 'description_short' => '', 'available_now' => '', 'available_later' => '', 'id_category_default' => '18', 'id_supplier' => '0', 'id_manufacturer' => '0', 'manufacturer_name' => null, 'on_sale' => '0', 'ecotax' => '0.000000', 'additional_shipping_cost' => '0.00', 'available_for_order' => '1', 'show_price' => '1', 'price' => '395,00 kr', 'active' => '1', 'unity' => '', 'unit_price_ratio' => '0.000000', 'quantity_available' => '0', 'width' => '10.000000', 'height' => '0.000000', 'depth' => '0.000000', 'out_of_stock' => '2', 'weight' => '0.65', 'available_date' => '0000-00-00', 'date_add' => '2017-09-21 17:24:59', 'date_upd' => '2017-09-21 23:29:10', 'quantity' => '1', 'link_rewrite' => 'salt-and-pepper', 'category' => 'dish-up', 'unique_id' => '00000000080000000000130', 'id_address_delivery' => '13', 'advanced_stock_management' => '0', 'supplier_reference' => null, 'customization_quantity' => null, 'price_attribute' => null, 'ecotax_attr' => null, 'reference' => 'MC37', 'weight_attribute' => null, 'ean13' => '', 'isbn' => '', 'upc' => '', 'minimal_quantity' => '1', 'wholesale_price' => '0.000000', 'id_image' => '8-24', 'legend' => '', 'reduction_type' => '0', 'is_gift' => false, 'reduction' => '0', 'price_without_reduction' => '395', 'specific_prices' => array(), 'stock_quantity' => '0', 'price_with_reduction' => '395', 'price_with_reduction_without_tax' => '316', 'total' => '395,00 kr', 'total_wt' => '395', 'price_wt' => '395', 'reduction_applies' => false, 'quantity_discount_applies' => false, 'allow_oosp' => '1', 'features' => array(array('id_feature' => '2', 'id_product' => '8', 'id_feature_value' => '41'), array('id_feature' => '4', 'id_product' => '8', 'id_feature_value' => '42')), 'rate' => '25', 'tax_name' => 'Moms SE 25%', 'remove_from_cart_url' => 'http://subdomain.example.com/en/varukorg?delete=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88' 'up_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88&op=up' 'down_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88&op=down' 'update_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88' 'ecotax_rate' => '', 'customizable' => '', 'online_only' => '', 'new' => '', 'condition' => '', 'pack' => '', 'price_amount' => '395', 'quantity_wanted' => '1'), object(Language)) in ProductListingPresenter.php line 38 at ProductListingPresenter->present(object(ProductPresentationSettings), array('id_product_attribute' => '0', 'id_product' => '8', 'cart_quantity' => '1', 'id_shop' => '1', 'id_customization' => null, 'name' => 'Salt and Pepper', 'is_virtual' => '0', 'description_short' => '', 'available_now' => '', 'available_later' => '', 'id_category_default' => '18', 'id_supplier' => '0', 'id_manufacturer' => '0', 'manufacturer_name' => null, 'on_sale' => '0', 'ecotax' => '0.000000', 'additional_shipping_cost' => '0.00', 'available_for_order' => '1', 'show_price' => '1', 'price' => '395,00 kr', 'active' => '1', 'unity' => '', 'unit_price_ratio' => '0.000000', 'quantity_available' => '0', 'width' => '10.000000', 'height' => '0.000000', 'depth' => '0.000000', 'out_of_stock' => '2', 'weight' => '0.65', 'available_date' => '0000-00-00', 'date_add' => '2017-09-21 17:24:59', 'date_upd' => '2017-09-21 23:29:10', 'quantity' => '1', 'link_rewrite' => 'salt-and-pepper', 'category' => 'dish-up', 'unique_id' => '00000000080000000000130', 'id_address_delivery' => '13', 'advanced_stock_management' => '0', 'supplier_reference' => null, 'customization_quantity' => null, 'price_attribute' => null, 'ecotax_attr' => null, 'reference' => 'MC37', 'weight_attribute' => null, 'ean13' => '', 'isbn' => '', 'upc' => '', 'minimal_quantity' => '1', 'wholesale_price' => '0.000000', 'id_image' => '8-24', 'legend' => '', 'reduction_type' => '0', 'is_gift' => false, 'reduction' => '0', 'price_without_reduction' => '395', 'specific_prices' => array(), 'stock_quantity' => '0', 'price_with_reduction' => '395', 'price_with_reduction_without_tax' => '316', 'total' => '395,00 kr', 'total_wt' => '395', 'price_wt' => '395', 'reduction_applies' => false, 'quantity_discount_applies' => false, 'allow_oosp' => '1', 'features' => array(array('id_feature' => '2', 'id_product' => '8', 'id_feature_value' => '41'), array('id_feature' => '4', 'id_product' => '8', 'id_feature_value' => '42')), 'rate' => '25', 'tax_name' => 'Moms SE 25%', 'remove_from_cart_url' => 'http://subdomain.example.com/en/varukorg?delete=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88' 'up_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88&op=up' 'down_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88&op=down' 'update_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88' 'ecotax_rate' => '', 'customizable' => '', 'online_only' => '', 'new' => '', 'condition' => '', 'pack' => '', 'price_amount' => '395', 'quantity_wanted' => '1'), object(Language)) in CartPresenter.php line 157 at CartPresenter->presentProduct(array('id_product_attribute' => '0', 'id_product' => '8', 'cart_quantity' => '1', 'id_shop' => '1', 'id_customization' => null, 'name' => 'Salt and Pepper', 'is_virtual' => '0', 'description_short' => '', 'available_now' => '', 'available_later' => '', 'id_category_default' => '18', 'id_supplier' => '0', 'id_manufacturer' => '0', 'manufacturer_name' => null, 'on_sale' => '0', 'ecotax' => '0.000000', 'additional_shipping_cost' => '0.00', 'available_for_order' => '1', 'show_price' => '1', 'price' => '395,00 kr', 'active' => '1', 'unity' => '', 'unit_price_ratio' => '0.000000', 'quantity_available' => '0', 'width' => '10.000000', 'height' => '0.000000', 'depth' => '0.000000', 'out_of_stock' => '2', 'weight' => '0.65', 'available_date' => '0000-00-00', 'date_add' => '2017-09-21 17:24:59', 'date_upd' => '2017-09-21 23:29:10', 'quantity' => '1', 'link_rewrite' => 'salt-and-pepper', 'category' => 'dish-up', 'unique_id' => '00000000080000000000130', 'id_address_delivery' => '13', 'advanced_stock_management' => '0', 'supplier_reference' => null, 'customization_quantity' => null, 'price_attribute' => null, 'ecotax_attr' => null, 'reference' => 'MC37', 'weight_attribute' => null, 'ean13' => '', 'isbn' => '', 'upc' => '', 'minimal_quantity' => '1', 'wholesale_price' => '0.000000', 'id_image' => '8-24', 'legend' => '', 'reduction_type' => '0', 'is_gift' => false, 'reduction' => '0', 'price_without_reduction' => '395', 'specific_prices' => array(), 'stock_quantity' => '0', 'price_with_reduction' => '395', 'price_with_reduction_without_tax' => '316', 'total' => '395,00 kr', 'total_wt' => '395', 'price_wt' => '395', 'reduction_applies' => false, 'quantity_discount_applies' => false, 'allow_oosp' => '1', 'features' => array(array('id_feature' => '2', 'id_product' => '8', 'id_feature_value' => '41'), array('id_feature' => '4', 'id_product' => '8', 'id_feature_value' => '42')), 'rate' => '25', 'tax_name' => 'Moms SE 25%', 'remove_from_cart_url' => 'http://subdomain.example.com/en/varukorg?delete=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88' 'up_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88&op=up' 'down_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88&op=down' 'update_quantity_url' => 'http://subdomain.example.com/en/varukorg?update=1&id_product=8&id_product_attribute=0&token=a8ef3cfd0f6aefb5fe56e9665bf7ec88' 'ecotax_rate' => '', 'customizable' => '', 'online_only' => '', 'new' => '', 'condition' => '', 'pack' => '', 'price_amount' => '395', 'quantity_wanted' => '1')) at array_map(array(object(CartPresenter), 'presentProduct'), array(array('id_product_attribute' => '0', 'id_product' => '8', 'cart_quantity' => '1', 'id_shop' => '1', 'id_customization' => null, 'name' => 'Salt and Pepper', 'is_virtual' => '0', 'description_short' => '', 'available_now' => '', 'available_later' => '', 'id_category_default' => '18', 'id_supplier' => '0', 'id_manufacturer' => '0', 'manufacturer_name' => null, 'on_sale' => '0', 'ecotax' => '0.000000', 'additional_shipping_cost' => '0.00', 'available_for_order' => '1', 'show_price' => '1', 'price' => '316', 'active' => '1', 'unity' => '', 'unit_price_ratio' => '0.000000', 'quantity_available' => '0', 'width' => '10.000000', 'height' => '0.000000', 'depth' => '0.000000', 'out_of_stock' => '2', 'weight' => '0.65', 'available_date' => '0000-00-00', 'date_add' => '2017-09-21 17:24:59', 'date_upd' => '2017-09-21 23:29:10', 'quantity' => '1', 'link_rewrite' => 'salt-and-pepper', 'category' => 'dish-up', 'unique_id' => '00000000080000000000130', 'id_address_delivery' => '13', 'advanced_stock_management' => '0', 'supplier_reference' => null, 'customization_quantity' => null, 'price_attribute' => null, 'ecotax_attr' => null, 'reference' => 'MC37', 'weight_attribute' => null, 'ean13' => '', 'isbn' => '', 'upc' => '', 'minimal_quantity' => '1', 'wholesale_price' => '0.000000', 'id_image' => '8-24', 'legend' => '', 'reduction_type' => '0', 'is_gift' => false, 'reduction' => '0', 'price_without_reduction' => '395', 'specific_prices' => array(), 'stock_quantity' => '0', 'price_with_reduction' => '395', 'price_with_reduction_without_tax' => '316', 'total' => '316', 'total_wt' => '395', 'price_wt' => '395', 'reduction_applies' => false, 'quantity_discount_applies' => false, 'allow_oosp' => '1', 'features' => array(array('id_feature' => '2', 'id_product' => '8', 'id_feature_value' => '41'), array('id_feature' => '4', 'id_product' => '8', 'id_feature_value' => '42')), 'rate' => '25', 'tax_name' => 'Moms SE 25%'))) in CartPresenter.php line 290 at CartPresenter->present(object(Cart)) in FrontController.php line 500 at FrontControllerCore->assignGeneralPurposeVariables() in FrontController.php line 525 at FrontControllerCore->initContent() in IndexController.php line 37 at IndexControllerCore->initContent() in Controller.php line 205 at ControllerCore->run() in Dispatcher.php line 379 at DispatcherCore->dispatch() in index.php line 28 ---------------------------------------------------------------- ApiClient.php line 52: list($isoLang, $isoCode) = explode('-', $locale); Edited September 22, 2017 by Sweden (see edit history) Link to comment Share on other sites More sharing options...
TheDucksLover Posted October 5, 2017 Share Posted October 5, 2017 Any news on this? I've got the very same problem. Link to comment Share on other sites More sharing options...
piosza Posted October 5, 2017 Share Posted October 5, 2017 I have a similar problem here logs Please help solve the problem SmartyException in smarty_internal_templatebase.php line 129:Unable to load template file '/index.tpl' in smarty_internal_templatebase.php line 129 at Smarty_Internal_TemplateBase->fetch('/index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('/index.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 660 at FrontControllerCore->smartyOutputContent('/index.tpl') in FrontController.php line 644 at FrontControllerCore->display() in Controller.php line 225 at ControllerCore->run() in Dispatcher.php line 379 at DispatcherCore->dispatch() in index.php line 28 Link to comment Share on other sites More sharing options...
piosza Posted October 6, 2017 Share Posted October 6, 2017 Znalazłem rozwiązanie problemu aby inny jezyk działał prawidłowo nie należy dodawać go za pomocą przycisku "DODAJ NOWY JEZYK" to spowoduje błąd aby dodane języki nie generowały błędu 500 należy dodać język za pomoca funkcji "DODAJ LUB AKTUALIZUJ JEZYK" dostepnej w TŁUMACZENIA Link to comment Share on other sites More sharing options...
matracon Posted October 12, 2017 Share Posted October 12, 2017 Thank you!!! Znalazłem rozwiązanie problemu aby inny jezyk działał prawidłowo nie należy dodawać go za pomocą przycisku "DODAJ NOWY JEZYK" to spowoduje błąd aby dodane języki nie generowały błędu 500 należy dodać język za pomoca funkcji "DODAJ LUB AKTUALIZUJ JEZYK" dostepnej w TŁUMACZENIA Link to comment Share on other sites More sharing options...
heyho Posted July 31, 2018 Share Posted July 31, 2018 I solved the problem by adding the locale "en-US" in the database table ps_lang. Check your database ps_lang if there are all fields!! Link to comment Share on other sites More sharing options...
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