[campsite-support] php-wrapper and file attachments
  • I've just installed php-wrapper on our campsite installation.

    Things seems to be working ok as we've tested the RSS templates, and it
    works well.

    However, if we attach a PDF file to a story, we can't download or open the
    PDF. Has anyone else had this problem. Basically, in trying to open the
    attached file, we get a screen dump of the contents of the file, rather than
    being able to download it or have it open with Acrobat.
  • 2 Comments sorted by
  • What PHPwrapper version did you install? Please make sure you downloaded the latest one. Check the .htaccess file and make sure you have the line:

    RewriteCond %{REQUEST_URI} !^/attachment.php

    Regards,
    Mugur

    Christopher Palermo wrote: I've just installed php-wrapper on our campsite installation.

    Things seems to be working ok as we've tested the RSS templates, and it works well.

    However, if we attach a PDF file to a story, we can't download or open the PDF. Has anyone else had this problem. Basically, in trying to open the attached file, we get a screen dump of the contents of the file, rather than being able to download it or have it open with Acrobat.





    ---------------------------------
    Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2
  • No, it wasn't the latest one... I added the rewrite condition to the
    .htaccess file, and all is well. I'll install the new version this week...

    Once again, thanks.

    Chris

    On 4/10/06, Mugur Rus wrote:
    >
    > What PHPwrapper version did you install? Please make sure you downloaded
    > the latest one. Check the .htaccess file and make sure you have the line:
    >
    > RewriteCond %{REQUEST_URI} !^/attachment.php
    >
    > Regards,
    > Mugur
    >
    >
    > *Christopher Palermo * wrote:
    >
    > I've just installed php-wrapper on our campsite installation.
    >
    > Things seems to be working ok as we've tested the RSS templates, and it
    > works well.
    >
    > However, if we attach a PDF file to a story, we can't download or open the
    > PDF. Has anyone else had this problem. Basically, in trying to open the
    > attached file, we get a screen dump of the contents of the file, rather than
    > being able to download it or have it open with Acrobat.
    >
    >
    >
    > ------------------------------
    > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countriesfor just 2