コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4449 ビュー

Hello!

After tons of hours trying to fix this issue, I have decided to ask you all about why my Odoo 10 website only works correctly when the user admin or any other is logged.

When I logout, the images aren't loaded and the css or the rest of stuff is not loaded. It it like if the /web/content/ or /web/image/ dissaperars.

From the error-log I can see:

"GET /web/image/17894 HTTP/1.1" 403 1192 "https://dominio" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"

Everything goes almost fine if I access with my administrator user or any other.

Can anybody helps me fix this issue?

Thank you all! And have a happy new year!

アバター
破棄
著作者 最善の回答

After hard work looking to fix the issue, finally I have found the solution. Regarding I have Odoo in a VPS with a domain name called www2.informaticacoslada.com, the correct configuration for my odoo.conf must include the dbfilter like this one:

#dbfilter = .*

#dbfilter = ^%d$

dbfilter = ^%h$

Adding the "h", restarting odoo and now everything is correct.

アバター
破棄
関連投稿 返信 ビュー 活動
0
4月 19
3232
4
4月 18
5238
0
1月 16
3860
3
11月 21
6043
2
5月 21
3081