Hello guys,
I am getting this error after configuring nginx, I followed the odoo deployment documentation. This error appears when I want to import a csv file.
Your help is highly appreciated.
SyntaxError: expected expression, got '<'
https://example.com/web#action=import&cids=1&menu_id=259&model=product.template:1
Traceback:
DOMEval@https://example.com/web/static/lib/jquery/jquery.js:111:12
globalEval@https://example.com/web/static/lib/jquery/jquery.js:345:10
text script@https://example.com/web/static/lib/jquery/jquery.js:9640:11
ajaxConvert@https://example.com/web/static/lib/jquery/jquery.js:8787:19
done@https://example.com/web/static/lib/jquery/jquery.js:9255:15 callback/<@https://example.com/web/static/lib/jquery/jquery.js:9548:17
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
5839
Lượt xem
I found the solution, it was the client_max_body_size in nginx, to fix it:
sudo nano /etc/nginx/nginx.conf
client_max_body_size 500M;
because the file size was more than 140M.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
2
thg 9 24
|
1436 | ||
|
1
thg 5 24
|
2749 | ||
|
2
thg 5 24
|
13889 | ||
|
0
thg 10 17
|
3158 | ||
|
2
thg 6 16
|
13039 |