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

I have Odoo Community Edition v13 and have created an Elearning course set as Training and added content as Document type and attached PDF files. After publishing the course and content pages the content pages just show the name of the file and the page is blank. Same with full screen view. What am I missing?

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Thanks for responding Paresh. However, none of those things were the issue.

My developer took a look at the page and found a mixed content issue, http versus https on the script loading the document. This was being blocked, so the document was not rendering.

Here was his fix.

Added <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"/> to <head>

الصورة الرمزية
إهمال
أفضل إجابة

The solution exposed in this forum, works for me.

I just had to set the parameter 
    proxy_mode = True  
in the odoo.conf

The
     proxy_set_header X-Forwarded-Host $ host 
was already in my Nginx configuration

\https://stackoverflow.com/questions/51675245/mixed-content-warning-for-insecure-resources-from-odoo

الصورة الرمزية
إهمال
أفضل إجابة

I have the same problem on my audio 13 communient y a priori I am behind a web proxy haproxy so it may be an infrastructure problem .I will take a closer look but nothing is displayed on my side from the beginning .

الصورة الرمزية
إهمال
أفضل إجابة

Hi Bruce:

The eLearning app seems to be a bit finicky. Check whether the Course and all the Content Items within the Course are published. I know you have mentioned that you have, but sometimes the app does not seem to be registering it properly.

You can quickly check this by doing either of the following.

Go to eLearning, edit the Course in question and check whether the count in the contents Smart Button to the top right of the Course Title displays the correct count i.e. the number of content items in the Course. If the count does not match the number of Content Items in the Course, it is an indication that some of the Content Items did not get published. Go ahead and publish them individually.

OR

Go to the Website, click on Courses, select the Course in question and check whether the Course Items have an unpublished status. If they do, go ahead and publish them individually.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 20
3277
1
أغسطس 24
14548
2
يناير 23
5198
2
ديسمبر 20
6035
2
يوليو 20
4657