تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4533 أدوات العرض

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
أبريل 19
3398
4
أبريل 18
5399
0
يناير 16
4010
3
نوفمبر 21
6184
2
مايو 21
3240