Z
Z
ZaurK2017-11-05 22:06:56
Joomla
ZaurK, 2017-11-05 22:06:56

Why did the link in joomle stop working?

Greetings! I was asked to look at one site on joomle, where a certain edocs plugin is used to view pdf documents. Everything worked for them, but after acquiring a security certificate, pdf documents were no longer displayed. I see the following error in Google Developer Dashboard

Mixed Content: The page at 'https://mysite.ru/5-/96-430109-q-q/371--qq-11-.html' was loaded over HTTPS, but requested an insecure resource 'http://docs.google.com/gview?url=https://mysite.ru/images/stories/st.43.01.09povar.pdf&embedded=true'. This request has been blocked; the content must be served over HTTPS.

Apparently, the reason is that the Google browser for some reason substitutes http, although https is indicated. When viewing the code in a browser, you can see that this edocs plugin substitutes an http link in the frame
<!-- MediaEventi "Edocs!" Plugin (v1.2) starts here -->
  <div class="edocs_viewer " >
                <iframe 
                  src="http://docs.google.com/gview?url=https://mysite.ru/images/stories/st.43.01.09povar.pdf&embedded=true" 
                  style="width:700px; height:600px;" frameborder="0" class="edocs_iframe">
                </iframe>
                <br /><br />								
              </div>
<!-- MediaEventi "Edocs" Plugin (v1.2) ends here -->

Has anyone encountered a similar problem? With Joomla, I'm on you, please suggest a solution to the problem.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Gruznykh, 2017-11-06
@ZaurK

Still, take courage and edit the plugin file (look in /plugins/content/edocs for example). Find it there http://docs.google.com/gview?url=....and add the missing letter to make ithttps://docs.google.com/gview?url=....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question