All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.


Author Topic: None of the downloads work in WordPress 2.5  (Read 9673 times)

0 Members and 1 Guest are viewing this topic.

Offline fish

  • Newbie
  • *
  • Posts: 13
    • View Profile
None of the downloads work in WordPress 2.5
« on: 31 March 2008, 13:53 »
I need help ASAP.  I upgraded to 2.5 last night, and realized ALL of the downloads return 404 errors.  The files, links, etc. display fine.  It's just when I click the download link, nothing happens.  I upgraded the Download Manager plugin to version 1.3, still nothing.  So yes, I have read the other threads, I'm using the most updated version of the plugin, please advise.  Thanks in advance.

Offline fish

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: None of the downloads work in WordPress 2.5
« Reply #1 on: 31 March 2008, 14:14 »
Just an update.  I tried to manually type in the ?dl_id=1 format and it worked, so there must be something wrong with the permalink function.  Yes, I have permalinks turned on, but I'll try to patch this really quickly by switching to those type URLs for the downloads.  I'll take anything I can get at the moment because I rely heavily on this plugin.  Thanks.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: None of the downloads work in WordPress 2.5
« Reply #2 on: 31 March 2008, 14:15 »
Did you try to regenerate permalink? What is the path now to wp-downloadmanager now?

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline fish

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: None of the downloads work in WordPress 2.5
« Reply #3 on: 31 March 2008, 16:03 »
It's /plugins/wp-downloadmanager/ like it was structured in the 1.3 release.

I tried everything...the permalinks just wouldn't work for some reason.  I managed to turn off the rewritten links within download manager itself by editing the plugin.  Everything is working now - so I'd rather not mess with it anymore.  Thanks anyway for trying.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: None of the downloads work in WordPress 2.5
« Reply #4 on: 01 April 2008, 01:21 »
No problem, I will take note of this to see if there is any more users who has the same problem. Thanks =)

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline rmb

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: None of the downloads work in WordPress 2.5
« Reply #5 on: 15 April 2008, 01:00 »
Hellow.

I have the same problem im my site: http://blogcelular.net. The permalinks is not working. I regenerated the permalink structure, but the problem continue.

Can any mind help me? Thanks. Sorry my poor english.

Offline rmb

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: None of the downloads work in WordPress 2.5
« Reply #6 on: 15 April 2008, 01:14 »
Hi. Until the problem is resolved, I made a small modification in the file downloadmanager.php for the WP not to use nice permalinks. It's force the system to not use clean urls. Just comment on the line and copy the code of the other conditions:

Code: [Select]
function download_file_url($file_id) {
$file_id = intval($file_id);
if(get_option('permalink_structure')) {

               // $download_file_url = get_option('siteurl').'/download/'.$file_id.'/';
              $download_file_url =  get_option('siteurl').'?dl_id='.$file_id;
               
} else {
$download_file_url =  get_option('siteurl').'?dl_id='.$file_id;
}
return $download_file_url;
}

Now, downloading is working, but with no clean urls.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: None of the downloads work in WordPress 2.5
« Reply #7 on: 15 April 2008, 02:50 »
What version of WP and DownloadManager?

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline rmb

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: None of the downloads work in WordPress 2.5
« Reply #8 on: 15 April 2008, 12:53 »
The DM was working perfectly with the Wordpress 2.3. The problem started when I upgraded to version 2.5. The version of Download Manager is 1.0.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline rmb

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: None of the downloads work in WordPress 2.5
« Reply #10 on: 20 April 2008, 13:04 »
Thanks. Now is working.

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,294
    • View Profile
Re: None of the downloads work in WordPress 2.5
« Reply #11 on: 21 April 2008, 03:48 »
Glad itworks. :)
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline qwertz1230

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: None of the downloads work in WordPress 2.5
« Reply #12 on: 27 April 2008, 19:32 »
I think that I have a somewhat related problem. My blog's address differs from the wordpress installation directory (I simply followed the instructions on http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory )
The download manager shows up a expected, however it won't allow me to download the files (I get a 404 error).
This is because the download URL is something like "http://example.com/wordpress/download/1" when it should rather be "http://example.com/download/1". To fix this issue I replaced

Code: [Select]
### Function: Download URL
function download_file_url($file_id) {
$file_id = intval($file_id);
if(get_option('permalink_structure')) {
$download_file_url = get_option('siteurl').'/download/'.$file_id.'/';
} else {
$download_file_url =  get_option('siteurl').'?dl_id='.$file_id;
}

return $download_file_url;
}

with

Code: [Select]
### Function: Download URL
function download_file_url($file_id) {
$file_id = intval($file_id);
if(get_option('permalink_structure')) {
$download_file_url = get_option('home').'/download/'.$file_id.'/';
} else {
$download_file_url =  get_option('home').'?dl_id='.$file_id;
}

return $download_file_url;
}

(note the get_option('siteurl') vs get_option('home') )

I don't know if this is the right way to do it, but maybe someone could have a look at this problem.

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,294
    • View Profile
Re: None of the downloads work in WordPress 2.5
« Reply #13 on: 27 April 2008, 23:41 »
siteurl is valid
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: None of the downloads work in WordPress 2.5
« Reply #14 on: 28 April 2008, 00:45 »
hmmm nice one there. I will see if it works for the site_url is the same as home. If it works, I will update this.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline SteveAgl

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: None of the downloads work in WordPress 2.5
« Reply #15 on: 01 May 2008, 08:18 »
The wp-donwloadmanager 1.30 beta works fine except that in rich editor, it add a blank button and with cform II plugin the button is not visible cause the cform go over it.

Il works fin in HTML view

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: None of the downloads work in WordPress 2.5
« Reply #16 on: 01 May 2008, 08:57 »
yeap, I know about that, have no time to add it to the tinymce editor.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.