This question has been flagged
1 Reply
3665 Views

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
Discard
Author Best Answer

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
Discard