From: Alexander Smirnov Date: Tue, 21 May 2024 11:34:39 +0000 (+0300) Subject: fix part 011 ad stacktrace X-Git-Tag: 1.1~18^2~11 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=7ec026b78577dbd92418d651ff43be53df60b083;p=erp24_rep%2Fyii-erp24%2F.git fix part 011 ad stacktrace --- diff --git a/erp24/modul/shipment/ajaxUpdateStoreZakup.php b/erp24/modul/shipment/ajaxUpdateStoreZakup.php index a8a9e3c2..9ff94017 100644 --- a/erp24/modul/shipment/ajaxUpdateStoreZakup.php +++ b/erp24/modul/shipment/ajaxUpdateStoreZakup.php @@ -270,8 +270,6 @@ try { echo ""; if (!empty($data_up)) { - var_dump(count($fieldsRows)); - var_dump(count($data_up)); insert_store_orders_fields($data_up, $Field); // вносим данные в таблицу } echo " " . $fieldsRows[$Field]["name"] . " " . $fieldsRows[$Field]["name_eng"] . " посчитано"; diff --git a/erp24/modul/shipment/functionsShipment.php b/erp24/modul/shipment/functionsShipment.php index 81e780c1..998f798e 100644 --- a/erp24/modul/shipment/functionsShipment.php +++ b/erp24/modul/shipment/functionsShipment.php @@ -795,7 +795,7 @@ foreach($massivSQL as $productId =>$array) { } catch (Exception $e) { - echo 'Ошибка вставки данных field_name='.$field_name.' '.print_r($param ?? '').' error='. $e->getMessage(); + echo 'Ошибка вставки данных field_name='.$field_name.' '.print_r($param ?? '').' error='. $e->getMessage() . ' ' . $e->getFile() . ' ' . $e->getLine() . ' ' . $e->getTraceAsString(); }