Hello,
I have users uploading files using IMCE. For some reason, *some* *times* when you try to download a file by visiting:
http://mywebsite.org/files/userxx/some-file.zip
Drupal gives a "page not found" error.
I don't know why it does that. I've looked all over the admin pages and I can't find anything that looks relevant. I thought that Drupal had a setting to have Drupal manage file downloads instead of doing directly from Apache, but for the life of me I cannot find this anywhere.
Help?
Daniel.
Daniel,
I have seen some issues with files having special characters such as apostrophes. May not be the case here, but worth a quick look maybe.
Mark
On Jan 18, 2010, at 3:13 AM, Daniel Carrera wrote:
Hello,
I have users uploading files using IMCE. For some reason, *some* *times* when you try to download a file by visiting:
http://mywebsite.org/files/userxx/some-file.zip
Drupal gives a "page not found" error.
I don't know why it does that. I've looked all over the admin pages and I can't find anything that looks relevant. I thought that Drupal had a setting to have Drupal manage file downloads instead of doing directly from Apache, but for the life of me I cannot find this anywhere.
Help?
Daniel.
[ Drupal support list | http://lists.drupal.org/ ]
Is an underscore a special character? That's the only non-alphabetic character in the file name: Monda_Linux.zip
Mark Shropshire wrote:
Daniel,
I have seen some issues with files having special characters such as apostrophes. May not be the case here, but worth a quick look maybe.
Mark
On Jan 18, 2010, at 3:13 AM, Daniel Carrera wrote:
Hello,
I have users uploading files using IMCE. For some reason, *some* *times* when you try to download a file by visiting:
http://mywebsite.org/files/userxx/some-file.zip
Drupal gives a "page not found" error.
I don't know why it does that. I've looked all over the admin pages and I can't find anything that looks relevant. I thought that Drupal had a setting to have Drupal manage file downloads instead of doing directly from Apache, but for the life of me I cannot find this anywhere.
Help?
Daniel.
[ Drupal support list | http://lists.drupal.org/ ]
I am using special loosely and just meant non alphanumeric characters except for the file extension "."
Try renaming the file, MondaLinux.zip and see if it works ok. That will at least indicate if the underscore is an issue or not.
Thanks! Mark
On Jan 18, 2010, at 12:53 PM, Daniel Carrera wrote:
Is an underscore a special character? That's the only non-alphabetic character in the file name: Monda_Linux.zip
Ok, I'll try without underscores. It might take me a while to know if removing the underscore makes any difference because the problem is intermitent. I need to wait for the website to act up again and then test the file without underscores.
Thanks.
Mark Shropshire wrote:
I am using special loosely and just meant non alphanumeric characters except for the file extension "."
Try renaming the file, MondaLinux.zip and see if it works ok. That will at least indicate if the underscore is an issue or not.
Thanks! Mark
On Jan 18, 2010, at 12:53 PM, Daniel Carrera wrote:
Is an underscore a special character? That's the only non-alphabetic character in the file name: Monda_Linux.zip
Ok, the problem persists even if the file name has no underscores, or any non-alphabetic characters.
Problem Description: Some times (seemingly randomly) when a user tries to download a file you get a "Page Not Found" error.
How does Drupal know when a URL is an alias for a page and when it's a file? It looks like Drupal is mistakenly believing that this particular URL is a page to display and tries to display it.
Any ideas?
Daniel.
Daniel Carrera wrote:
Ok, I'll try without underscores. It might take me a while to know if removing the underscore makes any difference because the problem is intermitent. I need to wait for the website to act up again and then test the file without underscores.
Thanks.
Mark Shropshire wrote:
I am using special loosely and just meant non alphanumeric characters except for the file extension "."
Try renaming the file, MondaLinux.zip and see if it works ok. That will at least indicate if the underscore is an issue or not.
Thanks! Mark
On Jan 18, 2010, at 12:53 PM, Daniel Carrera wrote:
Is an underscore a special character? That's the only non-alphabetic character in the file name: Monda_Linux.zip