Tagged: cannot open.
July 26, 2013 at 3:56 pm #9390Vetromagic KGMember
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.
GerhardJuly 27, 2013 at 12:11 am #56832adminKeymaster
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:March 14, 2014 at 8:32 am #56833carlyblack206Member
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?
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 siteMarch 14, 2014 at 10:37 am #56834adminKeymaster
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 #56835carlyblack206Member
thank you that fixed it!
- You must be logged in to reply to this topic.