Jump to content
Sign in to follow this  
Stas87

Ошибка при оформлении заказа

Recommended Posts

Друзья, прошу помощи.
При оформлении заказа (нажатие кнопки Подтвердить закаказ) вылазиет такая ошибка
Notice: Undefined index: delivery in /home/user1170752/www/night-toys.ru/vqmod/vqcache/vq2-catalog_controller_checkout_success.php on line 83Notice: Undefined index: address in/home/user1170752/www/night-toys.ru/vqmod/vqcache/vq2-catalog_controller_checkout_success.php on line 93Notice: Undefined index: minTerm in /home/user1170752/www/night-toys.ru/vqmod/vqcache/vq2-catalog_controller_checkout_success.php on line 96Notice: Undefined index: maxTerm in /home/user1170752/www/night-toys.ru/vqmod/vqcache/vq2-catalog_controller_checkout_success.php on line 97Notice: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'maxTerm' is not present.; Required parameter 'minTerm' is not present.; Required' at line 1
Error No: 1064
INSERT INTO oc_checkoutru SET order_id = '13', checkout_order_id = '0', request = '{"goods":[{"name":"\u0410\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0442\u0438\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u0441 \u0447\u0435\u0440\u043d\u044b\u043c. CERAMIX NR.3 ","code":"57843-02","variantCode":"","quantity":1,"assessedCost":2253.3,"payCost":2253.3,"weight":0}],"delivery":{"deliveryId":null,"placeFiasId":null,"addressExpress":{"postindex":"\u044b\u0430\u043c","street":"\u044b\u043c\u044b\u043c\u0443","house":"\u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d","housing":"","building":"","appartment":""},"addressPvz":null,"type":"pickup","cost":0,"minTerm":null,"maxTerm":null},"user":{"fullname":"xzcv as cdsvc","email":"empty1435485221@localhost","phone":"34546"},"comment":"","shopOrderId":13,"paymentMethod":"cash"}', response = '{"error":true,"errorCode":2,"errorMessage":"Required parameter 'maxTerm' is not present.; Required parameter 'minTerm' is not present.; Required parameter 'deliveryId' is not present.; Required parameter 'placeFiasId' is not present."}' in /home/user1170752/www/night-toys.ru/system/database/mysql.php on line 50


При этом этот заказ в админке отображается.

Share this post


Link to post
Share on other sites

"лишние" пункты удалили наверно при заказе

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

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.