Код:
Array
(
[0] => Array
(
[file] => /home1/pros/public_html/shoptv/classes/ObjectModel.php
[line] => 330
[function] => displayError
[class] => Tools
[type] => ::
[args] => Array
(
)
)
[1] => Array
(
[file] =>/home1/pros/public_html/shoptv/classes/Order.php
[line] => 135
[function] => validateFields
[class] => ObjectModel
[type] => ->
[object] => Order Object
(
[id_address_delivery] => 4
[id_address_invoice] => 4
[id_cart] => 4
[id_currency] => 3
[id_lang] => 3
[id_customer] => 3
[id_carrier] => 9
[secure_key] => bcaf5da416816a4ad7898ca96e341f04
[payment] => Оплата наличными при получении
[module] => cashondelivery
[recyclable] => 0
[gift] => 0
[gift_message] =>
[shipping_number] =>
[total_discounts] => 0
[total_paid] => 124,58
[total_paid_real] => 124,58
[total_products] => 124,58
[total_products_wt] => 124,58
[total_shipping] => 0
[total_wrapping] => 0
[invoice_number] =>
[delivery_number] =>
[invoice_date] => 0000-00-00 00:00:00
[delivery_date] => 0000-00-00 00:00:00
[valid] =>
[date_add] => 2010-06-18 14:27:30
[date_upd] => 2010-06-18 14:27:30
[tables:protected] => Array
(
[0] => orders
)
[fieldsRequired:protected] => Array
(
[0] => id_address_delivery
[1] => id_address_invoice
[2] => id_cart
[3] => id_currency
[4] => id_lang
[5] => id_customer
[6] => id_carrier
[7] => payment
[8] => total_paid
[9] => total_paid_real
[10] => total_products
[11] => total_products_wt
)
[fieldsSize:protected] => Array
(
[payment] => 32
)
[fieldsValidate:protected] => Array
(
[id_address_delivery] => isUnsignedId
[id_address_invoice] => isUnsignedId
[id_cart] => isUnsignedId
[id_currency] => isUnsignedId
[id_lang] => isUnsignedId
[id_customer] => isUnsignedId
[id_carrier] => isUnsignedId
[secure_key] => isMd5
[payment] => isGenericName
[recyclable] => isBool
[gift] => isBool
[gift_message] => isMessage
[total_discounts] => isPrice
[total_paid] => isPrice
[total_paid_real] => isPrice
[total_products] => isPrice
[total_products_wt] => isPrice
[total_shipping] => isPrice
[total_wrapping] => isPrice
[shipping_number] => isUrl
)
[table:protected] => orders
[identifier:protected] => id_order
[_taxCalculationMethod:private] => 0
[id] =>
[fieldsRequiredLang:protected] => Array
(
)
[fieldsSizeLang:protected] => Array
(
)
[fieldsValidateLang:protected] => Array
(
)
)
[args] => Array
(
)
)
[2] => Array
(
[file] =>/home1/pros/public_html/shoptv/classes/ObjectModel.php
[line] => 145
[function] => getFields
[class] => Order
[type] => ->
[object] => Order Object
(
[id_address_delivery] => 4
[id_address_invoice] => 4
[id_cart] => 4
[id_currency] => 3
[id_lang] => 3
[id_customer] => 3
[id_carrier] => 9
[secure_key] => bcaf5da416816a4ad7898ca96e341f04
[payment] => Оплата наличными при получении
[module] => cashondelivery
[recyclable] => 0
[gift] => 0
[gift_message] =>
[shipping_number] =>
[total_discounts] => 0
[total_paid] => 124,58
[total_paid_real] => 124,58
[total_products] => 124,58
[total_products_wt] => 124,58
[total_shipping] => 0
[total_wrapping] => 0
[invoice_number] =>
[delivery_number] =>
[invoice_date] => 0000-00-00 00:00:00
[delivery_date] => 0000-00-00 00:00:00
[valid] =>
[date_add] => 2010-06-18 14:27:30
[date_upd] => 2010-06-18 14:27:30
[tables:protected] => Array
(
[0] => orders
)
[fieldsRequired:protected] => Array
(
[0] => id_address_delivery
[1] => id_address_invoice
[2] => id_cart
[3] => id_currency
[4] => id_lang
[5] => id_customer
[6] => id_carrier
[7] => payment
[8] => total_paid
[9] => total_paid_real
[10] => total_products
[11] => total_products_wt
)
[fieldsSize:protected] => Array
(
[payment] => 32
)
[fieldsValidate:protected] => Array
(
[id_address_delivery] => isUnsignedId
[id_address_invoice] => isUnsignedId
[id_cart] => isUnsignedId
[id_currency] => isUnsignedId
[id_lang] => isUnsignedId
[id_customer] => isUnsignedId
[id_carrier] => isUnsignedId
[secure_key] => isMd5
[payment] => isGenericName
[recyclable] => isBool
[gift] => isBool
[gift_message] => isMessage
[total_discounts] => isPrice
[total_paid] => isPrice
[total_paid_real] => isPrice
[total_products] => isPrice
[total_products_wt] => isPrice
[total_shipping] => isPrice
[total_wrapping] => isPrice
[shipping_number] => isUrl
)
[table:protected] => orders
[identifier:protected] => id_order
[_taxCalculationMethod:private] => 0
[id] =>
[fieldsRequiredLang:protected] => Array
(
)
[fieldsSizeLang:protected] => Array
(
)
[fieldsValidateLang:protected] => Array
(
)
)
[args] => Array
(
)
)
[3] => Array
(
[file] => /home1/pros/public_html/shoptv/classes/PaymentModule.php
[line] => 124
[function] => add
[class] => ObjectModel
[type] => ->
[object] => Order Object
(
[id_address_delivery] => 4
[id_address_invoice] => 4
[id_cart] => 4
[id_currency] => 3
[id_lang] => 3
[id_customer] => 3
[id_carrier] => 9
[secure_key] => bcaf5da416816a4ad7898ca96e341f04
[payment] => Оплата наличными при получении
[module] => cashondelivery
[recyclable] => 0
[gift] => 0
[gift_message] =>
[shipping_number] =>
[total_discounts] => 0
[total_paid] => 124,58
[total_paid_real] => 124,58
[total_products] => 124,58
[total_products_wt] => 124,58
[total_shipping] => 0
[total_wrapping] => 0
[invoice_number] =>
[delivery_number] =>
[invoice_date] => 0000-00-00 00:00:00
[delivery_date] => 0000-00-00 00:00:00
[valid] =>
[date_add] => 2010-06-18 14:27:30
[date_upd] => 2010-06-18 14:27:30
[tables:protected] => Array
(
[0] => orders
)
[fieldsRequired:protected] => Array
(
[0] => id_address_delivery
[1] => id_address_invoice
[2] => id_cart
[3] => id_currency
[4] => id_lang
[5] => id_customer
[6] => id_carrier
[7] => payment
[8] => total_paid
[9] => total_paid_real
[10] => total_products
[11] => total_products_wt
)
[fieldsSize:protected] => Array
(
[payment] => 32
)
[fieldsValidate:protected] => Array
(
[id_address_delivery] => isUnsignedId
[id_address_invoice] => isUnsignedId
[id_cart] => isUnsignedId
[id_currency] => isUnsignedId
[id_lang] => isUnsignedId
[id_customer] => isUnsignedId
[id_carrier] => isUnsignedId
[secure_key] => isMd5
[payment] => isGenericName
[recyclable] => isBool
[gift] => isBool
[gift_message] => isMessage
[total_discounts] => isPrice
[total_paid] => isPrice
[total_paid_real] => isPrice
[total_products] => isPrice
[total_products_wt] => isPrice
[total_shipping] => isPrice
[total_wrapping] => isPrice
[shipping_number] => isUrl
)
[table:protected] => orders
[identifier:protected] => id_order
[_taxCalculationMethod:private] => 0
[id] =>
[fieldsRequiredLang:protected] => Array
(
)
[fieldsSizeLang:protected] => Array
(
)
[fieldsValidateLang:protected] => Array
(
)
)
[args] => Array
(
)
)
[4] => Array
(
[file] => /home1/pros/public_html/shoptv/modules/cashondelivery/validation.php
[line] => 16
[function] => validateOrder
[class] => PaymentModule
[type] => ->
[object] => CashOnDelivery Object
(
[currentOrder] =>
[currencies] =>
[currencies_mode] => checkbox
[id] => 53
[version] => 0.3
[name] => cashondelivery
[displayName] => Оплата наличными при получении
[description] => Позволяет принимать оплату наличными
[tab] => Payment
[active] => 1
[_lang:private] => Array
(
)
[_path:protected] => /modules/cashondelivery/
[warning] =>
[beforeUninstall] =>
[_errors] =>
[table:protected] => module
[identifier:protected] => id_module
)
[args] => Array
(
[0] => 4
[1] => 3
[2] => 124,58
[3] => Оплата наличными при получении
)
)
)
END
Подскажите где ошибка? А то опыта пока не хватает разобраться!?