Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4534 Представления

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
апр. 19
3398
4
апр. 18
5399
0
янв. 16
4010
3
нояб. 21
6184
2
мая 21
3240