WordPress.org

Ready to get started?Download WordPress

Forums

DOWNLOAD MONITOR: Downloads Not Working - Have tried EVERYTHING! (30 posts)

  1. dodiesa
    Member
    Posted 3 years ago #

    Hi all!

    I have been successfully using Download Monitor for a year now and LOVE it! I switched my blog to a new server and downloads are not working. To make sure downloads worked smoothly, I basically installed the plugin and imported the downloads through the ADD DIRECTORY option within Download Monitor.

    THIS IS WHAT I HAVE DONE TO TRY TO FIX IT

    I have checked all permissions and they are all set to 755, including downloads.php and download_monitor.php.

    I have resaved all permalinks

    I have checked my .htaccess file and it's all good

    I have pasted the actual URL of the download into my browser and it works

    I've pasted the actual URL of my uploads folder into my browser and it brings up a blank page as expected

    Please help! I feel like I've tried everything!

    Any help would be MUCH appreciated!

    Dodie

  2. Mike
    Member
    Posted 3 years ago #

    Navigate to download.php directly; do you get a 404 or anything?

    If you don't get a 404, there are some debugging bits commented out in download.php - if you uncomment that block of code it may reveal the problem.

  3. dodiesa
    Member
    Posted 3 years ago #

    I do get a 404 error.

  4. dodiesa
    Member
    Posted 3 years ago #

    Sorry! Misread your post!

    When I navigate to the download.php file I DO NOT get a 404 error message but I do get a "Download Does Not Exist" message.

    How do I go about 'uncommenting' the code?

  5. Mike
    Member
    Posted 3 years ago #

    Line 484 of download.php, remove

    /* Debug

    and the closing */

    This should output some paths when you click a download - may reveal the problem.

  6. dodiesa
    Member
    Posted 3 years ago #

    I deleted the portion of code, but when I try to download it still generates a 404 error. When I navigate to the download.php file, I get the same "Download Does Not Exist" message.

  7. davethered
    Member
    Posted 3 years ago #

    I'm having the same problem. The download url is missing the wordpress install directory, it's starting one directory below:
    http:////wp-content/downloads/myfile.zip
    instead of:
    http:///wordpress/wp-content/downloads/myfile.zip

  8. Mike
    Member
    Posted 3 years ago #

    Hmm, okay added to bug list.

  9. davethered
    Member
    Posted 3 years ago #

    I will try to do some more troubleshooting into this, for example I haven't turned off other plugins to check for conflicts. In an effort to get back up and running, I removed the Download Moniter, and then deleted the tables. When I reinstalled the same problem presented itself, but now I am using the "force download" option on each download - which is working (although it didn't prior to the removal).

  10. dodiesa
    Member
    Posted 3 years ago #

    I'll try selecting 'Force Download'. Thanks, Dave!

    Other than that, are there any other options? If it has been added to the bug list, what does that mean? Should I stop using Download Monitor?

  11. dodiesa
    Member
    Posted 3 years ago #

    'FORCE DOWNLOAD' works!!!

    Now I have another question: there is a disclaimer when you select 'FORCE DOWNLOAD' that it may not work for some people. If I have my files all hosted myself, how much of a problem is this? If it's going to be a major problem I don't want to use it! If it's really not an issue, I'll go ahead and select 'Force Download' for all my files.

    BTW, is there a faster way to do it than to edit each download individually?

  12. dodiesa
    Member
    Posted 3 years ago #

    I used the bulk action and it has changed all the downloads to 'Force Download'. Sweet =)

    Still wondering about the stability and reliability of using the 'Force Download' function!

  13. davethered
    Member
    Posted 3 years ago #

    I wouldn't stop using it if it's working now. I don't know what the 'force download' option really does, but I don't think your going to risk breaking anything. It appeared to me that it would probably only work if you were hosting your files. I would imagine it either works on your server or it doesn't. Time will tell ;-)

    I just wish I knew at what point in time it stopped working for me, it would be far easier to troubleshoot.

  14. Mike
    Member
    Posted 3 years ago #

    Just to clear up the matter, FORCE DOWNLOAD basically uses PHP to read the file and output it, rather than just redirecting to the file. This allows us to make sure files are downloaded instead of opened.

    The disclaimer is there because it does not work with remotely hosted files; files on your own server are fine.

    About the bugs your both getting; Im guessing its down to using bloginfo url or wpurl - I need to investigate more, and make sure that fixing yours does not break anyone elses.

    ---

    Dave it would be useful to know which part of download.php is serving the broken links - if you could debug then that would be grand. To do so you can put comments in download.php.

    On line 629 if you put :

    echo 1; exit;

    and try a non-forced download then it will tell me that the bottom part is redirecting to the download if you get a blank screen with '1' on it. The code in question has a 'get_bloginfo('url')' in it and could be the cause.

  15. dodiesa
    Member
    Posted 3 years ago #

    Today I had a different problem involving my php.ini file (it was missing and had a minimum upload of 10mb). I fixed that problem and all my 'FORCE DOWNLOAD' files no longer worked. They could be downloaded, but could not be unzipped on a PC computer after downloading.

    But, all the files I had added yesterday suddenly worked! Even though I did not have force download selected.

    I have now gone through all my downloads and uploaded the files again for each download and everything is back to normal.

    I have no clue why or how, but am very pleased that it's all ok and thought you might like a bit more info on the problem.

    Thanks,
    Dodie

  16. davethered
    Member
    Posted 3 years ago #

    Sorry for the delay on the debug - yes, it returned the 1.

  17. davethered
    Member
    Posted 3 years ago #

    FYI - I have been uploading the files separately with an ftp client, placing it into my own directory, then using "Edit File URL" to locate the file. When I upload the file directly using the Download Monitor, placing it into the default directory, the download link works correctly.

  18. jholliday
    Member
    Posted 3 years ago #

    I tried the FORCE DOWNLOAD option. Although the file now downloads successfully, the download count is not incremented.

    Also - I'm using the [download_page] directive, and I'm trying to place custom fields on the page. I've added a custom field to my download as "license", with some text in the value. I've also added a "include_fields" custom field to my downloads page. But nothing shows up.

  19. Siouxsie
    Member
    Posted 3 years ago #

    Anyone getting the temp folder missing error on uploading a new download?

  20. Siouxsie
    Member
    Posted 3 years ago #

    Related to the bug above, I am geting

    Warning: realpath() [function.realpath]:

    Errors only on new or updated urls.

    all the old downloads work for some reason but as I went to rename a document and change the name I am now getting this error.

  21. Siouxsie
    Member
    Posted 3 years ago #

    SOLVED: it was a php.ini setting (base dir) and missing tmp dir.

  22. davethered
    Member
    Posted 3 years ago #

    BTW, this is no longer a problem for me since the recent patch(s). Thanks!

  23. wendymerritt
    Member
    Posted 3 years ago #

    I love the concept of this plugin. I don't see another download manager that even comes close to what this plugin offers. Kudos.

    My downloads only produce 404 errors (I checked it again before posting this and now I am getting "Download path is invalid"). When I navigate to the download.php I get a "Download path is invalid!" I checked Line 484 of download.php but it does not contain /* Debug.

    I have now spent three days trying to get this plugin to function correctly. What do I try next?

  24. wendymerritt
    Member
    Posted 3 years ago #

    double posted.

  25. wendymerritt
    Member
    Posted 3 years ago #

    Hallelujah! I got it fixed. The .htaccess file had an error in it. I'm guessing it is absolutely necessary to spell everything correctly! Silly fingers.

    Many thanks to @jolley_small for his help is trying to fix the problem. I was impressed with his level of customer service...especially on a free plugin. You're awesome!

  26. DjSk-MoOn.com
    Member
    Posted 3 years ago #

    Greetings, I'm desperate few days trying to fix the problem
    download monitor, though I'm not an error: 404 The page you requested was not
    found ..!

    Hopefully I can help more than anything I saw that and could wendymerritt @
    solve it!

  27. cgvector
    Member
    Posted 3 years ago #

    hi dear i was facing same problem in my website http://www.cgvector.com i just do this that i download again plugin copy download.php and upload in my ftp directory now plugin work fine

  28. cliffdavies
    Member
    Posted 3 years ago #

    I am doing something wrong, I'm sure, but cannot find my error. When I click on the file to download it, I am just directed back to the Downloads Page. http://cliffdavies.com/downloads is the download Page. The process I followed:
    Uploaded the zip file and then expanded
    Activated the plug-in
    Uploaded files that I want visitors to download from my computer to the /wp-content/filedown folder
    Created a new Page in WordPress and named it 'Downloads' with a Permalink of http://cliffdavies/downloads
    Added the [download_page] to the Download page
    In Download Monitor - Categories - added 2 categories
    In Download Monitor - Configuration - Custom Download URL - added http://cliffdavies.com/mydownloads as the custom URL
    Saved changes and then re-saved Permalinks under Settings
    Edited the .htaccess file to inlude the following lines:
    ptions +FollowSymLinks

    RewriteEngine on
    RewriteRule ^mydownloads/([^/]+)$ wp-content/plugins/download-monitor/download.php?id=$1 [L]

    I then used the Add Directory feature of Download monitor and pointed to the relative path - the files were found.
    That's pretty much it as far as I can remember. I was really hoping for some simple step-by-step instructions for a very simple and basic install with a download page as I am a complete newbie at this WordPress stuff and struggle to understand the more technical pieces (for example, it took me 2 days to figure out what a 'relative path' was).
    I would appreciate any help as I am at the point where I am about to just forget about having a Downloads page altogether :(.

  29. robert_b
    Member
    Posted 3 years ago #

    hello guys. I was also in same problem. Now I just get an alternative here
    http://wordpress.org/extend/plugins/download-manager/

  30. wendymerritt
    Member
    Posted 3 years ago #

    This was working at one time. Alas, now it is not...

    This is what my current error looks like

    http://ow.ly/i/cFJV

    I also noticed that the link in the address bar is not the link set in the Download Monitor:

    http://myurl.com/wp-content/uploads/downloads/2011/06/filename.pdf?doing_wp_cron

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic