WordPress.org

Ready to get started?Download WordPress

Forums

Customer Area
PDF files and Chrome (7 posts)

  1. rickjm540
    Member
    Posted 11 months 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

    http://wordpress.org/plugins/customer-area/

  2. ciscovj
    Member
    Posted 11 months 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.

    Thanks!

  3. Vincent Mimoun-Prat
    Member
    Plugin Author

    Posted 11 months ago #

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

  4. djbdjb
    Member
    Posted 11 months 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
    Member
    Plugin Author

    Posted 10 months 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
    Member
    Posted 1 week 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:

    http://www.rethinkwood.com/

    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:

    http://www.woodworks.org/publications-media/case-studies/

    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
    Member
    Plugin Author

    Posted 1 week ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.