Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
4531 Visninger

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!

Avatar
Kassér
Forfatter Bedste svar

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.

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
apr. 19
3398
4
apr. 18
5399
0
jan. 16
4010
3
nov. 21
6183
2
maj 21
3239