Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Error Code 1 :: Cannot open PDF-File

by

Tips and Tricks HQ Support Portal › Forums › WP PDF Stamper › Error Code 1 :: Cannot open PDF-File

Tagged: cannot open.

  • This topic has 4 replies, 3 voices, and was last updated 11 years, 1 month ago by carlyblack206.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • July 26, 2013 at 3:56 pm #9390
    Vetromagic KG
    Member

    Hi!

    I’m using WPMU 3.5.2 with Multisite and WooCommerce 2.0.13.

    I’ve just purchased and installed PDF-Stamper and activated woocommerce-Integration.

    Everything works fine, but when I get the Link after purchasing a file, I get an error, saying:

    “Error! Message: Cannot open /var/www/wordpress-sites/wordpress/files/2013/07/file.pdf ! Error Code: 1”

    The real path to the file is “/var/www/wordpress-sites/wordpress/wp-content/blogs.dir/8/files/2013/07/file.pdf”.

    When I copy the File to the suggested location, everything woks fine and I get a stamped PDF.

    Is there a way to customize the source-path? I just need to insert “wp-content/blogs.dir/8/” to get the real file.

    Best regards,

    Gerhard

    July 27, 2013 at 12:11 am #56832
    admin
    Keymaster

    Hi Gerhard, Go to the PDF stamper settings and try method 2 and 3 for the following option:

    File PATH Conversion Method

    Let me know how it goes after you try the different methods.

    The following checklist can also be very helpful:

    https://support.tipsandtricks-hq.com/forums/topic/an-error-occurred-while-trying-to-stamp-the-file-pdf-file-creation-checklist

    March 14, 2014 at 8:32 am #56833
    carlyblack206
    Member

    Hi there, I’m also getting a similar message:

    WooCommerce and PDF Stamper integration – An error occured while trying to stamp the PDF file! Error details: Message: Cannot open /home/property/public_html/wp-content/uploads/wpsc/downloadables/2014-03-14-2-32-Campbell-Crescent-Terrigal-Building-Report.pdf ! Error Code: 1

    I have moved my shop over from wp ecommerce to woocommerce integrated with pdf stamper.

    I can’t access any of the files in this folder, but if I move them to source-files in your plugin directory they will work. Am I just going to have to move all files over to there? or is there something I can do to my current directory to get it to work?

    thanks.

    P.S thought I should add I’m on the latest version of wordpress 3.8 latest of woocommerce and pdf stamper. I’m not using multi site

    March 14, 2014 at 10:37 am #56834
    admin
    Keymaster

    The .htaccess on your server is not working as it normally does so it is not letting the stamper access the PDF file. So browse to the folder where you have the PDF files and delete the .htaccess file from that folder. Let me know if it works better after that.

    March 15, 2014 at 2:40 am #56835
    carlyblack206
    Member

    thank you that fixed it!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