WP Customer Area
PDF files and Chrome (7 posts)

  1. rickjm540
    Posted 3 years ago #

    PDF files in the customer area won't load in the Chrome browser - other image files load fine. You just get a "Loading..." icon but it never loads.
    Also Safari and Firefox work fine.

    Thanks for your efforts!

    Rick Mills


  2. ciscovj
    Posted 3 years ago #

    I have the same problem with Chrome and pdf's

    Another suggestion: Is it possible to open view files in another window (target="_blank")? It would be very useful.


  3. Vincent Mimoun-Prat
    Plugin Author

    Posted 3 years ago #

    I'll have a look. However, I am on holliday so it might take some time.

  4. djbdjb
    Posted 3 years ago #

    Same problem here actually. Every other browser is fine but the view link in Chrome just results in a loading screen.

    Ciscovj: I’ve just done the target="blank" on my website. Just find the relevant template (for me it was private-file-customer_area_user_file_item.template.php), copy it to your theme folder as per instructions and add target="blank" into the relevant link.

  5. Vincent Mimoun-Prat
    Plugin Author

    Posted 2 years ago #

    Unfortunatly, Chrome's internal reader seems to have problems with PDF files. I don't really know what could be causing that on the plugin side, but it seems also that you could fix it by properly configuring the web server (Apache).

    I would simply recommend to remove the view link from the templates and only leave the download link. You can do so by copying the .template.php files from the core-addons/private-files/templates folder to a subfolder of your theme (my-theme/customer-area/templates).

    Some links to bug reports:

    - http://stackoverflow.com/questions/12565047/pdf-not-downloading-in-chrome
    - http://www.iceni.com/blog/problems-opening-and-browsing-pdfs-in-google-chrome/

  6. rexpresso
    Posted 2 years ago #

    Multiple Users on same version of Chrome (Version 35.0.1916.153 m) with Chrome PDF Viewer enabled report different outcomes for same PDF from same sites. Example:


    User 1: Can open all 10 Case Study PDF's in browser
    User 2: Cannot open first seven PDF's (which are links to an external WordPress site - http://www.woodworks.org). They hang with the 'loading' message noted in first post in this thread. Can view last 3 that are internal to the site.

    This is not a difference in the PDF's themselves. Saving a PDF from rethinkwood and then uploading and calling it directly from woodworks, user 2 sees the same hanging loading message.

    Same issue going directly to woodworks site. Example PDF:


    User 1 can view inline by clicking title
    User 2 gets hanging message

    So, I think this is actually a wordpress issue in some way.

  7. Vincent Mimoun-Prat
    Plugin Author

    Posted 2 years ago #

    This would confirm the theory of the server configuration problem. See above links.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Customer Area
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.