Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Requested File Could Not Be Found
- This topic has 24 replies, 6 voices, and was last updated 13 years, 8 months ago by davemacguitar.
-
AuthorPosts
-
November 7, 2010 at 1:55 pm #2184mikru2010Member
Hi,
i put a pdf in the download folder of the plugin.
When doing a test buy i get
“Requested File Could Not Be Found”
What is causing this?
Is there a special syntax i should name my file?
I named the product like this:
“word 1 word 2 word3.pdf”
Also the file name contains umlaut /vowel mutation.
Could that perhaps be the reason for the error?
Or is it a question of permission for the download folder?
November 7, 2010 at 2:53 pm #26224wzpModerator“Requested File Could Not Be Found” is no longer a valid error message. Please upgrade to the latest version of eStore and try again:
https://support.tipsandtricks-hq.com/automatic-update-request
If you still are having problems, please enable debugging and look in the download_manager_debug.log file for clues as to what may be going on.
November 7, 2010 at 3:20 pm #26225mikru2010MemberThanks. Unfortunately now i get
“Download file cannot be found. Please let us know. Thank you!”
I already tried to change path, change file name and zip-file.
I’m on a vps perhaps there is a problem with paths?
November 7, 2010 at 3:23 pm #26226wzpModeratorWP eStore -> Settings -> Addon Settings -> Download Manager Related -> Automatic URL Conversion Preference
Try the “Do Not Convert” option.
November 7, 2010 at 3:28 pm #26227mikru2010MemberNow i enabled debugging and get a lot of errors when returning from paypal
Warning: fopen(eStore_post_payment_debug.log) [function.fopen]: failed to open stream: Permission denied in /var/www/vhosts/domain/httpdocs/wp-content/plugins/wp-cart-for-digital-products/eStore_debug_handler.php on line 22
Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/domain/httpdocs/wp-content/plugins/wp-cart-for-digital-products/eStore_debug_handler.php on line 23
Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/domain/httpdocs/wp-content/plugins/wp-cart-for-digital-products/eStore_debug_handler.php on line 24
Warning: fopen(eStore_post_payment_debug.log) [function.fopen]: failed to open stream: Permission denied in /var/www/vhosts/domain/httpdocs/wp-content/plugins/wp-cart-for-digital-products/eStore_debug_handler.php on line 22
Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/domain/httpdocs/wp-content/plugins/wp-cart-for-digital-products/eStore_debug_handler.php on line 23
Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/domain/httpdocs/wp-content/plugins/wp-cart-for-digital-products/eStore_debug_handler.php on line 24
Warning: fopen(eStore_post_payment_debug.log) [function.fopen]: failed to open stream: Permission denied in /var/www/vhosts/domain/httpdocs/wp-content/plugins/wp-cart-for-digital-products/eStore_debug_handler.php on line 22
Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/domain/httpdocs/wp-content/plugins/wp-cart-for-digital-products/eStore_debug_handler.php on line 23
Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/domain/httpdocs/wp-content/plugins/wp-cart-for-digital-products/eStore_debug_handler.php on line 24
I put in “domain” to replace my real domain name here.
There is no download debug log.
All other logs are empty.
I need this settled fast. Hope you can help
November 7, 2010 at 3:36 pm #26228wzpModeratorWhat version of PHP are you running?
Is the hosting done by yourself, or a hosting company?
November 7, 2010 at 3:43 pm #26229mikru2010Member# PHP Version : 5.2.4-2ubuntu5.10
# PHP Safe Mode : Off
# PHP Allow URL fopen : On
I’m with a hosting company, but i have to admin the vps myself (they offer no support).
I remember that i was able to do a test download from the wp-content uploads folder once, when i tested the stamper (shortly after purcahse a couple of weeks ago).
Don’t know why now it isn’t working from the estore plugin download folder.
I haave a lot of trouble with permissions on this vps (it’s different from one i used previously and causses lots of pain)
November 7, 2010 at 3:52 pm #26230wzpModeratorDelete any “.htaccess” files from the downloads directory.
November 7, 2010 at 4:05 pm #26231mikru2010MemberI did so and now created a download link from admin function.
Still got
Download file cannot be found. Please let us know. Thank you!
and also
Warning: fopen(eStore_post_payment_debug.log) [function.fopen]: failed to open stream: Permission denied in /var/www/vhosts/domain/httpdocs/wp-content/plugins/wp-cart-for-digital-products/eStore_debug_handler.php on line 22
Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/domain/httpdocs/wp-content/plugins/wp-cart-for-digital-products/eStore_debug_handler.php on line 23
Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/domain/httpdocs/wp-content/plugins/wp-cart-for-digital-products/eStore_debug_handler.php on line 24
Though i gave 777 to eStore_debug_handler.php
November 7, 2010 at 4:15 pm #26232wzpModeratorThere appears to be a permission problem that is preventing eStore from opening the log files for writing …
Is the file you are trying to download being run through the Stamper? There may be multiple problems with integration and permissions. If you are using the Stamper, try a test without it, so we can better isolate the issues.
November 7, 2010 at 4:25 pm #26233mikru2010MemberThe trouble seemed to be caused by umluats / vowel mutation in the file name.
After i changed the file name properly again, i was able to at least download via generated link from admin.
Will do test purchase now to confirm
I strongly advise you switch everything to utf-8
November 7, 2010 at 4:52 pm #26234mikru2010MemberPerhaps it’S really the stamper, becasue i got errors when manually trying to stamp one of th new files.
And now the file i was able to download via created link from admin gives again
Download file cannot be found. Please let us know. Thank you!
when doing a purchase
November 7, 2010 at 5:03 pm #26235wzpModeratorCan you download a file that does not need stamping? If you can, then yes, it would be the stamper integration.
November 7, 2010 at 5:11 pm #26236mikru2010MemberYes, i deactivated the stamper and testpurchase went smoothly,
After reactivating the stamper the error was back.
What i don’t get is that i tested the stamper with another file somew weeks agoa and it worked
Could it be any persmissions for folder and files?
How do you suggest to set the permissions for your plugin folders / files?
I need the stamper to work on this, because i want to sell high priced pfd from tomorrrow on and need the files stamped to build a hurdle for people to just share the files
November 7, 2010 at 5:22 pm #26237wzpModeratorIf you can get the stamper to work manually, I think the eStore will work fine with it. But if you can’t get manual stamping to work, we must wait for Amin to wake up.
-
AuthorPosts
- You must be logged in to reply to this topic.