Seashop.eu Posted June 24, 2011 Share Posted June 24, 2011 Hi,please, somebody help me with products attachments.After upgrading Prestashop to 1.4.3 all products attachments after downloading can not be opened. I used only .pdf attached to all products, such as data-sheets and brochures. When I visit product page and download datasheet .pdf, adobe acrobat says that : There was an error opening this document. The file is damaged and could not be repaired. There was an error opening this document. The root object is missing or invalid.The confusing thing is that I have a copy of my website in my local computer with MAMP. All attachments in my computer are working fine, but on the website not.Please, any suggestions !!! Link to comment Share on other sites More sharing options...
Seashop.eu Posted June 25, 2011 Author Share Posted June 25, 2011 Please help somebody! Any advise Link to comment Share on other sites More sharing options...
pietro Posted January 4, 2012 Share Posted January 4, 2012 Hi there, i am experiencing the same issue after I update my site to 1.4.6.2. How did you solve it? ... or anyone else have any suggestions? My PDFs show in the back and front office properly but they are damaged after downloading them. Thanks, P Link to comment Share on other sites More sharing options...
pietro Posted January 5, 2012 Share Posted January 5, 2012 I used Filezilla to upload the PDF files to the server. I realized that the files in the server were damaged and it was not a problem with the download. I changed my transfer settings (in Filezilla) from "Auto" to "Binary" and everything is back to normal. Link to comment Share on other sites More sharing options...
thx2012 Posted March 18, 2014 Share Posted March 18, 2014 I used Filezilla to upload the PDF files to the server. I realized that the files in the server were damaged and it was not a problem with the download. I changed my transfer settings (in Filezilla) from "Auto" to "Binary" and everything is back to normal. What folder did you upload PDF files to? Link to comment Share on other sites More sharing options...
thx2012 Posted March 20, 2014 Share Posted March 20, 2014 What folder did you upload PDF files to? I only see the /downloads/ folder that contain files and in phpMyAdmin, I see those files with the Mime names of .pdf.. I'm not sure if there are any other folders where the .pdf(s) reside. That is why I asked "What folder did you upload PDF files". I uploaded the /downloads/ folder in binary and now PDFs open, however with error. There was an error in process page. Out of memory. Any other suggestions? Link to comment Share on other sites More sharing options...
thx2012 Posted March 20, 2014 Share Posted March 20, 2014 Also, inside my php.ini I set both the memory_limit & upload_max_filesize are set to: 512M Still no prevail. Any suggestions would be greatly appreciated!!! Link to comment Share on other sites More sharing options...
Twingo74 Posted October 20, 2016 Share Posted October 20, 2016 I have the same Problem with Prestashop 1.6.1.7. When I upload pdf or jpg as attachment to products, they don't open. I always get the error that the files are corrupted or cannot be loaded. I tried uploading pdf directly to ftp and it still didn't work. Any idea? I would appreciate every help. Thank you. Link to comment Share on other sites More sharing options...
Yanel Posted June 21, 2019 Share Posted June 21, 2019 i have the same probleme i work with 1.7.5.1 what folder did you upload PDF files to i need help Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now