Jump to content
Sign in to follow this  
kds2001

Поламалось редактирование заказа в админке.

Recommended Posts

[РЕШЕНО]

 

 

Здравствуйте.
Опенкарт 1.5.4.1

Хостер - peterhost.ru (платный хостинг в общем)

Поломалось редактирование заказа через админку.
При попытке отредактировать список товаров - открывает окно в котором:
 



"
SyntaxError: JSON.parse: Unable to parse value: <b>Warn
OK
<b>Warning</b>: Missing argument 4 for Cart::add(), called in /home/lenphoto/www/site5/public_html/vqmod/vqcache/vq2-catalog_controller_checkout_manual.php on line 73 and defined in <b>/home/lenphoto/www/site5/public_html/vqmod/vqcache/vq2-system_library_cart.php</b> on line <b>261</b><b>Notice</b>: Undefined variable: srcimg in <b>/home/lenphoto/www/site5/public_html/vqmod/vqcache/vq2-system_library_cart.php</b> on line <b>265</b><b>Warning</b>: Missing argument 4 for Cart::add(), called in /home/lenphoto/www/site5/public_html/vqmod/vqcache/vq2-catalog_controller_checkout_manual.php on line 73 and defined in <b>/home/lenphoto/www/site5/public_html/vqmod/vqcache/vq2-system_library_cart.php</b> on line <b>261</b><b>Notice</b>: Undefined variable: srcimg in <b>/home/lenphoto/www/site5/public_html/vqmod/vqcache/vq2-system_library_cart.php</b> on line <b>265</b><b>Warning</b>: Missing argument 4 for Cart::add(), called in /home/lenphoto/www/site5/public_html/vqmod/vqcache/vq2-catalog_controller_checkout_manual.php on line 73 and defined in <b>/home/lenphoto/www/site5/public_html/vqmod/vqcache/vq2-system_library_cart.php</b> on line <b>261</b><b>Notice</b>: Undefined variable: srcimg in <b>/home/lenphoto/www/site5/public_html/vqmod/vqcache/vq2-system_library_cart.php</b> on line <b>265</b><b>Warning</b>: Missing argument 4 for Cart::add(), called in /home/lenphoto/www/site5/public_html/vqmod/vqcache/vq2-catalog_controller_checkout_manual.php on line 103 and defined in <b>/home/lenphoto/www/site5/public_html/vqmod/vqcache/vq2-system_library_cart.php</b> on line <b>261</b><b>Notice</b>: Undefined variable: srcimg in <b>/home/lenphoto/www/site5/public_html/vqmod/vqcache/vq2-system_library_cart.php</b> on line <b>263</b>{"order_product":[{"product_id":"131","name":"\u0411\u0443\u043c\u0430\u0436\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b","model":"\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438","option":[{"product_option_id":336,"product_option_value_id":"1065","name":"\u0420\u0430\u0437\u043c\u0435\u0440 \u043f\u0430\u043a\u0435\u0442\u0430 (\u0448\u0438\u0440\u0438\u043d\u0430\/\u0434\u043b\u0438\u043d\u0430\/\u0433\u043b\u0443\u0431\u0438\u043d\u0430)","value":"24.5*19*8","type":"select"}],"download":[],"quantity":10,"price":40,"total":400,"tax":0,"reward":0},{"product_id":"131","name":"\u0411\u0443\u043c\u0430\u0436\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b","model":"\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438","option":[{"product_option_id":336,"product_option_value_id":"2034","name":"\u0420\u0430\u0437\u043c\u0435\u0440 \u043f\u0430\u043a\u0435\u0442\u0430 (\u0448\u0438\u0440\u0438\u043d\u0430\/\u0434\u043b\u0438\u043d\u0430\/\u0433\u043b\u0443\u0431\u0438\u043d\u0430)","value":"42*31*10","type":"select"}],"download":[],"quantity":10,"price":60,"total":600,"tax":0,"reward":0},{"product_id":"128","name":"\u041a\u043e\u0440\u043e\u0431\u043e\u0447\u043a\u0430 \u0434\u043b\u044f \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439 15*23 (\u0441 \u043b\u0435\u043d\u0442\u0430\u043c\u0438)","model":"\u041a\u043e\u0440\u043e\u0431\u043e\u0447\u043a\u0430 \u0434\u043b\u044f \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439 ","option":[{"product_option_id":333,"product_option_value_id":"1015","name":"\u0412\u044b\u0431\u0435\u0440\u0435\u0442\u0435 \u0446\u0432\u0435\u0442 \u0431\u0443\u043c\u0430\u0433\u0438","value":"\u0411\u0438\u0440\u044e\u0437\u043e\u0432\u044b\u0439 (\u0444\u0430\u043a\u0442\u0443\u0440\u043d\u0430\u044f)","type":"color"}],"download":[],"quantity":1,"price":750,"total":750,"tax":0,"reward":0},{"product_id":"168","name":"\u0427\u0443\u0434\u043e ","model":"\u0427\u0443\u0434\u043e","option":[],"download":[],"quantity":1,"price":10,"total":10,"tax":0,"reward":0}],"order_voucher":[],"shipping_method":{"pickup":{"title":"\u0421\u0430\u043c\u043e\u0432\u044b\u0432\u043e\u0437","quote":{"pickup":{"code":"pickup.pickup","title":"\u0421\u0430\u043c\u043e\u0432\u044b\u0432\u043e\u0437 \u0438\u0437 \u043c\u0430\u0441\u0442\u0435\u0440\u0441\u043a\u043e\u0439 \u0432 \u0421\u043f\u0431","cost":0,"tax_class_id":0,"text":"0.00 \u0440."}},"sort_order":"","error":false},"multiflat":{"title":"\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u043f\u043e \u0420\u043e\u0441\u0441\u0438\u0438 (\u043f\u0440\u0438 \u0437\u0430\u043a\u0430\u0437\u0435 \u043e\u0442 3000 \u0440\u0443\u0431\u043b\u0435\u0439 - \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f)","quote":{"multiflat0":{"code":"multiflat.multiflat0","title":"\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u043f\u043e\u0441\u044b\u043b\u043a\u043e\u0439 \u043f\u043e\u0447\u0442\u044b \u0420\u043e\u0441\u0441\u0438\u0438 \u043f\u043e \u0432\u0441\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u0435 ","cost":"350","tax_class_id":"0","text":"350.00 \u0440."}},"sort_order":"1","error":false},"emsrussianpost":{"title":"EMS \u041f\u043e\u0447\u0442\u0430 \u0420\u043e\u0441\u0441\u0438\u0438 - \u043a\u0443\u0440\u044c\u0435\u0440\u0441\u043a\u0430\u044f \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0430","quote":{"noinsurance":{"id":"emsrussianpost.noinsurance","code":"emsrussianpost.noinsurance","title":"\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 EMS \u043f\u043e\u0447\u0442\u043e\u0439 \u0438\u0437 \u0433\u043e\u0440\u043e\u0434\u0430 \u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433 \u0432 \u0433\u043e\u0440\u043e\u0434 \u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433 - \u043e\u0442 2 \u0434\u043e 2 \u0434\u043d.","cost":290,"text":"290.00 \u0440.","tax_class_id":false}},"sort_order":"3","error":false}},"order_total":[{"code":"sub_total","title":"\u0421\u0443\u043c\u043c\u0430","text":"1760.00 \u0440.","value":1760,"sort_order":"1"},{"code":"shipping","title":"\u0421\u0430\u043c\u043e\u0432\u044b\u0432\u043e\u0437 \u0438\u0437 \u043c\u0430\u0441\u0442\u0435\u0440\u0441\u043a\u043e\u0439 \u0432 \u0421\u043f\u0431","text":"0.00 \u0440.","value":0,"sort_order":"3"},{"code":"total","title":"\u0418\u0442\u043e\u0433\u043e","text":"1760.00 \u0440.","value":1760,"sort_order":"9"}],"payment_methods":[],"payment_method":{"cod":{"code":"cod","title":"\u041e\u043f\u043b\u0430\u0442\u0430 \u0432 \u043c\u0430\u0441\u0442\u0435\u0440\u0441\u043a\u043e\u0439 \u043d\u0430\u043b\u0438\u0447\u043d\u044b\u043c\u0438 (\u0437\u0430\u043a\u0430\u0437 \u0434\u043e 2000 \u0440\u0443\u0431\u043b\u0435\u0439)","sort_order":"5"},"bank_transfer":{"code":"bank_transfer","title":"\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u043d\u0430 \u043a\u0430\u0440\u0442\u0443 \u0431\u0430\u043d\u043a\u0430 \/ 100% \u043f\u0440\u0435\u0434\u043e\u043f\u043b\u0430\u0442\u0430 \u0432 \u043c\u0430\u0441\u0442\u0435\u0440\u0441\u043a\u043e\u0439 \u0432 \u0421\u041f\u0431","sort_order":"7"}},"success":"\u0418\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u0437\u0430\u043a\u0430\u0437\u0430 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0430!"}
"

