Jump to content

SOLVED: Error 500 when changing language from Swedish to English


Sweden

Recommended Posts

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

  1. in ApiClient.php line 52
  2. 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
  3. at ApiClient->__construct(object(Client), '', object(Tools)) in ModuleManagerBuilder.php line 161
  4. at ModuleManagerBuilder->__construct() in ModuleManagerBuilder.php line 74
  5. at ModuleManagerBuilder::getInstance() in Link.php line 762
  6. at LinkCore->getImageLink('salt-and-pepper', '24', 'large_default') in ImageRetriever.php line 158
  7. at ImageRetriever->getImage(object(Product), '24') in ImageRetriever.php line 80
  8. at ImageRetriever->PrestaShop\PrestaShop\Adapter\Image\{closure}(array('cover' => '1', 'id_image' => '24', 'legend' => '', 'position' => '1'))
  9. at array_map(object(Closure), array(array('cover' => '1', 'id_image' => '24', 'legend' => '', 'position' => '1'))) in ImageRetriever.php line 90
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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'))
  15. 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
  16. at CartPresenter->present(object(Cart)) in FrontController.php line 500
  17. at FrontControllerCore->assignGeneralPurposeVariables() in FrontController.php line 525
  18. at FrontControllerCore->initContent() in IndexController.php line 37
  19. at IndexControllerCore->initContent() in Controller.php line 205
  20. at ControllerCore->run() in Dispatcher.php line 379
  21. at DispatcherCore->dispatch() in index.php line 28

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

ApiClient.php line 52:

list($isoLang, $isoCode) = explode('-', $locale);
Edited by Sweden (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...
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'

  1. in smarty_internal_templatebase.php line 129
  2. at Smarty_Internal_TemplateBase->fetch('/index.tpl', null, 'layouts/layout-full-width.tpl', nullfalsetruefalse) in SmartyDev.php line 41
  3. at SmartyDev->fetch('/index.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 660
  4. at FrontControllerCore->smartyOutputContent('/index.tpl') in FrontController.php line 644
  5. at FrontControllerCore->display() in Controller.php line 225
  6. at ControllerCore->run() in Dispatcher.php line 379
  7. at DispatcherCore->dispatch() in index.php line 28

Link to comment
Share on other sites

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

 b%C5%82ad%20500.jpg

Link to comment
Share on other sites

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

 b%C5%82ad%20500.jpg

Link to comment
Share on other sites

  • 9 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...