Viewing 13 replies - 1 through 13 (of 13 total)
  • Thank you for your message. Please could you email me a link to the page that shows the “Missing PDF”?

    Send to [email protected]

    I’ll be very happy to take a look there, but might not pick up any further replies to this thread.

    Regards,

    Dan

    This is happening to me too. What was the solution?

    https://chartauto.com/line-sheet/

    Normally this happens because the PDF isn’t actually at the URL that has ended up in the shortcode.

    I think you’re using a different plugin on that page at the moment.

    If you’re sure the PDF exists at the URL (i.e. it displays if in your browser you go straight to the URL specified in the url=”<url>” parameter) then please send me more details via email: [email protected].

    I may not notice replies to this thread, so for anyone else too – please email for the best access to support.

    Thanks,

    Dan

    Thread Starter duff1

    (@duff1)

    Here’s the link:

    https://www.paramedic.quebec/implantation-nouveau-protocole-danaphylaxie/

    As you can see, the file is missing with pdf-embedder but showing with pdf-light-viewer.

    An other example:

    https://www.paramedic.quebec/assurance-responsabilite-professionnelle/

    Thanks for the links. For some reason, your web server returns ‘404 not found’ when the plugin tries to load the PDF through an XMLHttpRequest. As you can see, if you try to load the PDF through a web browser it works fine.

    E.g. this PDF URL: https://www.paramedic.quebec/wp-content/uploads/2016-05-Implantation-du-nouveau-protocole-danaphylaxie.pdf

    There really is no explanation other than your web server is somehow configured to behave like this, so you would need to ask your web hosting company’s support team to investigate. Please feel free to ask them to contact me. As before, email is normally best: [email protected].

    Regards,

    Dan

    Thread Starter duff1

    (@duff1)

    But the second link was working few days ago. Do you think it could be because all my site is in SSL?

    And the other PDF plugin is working but I would prefer yours.

    It might be that the other plugin is having more luck over non-SSL, or it’s just loading it in a way that happens to be configured to work on your server.

    I still think your web hosting company’s support team should take a look as this may affect other aspects of your site too.

    Please do email with any further questions: [email protected]

    I can’t be sure I’ll notice replies here, so email is best.

    Thanks,

    Dan

    I finally did contact my hosting company and they made a change to my .htaccess file, and now the pdf shows up like it should.

    Thread Starter duff1

    (@duff1)

    Are you able to tell me what was changed in your .htaccess file? Because I just contacted GoDaddy support and they can’t help me on this issue.

    I had to contact Namecheap 3 times before I got someone to actually help me! This is what she did, and it worked…

    I have tried to disable the following lines in your .htaccess file.

    #<IfModule mod_rewrite.c>
    #RewriteEngine on
    #RewriteRule !(js|ico|gif|jpg|png|css|swf|flv|libraries|maint|admin|login|logout|reg) index.php [QSA,L]
    #</IfModule>

    Hi I am also facing problem but, here it only shows loading

    https://www.kathasutra.com/karma-yoga-by-swami-vivekananda/

    Please help this is urgent

    Thread Starter duff1

    (@duff1)

    Ok, great, I disabled one line in my .htaccess and it’s now working.

    # BEGIN Hotlinking
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^https://www.paramedic.quebec/.*$ [NC]
    #RewriteRule \.(pdf|doc|docx|odt|rtf|txt)$ [R=302,L]
    </IfModule>

    Anyone can tell me what it’s doing exactly?

    Thank you to everyone for posting that they were able to solve the problem.

    If you don’t know about htaccess yourself, I would strongly recommend contacting your hosting company’s support team as changes could break more of your site.

    In all these cases above, for some reason the hosting company had decided to forbid direct access to uploaded PDFS, and this would have affected other PDF plugins – or even caused problems if you just wanted to provide a link to the PDF.

    Dan

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘PDF Missing’ is closed to new replies.