Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

PDF not appearing on item page in Slides

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
slides
28 Odpowiedzi
15021 Widoki
Awatar
andy graybeal

My PDF shows up on front of the Public Slides, and in the Menu for the public slides.  It doesn't show up when I'm on the page for the actual PDF though.

It's fine here: https://nixtamalized.com/slides

and it's fine here: https://nixtamalized.com/slides/public-channel-1

but not here: https://nixtamalized.com/slides/slide/knivesandchives-llc-receipt-1

How do I fix this?


Thank you!

1
Awatar
Odrzuć
Awatar
Otniel Pesel
Najlepsza odpowiedź

You can just add the following line in the <head> section of your website:

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"/>
This fixed it for me.
2
Awatar
Odrzuć
Thanadet Rattanadilok Na Phuket

thank you try many thing but this solution work for me just edit

web.layout

Marius Pana

indeed many thanks!

Awatar
Ermin Trevisan
Najlepsza odpowiedź

 https://www.odoo.com/de_DE/groups/community-59/community-13327850?mode=thread 

It looks like you have the same problem I do (see https://www.odoo.com/de_DE/forum/hilfe-1/question/8-0-website-slides-uploading-a-presentation-keeps-loading-forever-93332).

If you look into your console in the browser's development tools you see the following:

Blocked loading mixed active content "http://www.twanda.ch/slides/embed/6?page=1"[Learn More]

This is because the PDF is loaded from a http link instead of an https link. So far I have no idea how to correct this. My system parameter web.base.url is properly set to https.


Solution:

In the configuration of your virtual host on your proxy server the following parameter must be set:

(Apache version)

RequestHeader set "X-Forwarded-Proto" "https" 

See examples here:

https://www.odoo.com/de_DE/groups/community-59/community-13327850?mode=thread 

2
Awatar
Odrzuć
andy graybeal
Autor

Thank you for the response! I will look at my browsers dev console.

andy graybeal
Autor

Okay. Chrome says this: knivesandchives-llc-receipt-1:414 Mixed Content: The page at 'https://nixtamalized.com/slides/slide/knivesandchives-llc-receipt-1' was loaded over HTTPS, but requested an insecure resource 'http://nixtamalized.com/slides/embed/1?page=1'. This request has been blocked; the content must be served over HTTPS. Firefox says this: Blocked loading mixed active content "http://nixtamalized.com/slides/embed/1?page=1"[Learn More]

andy graybeal
Autor

Ermin, Where do I find the system parameter website.url ? I bet I haven't set it to https. Is it under "Website Admin" -> "Configuration" -> "Website name" ? I have this set to "nixtamalized.com", and neither http or https

andy graybeal
Autor

I found a setting under "General Settings" with "Website" and it was configured "http://nixtamalized.com" so i changed that to https

Ermin Trevisan

But, in my case at least, it does not help...(I have deleted the PDF and uploaded it anew).

Ermin Trevisan

I get a new error: UnexpectedResponseException: Unexpected server response (301) while retrieving PDF "https://www.twanda.ch/slides/slide/7/pdf_content"

andy graybeal
Autor

that didn't change anything. i uploaded a new pdf and that didn't work. PNG's appear to be working though! I can make my PDFs into PNGs for now.

andy graybeal
Autor

Under "Website Admin" -> "Slides - Channels" -> "Public Channel" -> each message that logs what i've done in this Slide Channel has http and not https for the item.

Ermin Trevisan

I'm still trying to find a way, but I suppose it is a bug, in version 9.0 it works flawlessly. It is also not possible to create a slide in the backend, this results in a 500 server error :-(

andy graybeal
Autor

I'm on version 9 :(

andy graybeal
Autor

Where exactly is the system parameter website.url ?

Ermin Trevisan

Well, you are right, in my case it only works for 9.0 because it is a test server, which is not yet SSL secured. You can find the parameter web.base.url under Settings/Technical/Parameters/System Parameters. You need to activate the developer mode in order to access these settings.

Ermin Trevisan

Maybe this could point to a solution: https://github.com/mozilla/pdf.js/issues/6446

andy graybeal
Autor

Ermin, You are the best!! That fixed it right up. Changing web.base.url to be https!!

andy graybeal
Autor

My nginx configuration already has that setting in it -- here it reads in nginx: location / { proxy_pass http://openerp; # force timeouts if the backend dies proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; proxy_redirect off; # set headers proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; }

Ermin Trevisan

Your site still tries to load from http:// instead of https://. So I assume that something in your proxy conf does not work properly. Try to check with other nginx configurations on the internet. I have Apache and after the change in my virtual hosts configuration, a restart of Apache and a reload of the website it worked immediately and all contents are now loading from https://.

Ermin Trevisan

I don't know how it could make a difference, if any, but I have dbfilter activated in my odoo-server.conf and installed the module https://www.odoo.com/apps/modules/8.0/dbfilter_from_header/

Ermin Trevisan

Andy, just a stupid question (but I had a conversation with somebody, who had this problem): have you set "proxy_mode = True" in your Odoo config file?

Awatar
Lucas Huber
Najlepsza odpowiedź

Solution for NGINX:

    location / {      
    proxy_pass http://moneygrid-net;       
    # force timeouts if the backend dies     
     proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
     proxy_redirect off;
     # set headers
     proxy_set_header Host $host;
     proxy_set_header X-Real-IP $remote_addr;
     proxy_set_header X-Forwarded-Host $host;
     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
     proxy_set_header X-Forwarded-Proto $scheme;

}

1
Awatar
Odrzuć
Awatar
Gustavo Almeida
Najlepsza odpowiedź

I went to parameter website.url under "Website Admin" -> "Configuration" -> "Website name" ? and updated to https.

Fixed the issue for Firefox, but still does not load pdfs using Chrome.

Please help. Thanks

0
Awatar
Odrzuć
Awatar
andy graybeal
Autor Najlepsza odpowiedź

well, i spoke to soon.. it is acting differently.  it shows the PDF on the item page now.  It also still throws a warning about Mixed Content and how it still wants to show an http bound file.

I also have a display widget showing that it is "loading".. i'm assuming indefinetly because it is still "loading" after some time.

When I click on the "full screen" button, it only shows me what is in the item preview display, not the whole document.


hmm i didn't mean to post like this.

0
Awatar
Odrzuć
andy graybeal
Autor

Chrome's error message is now: Mixed Content: The page at 'https://nixtamalized.com/slides/embed/6?page=1' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://nixtamalized.com/slides/slide/ein-number-6/pdf_content'. This request has been blocked; the content must be served over HTTPS. 6:1 Uncaught (in promise) UnexpectedResponseException {name: "UnexpectedResponseException", message: "Unexpected server response (0) while retrieving PD…s://nixtamalized.com/slides/slide/6/pdf_content".", status: 0}

Ermin Trevisan

Andy, see my last comment, it seems to be a CORS (Cross Origin Ressource Sharing) issue. Besides the link I have already posted in this comment, this one should be helpful also: https://awesometoast.com/cors/ But I was not successful so far...

Ermin Trevisan

I GOT THE SOLUTION!!!! Forget about CORS. You need to set the RequestHeader set "X-Forwarded-Proto" "https" in your virtual host conf in your proxy server, see the following sample for Apache: https://www.odoo.com/de_DE/groups/community-59/community-13327850?mode=thread

Awatar
Matthew R Olden
Najlepsza odpowiedź

I am experiencing nearly the same problem but on v11 CE.  Posted problem separately to this forum but no one is providing any suggestions.  https://www.odoo.com/forum/help-1/question/slides-module-not-showing-slides-cors-errors-126741 

0
Awatar
Odrzuć
Awatar
Mohanraj
Najlepsza odpowiedź

I GOT THE SOLUTION

Goto the Settings -> Activate Developer Mode -> Technical Menu -> Parameters -> System Parameters ->   "web.base.url" Field Value Changed "http://" to "https://"

0
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
Slides and PDF Rozwiązane
slides
Awatar
Awatar
Awatar
3
mar 24
14219
Deleting a Presentation In employee channel Odoo V11
slides
Awatar
0
lip 20
3344
How to increase the filesize in Slides? Rozwiązane
slides
Awatar
Awatar
1
lis 15
5529
Replying to Comments on Slides
comments slides
Awatar
0
cze 25
1086
Where is my Odoo mug?
master slides
Awatar
Awatar
Awatar
2
maj 24
2712
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now