1. Debug: Requests processed: 1
    1. [unknown file]
      line: [unknown line] in: main ()
  2. Debug:
    ---
    SELECT
      id, parentId, name, title
    FROM
      articlesGroups

    WHERE
      name = 'tehnofon_menu_bottom'
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  3. Debug:
    ---
    SELECT
      articles.id AS `articles.id`, articles.text AS `articles.text`, articles.position AS `articles.position`, articles.name AS `articles.name`, article_articlesGroup.groupId AS `articles.groupId`
    FROM
      articles
    JOIN article_articlesGroup
      ON articles.id = article_articlesGroup.articleId
    WHERE
      article_articlesGroup.groupId = 5
    ORDER BY
      position
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  4. Debug:
    ---
    SELECT
      id, parentId, typeId, name
    FROM
      goodsGroups

    WHERE
      showInList = 1 AND
      parentId IS NULL
    ORDER BY
      position, name
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  5. Debug:
    ---
    SELECT
      id, clientId, comparsionId, orderId, hash, creationDate, expirationDate, referer
    FROM
      sessions

    WHERE
      hash = '20d4611039dcc8bbbd31ba3efabfa2c6'
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  6. Debug:
    ---
    SELECT
      id, parentId, name, title
    FROM
      articlesGroups

    WHERE
      name = 'tehnofon_menu_top'
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  7. Debug:
    ---
    SELECT
      articles.id AS `articles.id`, articles.text AS `articles.text`, articles.position AS `articles.position`, articles.name AS `articles.name`, article_articlesGroup.groupId AS `articles.groupId`
    FROM
      articles
    JOIN article_articlesGroup
      ON articles.id = article_articlesGroup.articleId
    WHERE
      article_articlesGroup.groupId = 1
    ORDER BY
      position
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  8. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      showInList = 1
    ORDER BY
      position, name
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  9. Debug:
    ---
    SELECT
      id, sourceId, statusId, deliveryRegionId, paymentTypeId, clientId, deliveryCityId, timeFrom, timeTo, clientName, clientPhoneMobile, clientSubwayStation, madeFrom, deliveryDate, referer, deliveryPrice, sourceName, totalPrice, clientEmail, comment, creationDate, clientAddress, siteId, postalCode, clientPhoneHome
    FROM
      orders

    WHERE
      id = 694926
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  10. Debug:
    ---
    SELECT
      id, name
    FROM
      orderSources

    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  11. Debug:
    ---
    SELECT
      id, name, commission
    FROM
      paymentTypes

    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  12. Debug:
    ---
    SELECT
      id, deliveryTime, name
    FROM
      deliveryRegions

    ORDER BY
      name
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  13. Debug:
    ---
    SELECT
      goodsVariants.id AS `goodsVariants.id`, goodsVariants.colorId AS `goodsVariants.colorId`, goodsVariants.goodsId AS `goodsVariants.goodsId`, goodsVariants.oldPrice AS `goodsVariants.oldPrice`, goodsVariants.isPrimary AS `goodsVariants.isPrimary`, goodsVariants.quantity AS `goodsVariants.quantity`, goodsVariants.barcode AS `goodsVariants.barcode`, goodsVariants.discount AS `goodsVariants.discount`, goodsVariants.stockKeepingUnit AS `goodsVariants.stockKeepingUnit`, goodsVariants.price AS `goodsVariants.price`, goodsVariants.showInYandex AS `goodsVariants.showInYandex`, goodsVariants.yandexRate AS `goodsVariants.yandexRate`, order_goodsVariant.orderId AS `goodsVariants.orderId`, order_goodsVariant.quantity AS `order_goodsVariant.quantity`, order_goodsVariant.price AS `order_goodsVariant.price`
    FROM
      goodsVariants
    JOIN order_goodsVariant
      ON goodsVariants.id = order_goodsVariant.goodsVariantId
    WHERE
      order_goodsVariant.orderId = 694926
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  14. Debug:
    ---
    SELECT
      id, countryId, propertiesGroupId, statusId, goodsGroupId, vendorId, complectation, name, salesNotes, description, size, weight, warranty
    FROM
      goods

    WHERE
      id IN(441, 442, 556, 592, 553, 636, 639, 717, 763, 773, 1043, 1035, 1156, 1157, 1194, 1218, 1392, 1407, 1416, 1430, 1445, 1446, 1482, 1511, 1512, 1521, 1523, 1568, 1597, 1667)
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  15. Debug:
    ---
    SELECT
      id, goodsVariantId, isPrimary, fileName, typeId
    FROM
      images

    WHERE
      goodsVariantId IN(478, 479, 711, 773, 802, 834, 842, 1008, 1106, 1132, 1632, 1635, 1859, 1861, 1943, 1987, 2260, 2277, 2287, 2313, 2336, 2337, 2377, 2425, 2426, 2441, 2448, 2532, 2581, 2670)
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  16. Debug:
    ---
    SELECT
      id, name
    FROM
      colors

    WHERE
      id IN(1, 10, 34, 19, 8, 21, 11)
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  17. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 47
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  18. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 47
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  19. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 4
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  20. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 1
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  21. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 27
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  22. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 27
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  23. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 17
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  24. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 29
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  25. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 29
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  26. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 1
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  27. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 5
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  28. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 5
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  29. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 37
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  30. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 37
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  31. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 1
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  32. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 4
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  33. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 37
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  34. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 29
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  35. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 1
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  36. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 1
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  37. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 1
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  38. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 1
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  39. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 5
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  40. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 1
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  41. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 1
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  42. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 37
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  43. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 1
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  44. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 19
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  45. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 19
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  46. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 1
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  47. Debug:
    ---
    SELECT
      id, colorId, goodsId, oldPrice, isPrimary, quantity, barcode, discount, stockKeepingUnit, price, showInYandex, yandexRate
    FROM
      goodsVariants

    WHERE
      id = 1140
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  48. Debug:
    ---
    SELECT
      id, name
    FROM
      colors

    WHERE
      id = 1
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  49. Debug:
    ---
    SELECT
      id, goodsVariantId, isPrimary, fileName, typeId
    FROM
      images

    WHERE
      goodsVariantId = 1140
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  50. Debug:
    ---
    SELECT
      id, countryId, propertiesGroupId, statusId, goodsGroupId, vendorId, complectation, name, salesNotes, description, size, weight, warranty
    FROM
      goods

    WHERE
      id = 781
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  51. Debug:
    ---
    SELECT
      id, showInList, position, name, image
    FROM
      vendors

    WHERE
      id = 29
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  52. Debug:
    ---
    INSERT INTO order_goodsVariant
      (goodsVariantId, orderId, quantity, price)
    VALUES
      (1140, 694926, 1, 550)
    ---
    1. modules/Interface/DB.pm
      line: 153 in: main ()
  53. Debug:
    ---
    SELECT
      id, parentId, typeId, showInList, position, name
    FROM
      goodsGroups

    WHERE
      id = 40
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  54. Debug:
    ---
    SELECT
      id, parentId, typeId, showInList, position, name
    FROM
      goodsGroups

    WHERE
      id = 40
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  55. Debug:
    ---
    SELECT
      id, parentId, typeId, showInList, position, name
    FROM
      goodsGroups

    WHERE
      id = 69
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  56. Debug:
    ---
    SELECT
      id, parentId, typeId, showInList, position, name
    FROM
      goodsGroups

    WHERE
      id = 21
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  57. Debug:
    ---
    SELECT
      id, parentId, typeId, showInList, position, name
    FROM
      goodsGroups

    WHERE
      id = 19
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  58. Debug:
    ---
    SELECT
      id, parentId, typeId, showInList, position, name
    FROM
      goodsGroups

    WHERE
      id = 19
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  59. Debug:
    ---
    SELECT
      id, parentId, typeId, showInList, position, name
    FROM
      goodsGroups

    WHERE
      id = 52
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  60. Debug:
    ---
    SELECT
      id, parentId, typeId, showInList, position, name
    FROM
      goodsGroups

    WHERE
      id = 18
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  61. Debug:
    ---
    SELECT
      id, parentId, typeId, showInList, position, name
    FROM
      goodsGroups

    WHERE
      id = 18
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  62. Debug:
    ---
    SELECT
      id, parentId, typeId, showInList, position, name
    FROM
      goodsGroups

    WHERE
      id = 21
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  63. Debug:
    ---
    SELECT
      id, parentId, typeId, showInList, position, name
    FROM
      goodsGroups

    WHERE
      id = 30
    ---
    1. modules/Interface/DB.pm
      line: 123 in: main ()
  64. Fatal: Can't call method "foreignKey" on an undefined value
    modules/Object/Order.pm line 365.
    1. modules/Object/Order.pm
      line: 365 in: Object::Order::setPrices ()
    2. modules/Object/Order.pm
      line: 103 in: Object::Order::addGoods ()
    3. modules/Block/Order.pm
      line:  97 in: Block::Order::get ()
    4. modules/Interface/HTTP/Path.pm
      line:  73 in: Interface::HTTP::Path::getBlock ()
    5. /var/www/tehnofon.ru/htdocs/project.fcgi
      line: 158 in: main::do_request ()
    6. /var/www/tehnofon.ru/htdocs/project.fcgi
      line:  77 in: main ()