Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

ошибка при загрузке модуля


ppd
 Share

Recommended Posts

Добрый день , подскажите пожалуйста кто сталкивался при установке любгоо модуля выскакивает Не удалось загрузить файлы /home/t/toysmi2r/toysmi2r.beget.tech/public_html/system/storage/upload/temp-JZzdKfelk0amrvm7OJQ56xGxxGObgXuP/upload/catalog/view/theme/default/template/payment/sbrf_online_success.tpl

Link to comment
Share on other sites


Теперь при сохранении модуля выдает ошибку 500

PHP Parse error:  syntax error, unexpected 'optsku' (T_STRING) in /home/t/toysmi2r/toysmi2r.beget.tech/public_html/system/storage/modification/admin/model/catalog/product.php on line 97

  97  $this->db->query("INSERT INTO " . DB_PREFIX . "product_option_value SET product_option_id = '" . (int)$product_option_id . "', product_id = '" . (int)$product_id . "', option_id = '" . (int)$product_option['option_id'] . "', option_value_id = '" . (int)$product_option_value['option_value_id'] . "', quantity = '" . (int)$product_option_value['quantity'] . "', subtract = '" . (int)$product_option_value['subtract'] . "', price = '" . (float)$product_option_value['price'] . "', price_prefix = '" . $this->db->escape($product_option_value['price_prefix']) . "', points = '" . (int)$product_option_value['points'] . "', points_prefix = '" . $this->db->escape($product_option_value['points_prefix']) . "', weight = '" . (float)$product_option_value['weight'] . "'["optsku"]) '" . "',/**suppler*/ weight_prefix = '" . $this->db->escape($product_option_value['weight_prefix']) . "'");

 

Edited by ppd
Link to comment
Share on other sites


On 5/10/2018 at 5:18 AM, ppd said:

optsku

Ета колонка для товара нужна когда модуль автоматическая обработка прайс листов установлен на сайте.

Виясняйте у автора дополнения етот код.

$this->db->query("INSERT INTO

там ищет optsku

 

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.