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.
Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file?
This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
Watch the video to learn how one can deal with PST file corruption issue with an outstanding Kernel for Outlook PST Repair Tool easily. Using this tool, non-technical users can swiftly perform the repair process to restore their essential data witho…