Cannot Access Attachments Upload Path SMF Forum
How to fix “Cannot access attachments upload path” error on SMF Forum? This is an example file upload error message that you may encounter when you try to upload an image or a file as attachment in your SMF Forum website:
An Error Has Occured! Cannot access attachments upload path.
Here are 3 steps to fix that error:
1) Check Path of Attachments Directory
Login as Admin to your SMF forum website, then open the page
Admin Panel ->
Attachments and Avatars and write the full path to the attachments directory, for example:
2) Check Permissions of Attachments Directory
Set the correct permissions to attachments directory. Some hosting providers set the permissions of folders to a too restrictive rule, use chmod to fix the permissions:
chmod 777 /var/www/forum.com/html/forum/attachments
3) Enable File Uploads in PHP.ini
Many hosting providers disable by default the file uploads directive in the PHP.ini configuration file. To enable it, edit the PHP.ini (/etc/php5/fpm/php.ini) and set:
file_uploads = On
Restart the web server.
More Related Posts
- [2016/06/01] Extract and Count Unique IP Addresses ...
- [2016/06/21] Bash: lsb_release: command not found
- [2016/05/25] Debconf-get-selections: Command not fo...
- [2016/05/24] Free Windows Templates For Kimsufi
- [2016/07/02] Run a Bash Script in Background with N...
- [2016/06/15] Bash: make: command not found
- [2016/07/02] Execute Commands After You Exit From a...
- [2016/06/15] Install ImageMagick from Source on Deb...