Forum Replies Created
Replaced:
$zip->addFile($file, basename($file));
with:
$filename = explode("/",$file);
$filename = end($filename);
$zip->addFile($file, $filename);
Looks like it is something related with your server, however I tried using google url shortener here http://gerascentre.ca/download/test-2/ and it is working fine in that way.
Looks like the link template Id you are using there is deleted somehow, however I’ve applied another link template and now showing fine or you can use another link template of your choice.
As you are using all files in that package from remote location, full package download as zip will not work, as files are need to be stores in same server before create a zip. So you need to enable individual file download. Also you can add custom title in file list to show the list nicely at front-end and page also will be responsive then.
They are downloading and playing fine for me as you see in my screenshot:
https://www.evernote.com/l/AV3P7zk5J-xAca3T7b3-nSXjZZxU-XC_5DsB/image.png
But filesize issue is not related with my modification, it could be something related with your server settings.
However I was using BetterZip
sorry for the confusion, it was not uploading becuase of dir access permission, anyhow I’ve adjusted permission using the ftp info you gave and working fine now.
As I see, original code is modified in your installation, so the issue could be related to the modification, I can’t be exactly sure where it is.
Sometime server doesn’t support output buffering, it totally depends on your server.
in that case, I need to check that in your installation, please give me temporary site admin login info in a private reply and the package name
ok, I’ve deactivated WP Membership - bbPress add-on, the add-on is for bbPress support actually, as your are using bbPress, you also don’t need that add-on. The add-on using bbPress function and as bbPress is not installed there, so you were seeing the error.
After refresh you need to click save settings button, however I can do that for you, please give me temporary wp-admin login info in a private reply.
Sorry, not clear, please give me your URL to check
it is because pro and free has different versioning system.
it is because of dir access permission, please go to download manager settings, click the refresh button with file browser root field and save settings.
Yes, you can do it using CSV, but add the URL under “files” column. sourceUrl is deprecated.
About the PHP settings , sorry, but I’m not very sure about that, server guys can tell it better 🙂
@brendajfox, I need to check it in your installation, I’m not seeing the issue in my setup.
it was because you didn’t select button image from wpdm settings. Anyhow showing now.
It is just adding access and secret key, the rest is depends on api key permission, if your api key doesn’t have proper authorization, it will not be able to word properly which is already explained in AWS docs. Please check api key permissions.
Ok, It is released now, please update your copy.
Please check if file is not attached or that package is deleted somehow, as I see another one is working fine:
https://www.evernote.com/l/AV2_W7CSFF5Fb5CVSgDK6twrhBJELQcbEeUB/image.png
I know, we address templating system for short-codes and other wpdm templates, but will extend it for email templates too very soon 🙂 .
ops, correct email address is customize@wpdownloadmanager.com
It is certainly something related with servers php timeout settings or something else related with server php settings. It need to be fixed from server site. However, another alternative is, you keep those file in upload dir or any other dir than download-manager-files and attach those file as URL, in that case, when user clicks on download it simply will redirected to that url and start download, as direct download from url is not related with php, it should work fine.
is output buffering disabled in your site?