Submitted by Patrick Grote on Mon, 12/26/2005 - 2:40pm.

I use Drupal extensively on several projects since I like it's flexibility and ease of use. The problem with Drupal is that its support sucks. It's a crap shoot whether you can find what you need on the Drupal forums. There are a couple of reasons for this.

The first is that the basic Drupal search sucks. I mean really sucks. You would think that a database based program would have a better search, but Drupal lacks one. You can add a module such as Trip Search to your site and you have power, but the main Drupal site doesn't use this.

The second is that most times you won't get an answer to a support question. I'd say 50% of the time you won't get an answer, 25% of the time someone will tell you to code it yourself and the other 25% of the time you get support. Yes, I know it's open source. Yes, I know no one is paid to provide support. But in the end that doesn't matter.

Anyway, my issue was pretty simple. I found that the internal module for Drupal that handles uploads was broken. Regardless of what you set the upload limit to it wouldn't work. Very frustrating.

I've long since moved past searching Drupal's site for help. I now use Google with the site: constraint. I was able to find a post that showed the Drupal upload issue has been recurring since March 23, 2005. The thread was titled Attachment Maximum Filesize. In it a hint appeared that I needed to change the PHP.INI file, but more importantly the PHP.INI overrides the Drupal settings.

I made the changes, tested the file upload and it failed.

My excellent hosting company, Hosting Matters, has done a fantastic job working with me on past issues, so I didn't hesitate to open a ticket with them. After you enter a ticket, Hosting Matters pulls up their knowledge base to show you articles that may apply to your problem. Usually I don't look at them, but this time the first article listed is what I needed. Titled How do I change the PHP Max Upload file size, the article told me what I needed to know.

As the posted on the Drupal forums said, you need to edit PHP.INI. What he left out was that your HTACCESS file needs a setting as well. Hosting Matters told me what setting and I was set. Drupal upload timeout issue fixed.


read more | add new comment | 2460 reads

Reply