Forum Replies Created

Viewing 15 replies - 241 through 255 (of 398 total)
  • Hi @jamiebcove,

    The script is still being served from the previously cached location: cache/min/1/wp-content/plugins/pdf-embedder/js/pdfjs/pdf-ffce05deb279eb3074982ba7a3535df3.worker.js. You need to delete this cached directory file so the scripts can be reloaded in their entirety (recommend that you save a copy as backup before deleting).

    Make sure that you have disabled any inline / aggregate JS tools as well then reload the page.

    Forum: Plugins
    In reply to: [PDF Embedder] Dynamic DNS

    Hi @rukbatsramblings,

    There are a couple of options here:

    1. Enable CORS in the page header to bypass the cached URL: , or
    2. Using the Classic Editor block, edit the inserted URL to a relative link instead of an absolute link

    In the second option, you would edit:
    [pdf-embedder url="http://domain.com/wordpress/uploads/xxxx/xx/path-to-pdf.pdf"]
    to:
    [pdf-embedder url="/wordpress/uploads/xxxx/xx/path-to-pdf.pdf"]

    This will work with the free and Premium versions of the plugin and will allow you to bypass the changing URL.

    You should also exclude the PDF Embedder scripts from the cache going forward. They are already minimized so you will not be losing anything by excluding them: https://wp-pdf.com/kb/using-caching-or-minifying-plugins/

    If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.

    Emma

    Hi @sergiu51,

    Can you please send an email to us at contact@wp-pdf.com with a live link we can look at as well as an admin level login. It sounds like something on your site is rewriting the URLs and we’d like to take a closer look.

    Emma

    Hi @geoffm1968 and @rdkcreative,

    I will add both of your votes to the Feature Request list.

    Emma

    Hi @cleitonbergo,

    Are you using the free version of the plugin or one of the paid versions as the file paths for the plugin differ between the versions. Please see the following for the correct paths for each: https://wp-pdf.com/kb/using-caching-or-minifying-plugins/.

    If you have taken the Autoptimize plugin entirely out of the equation, you should then be able to see the scripts loaded in the Network tab of the browser’s Developer Tools. If you don’t and/or see JS errors in the Console tab, then this would indicate that there is a conflict happening somewhere else on the page or post. If you can post a link to the page in question, either here or by sending an email to contact@wp-pdf.com, I would be happy to take a look for you.

    Emma

    Hi @sergiu51,

    Looking at the reported error shows the URL for the PDF that includes the text %E2%80%9D. The %E2%80%9D would indicate that your theme or a page layout builder is changing the formatting of the shortcode, turning the straight quotes around the PDF’s file path into curly quotes breaking the functionality of the plugin.

    You will need to ensure that your shortcode is being entered into an HTML / Text field, or if you are using a page builder into a module that supports Plain Text, HTML, shortcodes, or Raw Code.

    Emma

    Hi @paidtothink,

    The PDF document itself is accessible by the link, this is one potential cause off the table.

    Next, looking at the page in the browser’s Network tab, the PDF Embedder scripts are not being loaded on the page. If the scripts are not loaded, they are not able to generate the embedded viewer to display the document. This is often due to a conflict with another plugin or your theme.

    We have a troubleshooting guide to help you find the conflict here: https://wp-pdf.com/kb/pdf-doesnt-appear-at-all-just-a-blank-line-or-hangs-on-loading/

    If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.

    Emma

    Thank you for the confirmation on the cache clearing process. The developers are investigating why this is occurring with caching tools and the previous method of excluding the scripts / flushing the cache is not working.

    In the meantime, if you roll back to version 4.4 of the PDF Embedder it will resolve the issue until we have a solution for the update (or leave the cache disabled temporarily).

    I will update you as soon as the I hear back from them.

    Emma

    Hi @trible,

    Thank you for the confirmation on the cache clearing process. The developers are investigating why this is occurring with caching tools and the previous method of excluding the scripts / flushing the cache is not working.

    In the meantime, if you roll back to version 4.4 of the PDF Embedder it will resolve the issue until we have a solution for the update (or leave the cache disabled temporarily).

    I will update you as soon as the I hear back from them.

    Emma

    Hi @trible,

    The recent update included a version update to the PDF.js library. This error comes up if you have a caching and/or minifying plugin on your site that has cached the previous version of the plugin scripts and now does not match with the updated plugin. To rectify this error, you need to clear the cache on the site and you should also clear the browser cache to allow the site to reload the scripts.

    To prevent this error from occurring again in the future, you would need to exclude the paths from your site’s cache and/or minifying plugin. Please see our FAQ for the specific paths for your version (free, Premium, or Secured) of the plugin: https://wp-pdf.com/kb/the-api-version-does-not-match-the-worker-version-error-on-update/. You may need to consult with the documentation for your caching plugin in order to determine where the exclusions need to be entered.

    Once you have excluded these paths, flush the cache and reload the page; the error should now be gone.

    If you are not using a caching tool on your site but are still seeing the error, the scripts maybe caching in your browser and a hard reload is required.

    Browser hard reload keystrokes:

    • Windows: Ctrl + F5
    • Mac/Apple: Apple + R or Cmd + R
    • Linux: F5

    If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.

    Emma

    This issue has been resolved with v.4.5 update to the free plugin and v.4.4 of the paid plugins.

    Hi @ogineste,

    Glad to hear that you are enjoying the PDF Embedder plugin!

    I have a solution for the issue you are having embedding PDF here in our FAQ: https://wp-pdf.com/kb/stop-the-pdf-embedder-shortcode-being-inserted-into-posts-automatically/. If you apply this bit of code to the site, you can use the PDF Embedder block to add the PDF in the viewer and still add PDFs to your site in the conventional manner without having the viewer initiated.

    Regarding the mobile issue, the paid versions of the PDF Embedder plugin are mobile-responsive and has some additional settings to help with potential issues you might see there.

    Hi @graysonrobb,

    I took at the link you provided—thanks for that—and found that the PDF Embedder scripts aren’t being loaded at all on the page when viewed in the Network tab of the Developer Tools. The <b>custom-code-module</b that you are using appears to be outputting the shortcode as a code example rather than letting the shortcode be rendered for its content.

    Can you change to a different module such as plain text or HTML and try the embed again?

    If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.

    Emma

    Hi @cwaymem,

    There is a bit of CSS spilling over from your theme. If you add the following to your Appearance » Customize » Additional CSS field, it will take care of the issue for you:

    .pdfemb-inner-div .linkAnnotation {
        border: none !important;
    }

    If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.

    Emma

    Hi @lestexas60,

    The download feature has been a feature of the paid plugin since version 2.2.4 as per our release notes: https://wordpress.org/plugins/pdf-embedder/#developers. This was well before my time but from the development notes I have available, it wasn’t removed from the free version but introduced as a Premium feature from the start.

    If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.

    Emma

Viewing 15 replies - 241 through 255 (of 398 total)