Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2066 Lượt xem

Greetings. I am trying to upload an image to replace the deafult media in a picture block but I keep getting the error info below. Any one who has dealt with this? I am using Odoo V15. The file shown at the end of the error is web/assets/1350-57bb1a9/1/-web.assets_frontend_lazy_min.js:910:55


UncaughtClientError > SyntaxError
Uncaught Javascript Error > JSON.parse: unexpected character at line 1 column 1 of the JSON data
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
jsonrpc/promise
Ảnh đại diện
Huỷ bỏ

You forgot the info.

Tác giả

Thanks. Corrected

Câu trả lời hay nhất

I have had the same error. In my case it was when I tried to upload an image on my website.

The solution that worked for me was to add this parameter in my Nginx configuration file:

client_max_body_size 5M;
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 25
2123
1
thg 6 25
2148
3
thg 7 25
3712
1
thg 5 25
1819
4
thg 5 25
3154