Title: PDF cannot access file
Last modified: May 21, 2024

---

# PDF cannot access file

 *  [chamegonrak](https://wordpress.org/support/users/chamegonrak/)
 * (@chamegonrak)
 * [2 years ago](https://wordpress.org/support/topic/pdf-cannot-access-file/)
 * Hello Dev,
 * I have some problem about showing pdf that when I click on the book sometime 
   it’s shown popup “Error: cannot access file!” so I try debug with inspect on 
   chrome I got message “Uncaught (in promise) TypeError: network error”
 * after that I try to add Access-Control-Allow-Origin in my .htaccess file like
   that
   <IfModule mod_headers.c>Header set Access-Control-Allow-Origin “*”Header
   set Access-Control-Allow-Headers “Range”Header set Access-Control-Expose-Headers:“
   Accept-Ranges, Content-Encoding, Content-Length, Content-Range”</IfModule>
 * and clear all cache and re-test again it still hav an error.
 * Could you please advice me how to resolve this error.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpdf-cannot-access-file%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [DearHive](https://wordpress.org/support/users/dearhive/)
 * (@dearhive)
 * [2 years ago](https://wordpress.org/support/topic/pdf-cannot-access-file/#post-17772107)
 * Hi,
 * The Flipbook is loading on that page. We were not able to recreate the issue.
   
   Can you share a screenshot with the full error message?
 * Plus what device and browser are you using? We will try in that specific environment
   too.
 * Best Regards,
   DearHive
 *  Thread Starter [chamegonrak](https://wordpress.org/support/users/chamegonrak/)
 * (@chamegonrak)
 * [2 years ago](https://wordpress.org/support/topic/pdf-cannot-access-file/#post-17772163)
 * Hi Dev,
 * Thank you for your feedback and I added error screenshot and video as link below
 * [https://drive.google.com/drive/folders/1Jad_WU-PpHfc8qQBswmRKrcVW5bhrboI?usp=sharing](https://drive.google.com/drive/folders/1Jad_WU-PpHfc8qQBswmRKrcVW5bhrboI?usp=sharing)
 * About Device I use Macbook pro and test responsive with toggle device on Chrome.
 * Browser that I use with Chrome / Firefox

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PDF cannot access file’ is closed to new replies.

 * ![](https://ps.w.org/3d-flipbook-dflip-lite/assets/icon-128x128.gif?rev=3175518)
 * [DearFlip - PDF Flipbook, 3D Flipbook, PDF embed, PDF viewer](https://wordpress.org/plugins/3d-flipbook-dflip-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/3d-flipbook-dflip-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [chamegonrak](https://wordpress.org/support/users/chamegonrak/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/pdf-cannot-access-file/#post-17772163)
 * Status: not resolved