Thread: Corrupt PDFs

Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Posts
    122
    Plugin Contributions
    0

    bug Corrupt PDFs

    Hi Everyone!

    I know this has been addressed before, but I found something new and know why the PDFs are read as "corrupted" by Adobe Reader... at least through my site. However, I know what the problems, just not how to fix it.

    I opened the downloaded PDF with a text editor and found four HTML lines were added at the top of the file. These lines are warning messages. The lines are:

    <br />
    <b>Warning</b>: symlink() has been disabled for security reasons in <b>/home/public_html/store1/includes/modules/pages/download/header_php.php</b> on line <b>122</b><br />
    <br />
    <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/public_html/store1/includes/modules/pages/download/header_php.php:122) in <b>/home/public_html/store1/includes/modules/pages/download/header_php.php</b> on line <b>132</b><br />

    Adobe Reader chokes on these lines and won't display the rest of the PDF. What do I need to do to correct this issue. Any clues? Is this a Zen Cart config issue or is this something my host has to change? I kind of surprised that Zen Cart would throw the warnings in the download.

    Thanks!

    Marci

    P.S. Those of you having the same corrupt PDF problems, open the downloaded PDF in a text editor and see if this has happened. If it has, we may have "solved" the problem... provided someone has an answer. :)

  2. #2
    Join Date
    Mar 2006
    Posts
    122
    Plugin Contributions
    0

    Default Re: Corrupt PDFs

    I found an answer to this question after posting it. I too am using Siteground. It looks like I have the same issue as the link below:

    http://www.zen-cart.com/forum/showth...hlight=symlink

    Marci

 

 

Similar Threads

  1. Product Extra Fields for text, pdfs and flash
    By delia in forum Addon Admin Tools
    Replies: 380
    Last Post: 28 Dec 2024, 07:03 PM
  2. v154 Is there something special about PDFs?
    By jenpen in forum General Questions
    Replies: 3
    Last Post: 18 Sep 2015, 03:23 AM
  3. Sell access to PDFs hosted on another site?
    By gabrieldavisjones in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 1 Dec 2010, 10:41 PM
  4. printing pdfs
    By spencer_mills in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Nov 2007, 11:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg