• Hello,

    we upload a pdf attachment, it is good , on media it is good but after download it on front it is corrupted file !

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Dotstore

    (@dots)

    Hello fdlprod,

    Thanks for reaching out to us.

    I have reviewed that given URL is displaying the Maintenance mode.

    Related to your query, it might be possible that uploaded PDF does not have the read permission.

    Can you please check that after uploading the PDF those PDFs have read/write permission.

    Or you need to troubleshoot in the below file path with our plugin.

    File Path: plugins\woo-product-attachment\public\class-woocommerce-product-attachment-public.php

    Function name: wcpoa_send_file

    You just need to print variable $fullPath.

    After print above variable you just need to check that variable path is correct or not.

    If not then, you just need to change the code and make path correct and also make sure that PDF path is readable.

    I hope this helps. Let us know if still you need any further assistance. We are happy to help.

    Thanks,

Viewing 1 replies (of 1 total)
  • The topic ‘pdf corrupted when download from front’ is closed to new replies.