Billby
Forum Replies Created
-
Hi Pippin,
I’ve been exploring this problem again as I do this month’s imports.
I’ve figured out some details:
* I get 404 errors on all downloads when Download Method is set to Redirect.
* When Download Method is set to Redirect but “Symlink” is ticked, all downloads successfully download, but they are all 1 kB corrupted PDFs.
* When Download Method is set to Forced, the behaviour of the download varies based on the way that it was set:1) When it was set by CSV Upload, I get a 403 error
2) When it was manually set, it downloads successfullyFor example, here’s the File Downloads section for Beach Energy:
File Name – File URL – ID
Beach-Energy-Limited-201603.pdf – https://corporatemonitor.com.au/wp-content/uploads/edd/2016/03/Beach-Energy-Limited-201603.pdf – 0
Beach-Energy-Limited-201603.pdf – https://corporatemonitor.com.au/wp-content/uploads/edd/2016/03/Beach-Energy-Limited-201603.pdf – 2And when I purchase Beach Energy, these are my download options:
https://corporatemonitor.com.au/index.php?eddfile=4731%3A4694%3A0%3A0&ttl=1460134006&file=0&token=(one value) https://corporatemonitor.com.au/index.php?eddfile=4731%3A4694%3A2%3A0&ttl=1460134006&file=2&token=(a different value)(The first one of which, set by CSV Upload, returns 403, the second of which, set manually, successfully downloads).
Thanks for your help,
BillSure thing:
### Begin System Info ###
— Site Info
Site URL: https://smwillsdev.net
Home URL: https://corporatemonitor.com.au
Multisite: No— Hosting Provider
Host: DBH: localhost, SRV: corporatemonitor.com.au
— User Browser
Platform: Windows
Browser Name: Chrome
Browser Version: 40.0.2214.111
User Agent String: Mozilla/5.0 (Windows NT 6.1) App
leWebKit/537.36 (KHTML, like Gec
ko) Chrome/40.0.2214.111 Safari/
537.36— WordPress Configuration
Version: 4.4.2
Language: en_US
Permalink Structure: Default
Active Theme: Responsive Child Theme 1.0.0
Show On Front: page
Page On Front: Welcome! (#21)
Page For Posts: Unset
ABSPATH: /home4/novarse/public_html/
Remote Post: wp_remote_post() works
Table Prefix: Length: 3 Status: Acceptable
WP_DEBUG: Disabled
Memory Limit: 40M
Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, refunded, failed, revoked, abandoned, active, inactive, cancelled, edd_subscription— EDD Configuration
Version: 2.5.9
Upgraded From: 2.3.5
Test Mode: Disabled
Ajax: Enabled
Guest Checkout: Disabled
Symlinks: Disabled
Download Method: Redirect
Currency Code: AUD
Currency Position: before
Decimal Separator: .
Thousands Separator: ,
Upgrades Completed: upgrade_customer_payments_association,upgrade_payment_taxes,upgrade_user_api_keys,remove_refunded_sale_logs— EDD Page Configuration
Checkout: Valid
Checkout Page: https://corporatemonitor.com.au/?page_id=5
Success Page: https://corporatemonitor.com.au/?page_id=6
Failure Page: https://corporatemonitor.com.au/?page_id=7
Downloads Slug: /downloads— EDD Gateway Configuration
Enabled Gateways: PayPal Standard, PayPal Pro
Default Gateway: PayPal Standard— EDD Tax Configuration
Taxes: Enabled
Tax Rate: 10
Display On Checkout: Displayed
Prices Include Tax: Yes
Country / State Rates:
Country: *, State: , Rate:— Must-Use Plugins
— WordPress Active Plugins
A5 Custom Login Page: 2.7 (needs update – 2.8.1)
BackUpWordPress: 3.4.3 (needs update – 3.4.5)
BAW Login/Logout menu: 1.3.3
Column Shortcodes: 0.6.6
Confirm User Registration: 2.1.5
Custom Upload Dir: 3.4.3.1
Display Widgets: 2.05
Easy Digital Downloads: 2.5.9
Easy Digital Downloads – Content Restriction: 2.1.3 (needs update – 2.1.4)
Easy Digital Downloads – CSV Manager: 1.2.8
Easy Digital Downloads – Free Download: 0.2.0
Easy Digital Downloads – PayPal Website Payments Pro and PayPal Express Gateway: 1.3.9 (needs update – 1.4.1)
Easy Digital Downloads – Recurring Payments: 2.3.6 (needs update – 2.4.1)
Easy Digital Downloads – Show Download Links: 1.0
Easy Digital Downloads Search Widget: 1.1.0
Export User Data: 1.2.7 (needs update – 1.3.1)
MailChimp for WordPress Lite: 2.3.12
Menu Items Visibility Control: 0.3.1
Page Restrict: 2.2.6
Responsive Add Ons: 1.0.6
Reveal IDs: 1.4.6.1
Say What?: 1.6
SB Welcome Email Editor: 4.8
W3 Total Cache: 0.9.4.1
WangGuard: 1.6.2
WordPress HTTPS: 3.3.6
WP-Mail-SMTP: 0.9.5
WP Migrate DB: 0.7.2— WordPress Inactive Plugins
Members Only: 0.6.7
Registered Users Only: 1.0.4
Simple Members Only: 1.0.2— Webserver Configuration
PHP Version: 5.4.45
MySQL Version: 5.5.42
Webserver Info: Apache— PHP Configuration
Safe Mode: Disabled
Memory Limit: 256M
Upload Max Size: 64M
Post Max Size: 64M
Upload Max Filesize: 64M
Time Limit: 0
Max Input Vars: 1000
Display Errors: On (1)— PHP Extensions
cURL: Supported
fsockopen: Supported
SOAP Client: Installed
Suhosin: Not Installed— Session Configuration
EDD Use Sessions: Enabled
Session: Enabled
Session Name: PHPSESSID
Cookie Path: /
Save Path: /tmp
Use Cookies: On
Use Only Cookies: On### End System Info ###
Hi Pippin,
No worries, thanks for your continued help with this problem.
There is only one file, presented multiple times to the purchaser because it has been added to the download multiple times. When it’s been added by the CSV uploader, it is not downloadable; when it’s been added manually through the dashboard, it is downloadable.
At the moment, we don’t have access to the server and have to work through the dashboard. Is there a way to check file permissions through the dashboard?
I have recently been trying to add free downloads, and have run into strange problems that may be related:
When I try to download the PDF that I have uploaded, I get a 403 error. When I turn it into a free download (manually, not using CSV importer), “purchase” it and try to download it, I get either a 403 or a 404 error – depending on whether Forced or Redirect downloads are set. (I have checked the Media Manager, and the file is where the link thinks it is).
Is it possible that the problem is broader than the CSV importer, but that it was only identified with the files imported by CSV?
Hi Pippin,
Have you had any luck with this?
Thanks,
BillHi Pippin,
Yes – the former was uploaded using CSV, and doesn’t work, and the latter was set from the admin panel, and does work:
XXX-201601.pdf
https://corporatemonitor.com.au/wp-content/uploads/edd/2016/01/XXX-201601.pdfXXX-201601
https://corporatemonitor.com.au/wp-content/uploads/edd/2016/01/XXX-201601.pdfThanks,
BillAt first it didn’t, because I had the Download Files field set to just the name of the download. But then I tried it again with the full URL of the download file, and it worked.
Thank you for your help, Pippin!
WordPress 4.3.1
EDD 2.4.6
CSV Manager 1.2.8Thanks for your help.
Hi Pippin,
Thanks for your response. Unfortunately not: I get the same error message.