__________________________________________________

Причем статус заказа, отправить письмо из админки я могу без проблем. А вот редактировать список товаров - никак. Подскажите - где копать ?
Готов оплатить свой же косяк ) Назовите цену.

Share this post


Link to post
Share on other sites

[РЕШЕНО]

 

 

Всему виной был - show_selected_image_in_cart.xml (кусок модуля product option image)
Покупной модуль, точнее несколько покупных модулей и видимо они между собой не все дружили.

Помог решить проблему ТОМ (https://opencartforum.com/user/18938-tom/), часа полтора копались в коде/модулях.
 

Share this post


Link to post
Share on other sites

Ребят буду рад если кто то поможет тут.

Залил я на хостинг сайт,зачем то почистил папку каш в image.

Только я хочу залить фото через файловый менеджер в opencart и тут





<sedoff14.tmweb.ru>

SyntaxError: JSON.parse: Unable to parse value: <b>Warn
OK
<b>Warning</b>: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: Invalid UTF-8 sequence in argument in <b>/home/s/sedoff14/public_html/admin/controller/common/filemanager.php</b> on line <b>150</b>[{"filename":"10627152.52ky1jgi9c.jpg","file":"10627152.52ky1jgi9c.jpg","size":"33.72KB"},{"filename":"111.jpg","file":"111.jpg","size":"99.91KB"},{"filename":"1111.jpg","file":"1111.jpg","size":"177.05KB"},{"filename":"123.jpeg","file":"123.jpeg","size":"13.09KB"},{"filename":"138475369738.jpg","file":"138475369738.jpg","size":"55.05KB"},{"filename":"1384753697815.jpg","file":"1384753697815.jpg","size":"55.42KB"},{"filename":"16781655.61e2r19w9t.jpg","file":"16781655.61e2r19w9t.jpg","size":"67.66KB"},{"filename":"276734141e7a6.jpg","file":"276734141e7a6.jpg","size":"8.3KB"},{"filename":"358994fc4ff2c61fdd3d31f1259cf662.jpg","file":"358994fc4ff2c61fdd3d31f1259cf662.jpg","size":"54.31KB"},{"filename":"3f0885f2026168c4b5f78a941d89289f.jpg","file":"3f0885f2026168c4b5f78a941d89289f.jpg","size":"54.52KB"},{"filename":"4068f7050d65999551396d1e462fce32.jpg","file":"4068f7050d65999551396d1e462fce32.jpg","size":"57.02KB"},{"filename":"52051-600x600.jpg","file":"52051-600x600.jpg","size":"19.95KB"},{"filename":"56686-jpg.jpg","file":"56686-jpg.jpg","size":"55.2KB"},{"filename":"566861-jpg.jpg","file":"566861-jpg.jpg","size":"61.24KB"},{"filename":"566862-jpg.jpg","file":"566862-jpg.jpg","size":"49.42KB"},{"filename":"566864-jpg.jpg","file":"566864-jpg.jpg","size":"56.4KB"},{"filename":"566865-jpg.jpg","file":"566865-jpg.jpg","size":"53.48KB"},{"filename":"56c141fa968efa5443c1880626ced678.jpg","file":"56c141fa968efa5443c1880626ced678.jpg","size":"48.22KB"},{"filename":"63284515.jpg","file":"63284515.jpg","size":"3.53KB"},{"filename":"75513.jpg","file":"75513.jpg","size":"13.88KB"},{"filename":"75ee2b47c0f2be35aa89a3b7465d30d7.jpeg","file":"75ee2b47c0f2be35aa89a3b7465d30d7.jpeg","size":"30.77KB"},{"filename":"82e4f7b1612ad025a9f99a127a152b3c.jpeg","file":"82e4f7b1612ad025a9f99a127a152b3c.jpeg","size":"36.5KB"},{"filename":"87d74ab85d3e2dff18516eb0ac861b88.jpeg","file":"87d74ab85d3e2dff18516eb0ac861b88.jpeg","size":"67.7KB"},{"filename":"92bc57742f23b68bfcffc386f5553dc0.jpeg","file":"92bc57742f23b68bfcffc386f5553dc0.jpeg","size":"30.72KB"},{"filename":"931d994ea2f4ee4bb9966442007d1541.jpg","file":"931d994ea2f4ee4bb9966442007d1541.jpg","size":"50.5KB"},{"filename":"Huawei_.png","file":"Huawei_.png","size":"107.32KB"},{"filename":"Untitled-2.jpg","file":"Untitled-2.jpg","size":"163.03KB"},{"filename":"Xinbo_dlja_iPhone_5_Yellow_278145.jpg","file":"Xinbo_dlja_iPhone_5_Yellow_278145.jpg","size":"37.03KB"},{"filename":"a5881ad6dfaa138a7ec39628f85045b1.jpeg","file":"a5881ad6dfaa138a7ec39628f85045b1.jpeg","size":"47.77KB"},{"filename":"cart.png","file":"cart.png","size":"421B"},{"filename":"d61bb336ea23cdacac61dbf5101f2763.jpeg","file":"d61bb336ea23cdacac61dbf5101f2763.jpeg","size":"38.27KB"},{"filename":"defWWault.jpeg","file":"defWWault.jpeg","size":"7.36KB"},{"filename":"default.jpeg","file":"default.jpeg","size":"6.12KB"},{"filename":null,"file":"","size":"13.09KB"},{"filename":"dept-shelf-iphone-4s.png","file":"dept-shelf-iphone-4s.png","size":"4.5KB"},{"filename":"dept-shelf-iphone-5s.png","file":"dept-shelf-iphone-5s.png","size":"4.2KB"},{"filename":"dept-shelf-iphone-acc.png","file":"dept-shelf-iphone-acc.png","size":"3.56KB"},{"filename":"display-apple-iphone-5-touchscreen-0-1.png","file":"display-apple-iphone-5-touchscreen-0-1.png","size":"20KB"},{"filename":"display-apple-iphone-5-touchscreen-0.png","file":"display-apple-iphone-5-touchscreen-0.png","size":"11.31KB"},{"filename":"display-apple-iphone-5-touchscreen-2-1.png","file":"display-apple-iphone-5-touchscreen-2-1.png","size":"16.72KB"},{"filename":"display-apple-iphone-5-touchscreen-2.png","file":"display-apple-iphone-5-touchscreen-2.png","size":"10.74KB"},{"filename":"favicon.jpg","file":"favicon.jpg","size":"1.12KB"},{"filename":"fee6b707c89da2bbbd626167734c88aaf7c80d68.jpeg","file":"fee6b707c89da2bbbd626167734c88aaf7c80d68.jpeg","size":"248.82KB"},{"filename":"log12o.jpg","file":"log12o.jpg","size":"25.51KB"},{"filename":"log1o.jpg","file":"log1o.jpg","size":"25.51KB"},{"filename":"preview.jpg","file":"preview.jpg","size":"7.43KB"},{"filename":"qTCCMik7haM.jpg","file":"qTCCMik7haM.jpg","size":"11.19KB"},{"filename":"to111p.jpg","file":"to111p.jpg","size":"146.38KB"},{"filename":"to11p.jpg","file":"to11p.jpg","size":"148.72KB"},{"filename":"top.jpg","file":"top.jpg","size":"158.48KB"},{"filename":"twigcase_4.jpg","file":"twigcase_4.jpg","size":"10.82KB"},{"filename":"twigcase_warming_1.jpg","file":"twigcase_warming_1.jpg","size":"99.64KB"}]

filemanager - копия.php

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.