This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed.
Note: This is for Drupal 6.13.
Step 1: Go to Administer > Site configuration > File System
Step 2: In the Temporary directory section of the page change it to a file location in drupal such as "sites/default/files/tmp". I usually change it to the corresponding directory the File system path has to avoid file location problems.
Therefore if the File system path is: sites/default/files then i change the Temporary directory to sites/default/files/tmp.
tmp is the folder i created with the directory for which i would like tempoary files to go to. You can name it to any other suitable name if you wish other than tmp.
Step 3: Click Save Configuration.
Now for the easy path.
Step 4: Go to Administer : User management > User settings.
Step 5: Look for the section heading "Pictures". Under picture support select the radio button "Enabled". Some other fields should now appear.
Step 6: Under the heading "Picture image path:" input into the field sites/default/files/pictures. Make sure and create a folder named "pictures" in the directory or you'll get an error saying that it does not exist.
Step 7. Click Save Configuration and your done.
Step 8: Enjoy.
Make sure the upload module is enabled. it is disabled by default. Go to Administer : Site building > Modules. Go to Core options heading and look for "upload", select the enable checkbox and then click Save configuration. Your done.
If you are having any problems with directorys remember use the File system path as your guide which is located at Administer > Site configuration > File System.
If you are having problems with other file types go to Administer : Site configuration > File Uploads and make sure that the file type you want to upload is in the "default permitted file extension" and the user meets all other requirements of the file upload settings..
Trying to make the world a more convenient place one article at a time.
Experts Exchange is a tech solutions provider where users receive personalized tech help from vetted certified professionals. These industry professionals also write and publish relevant articles on our site.
Ask questions about what you read
If you have a question about something within an article, you can receive help directly from the article author. Experts Exchange article authors are available to answer questions and further the discussion.