XF 1.0 Can't Delete Avatar

wickedstangs

Well-known member
The following error occurred:

unlink(/home/gmntmare/public_html/community/data/avatars/l/0/1.jpg) [function.unlink]: Permission denied
  1. XenForo_Application::handlePhpError()
  2. unlink() in XenForo/Model/Avatar.php at line 384
  3. XenForo_Model_Avatar->deleteAvatar() in XenForo/ControllerPublic/Account.php at line 494
  4. XenForo_ControllerPublic_Account->actionAvatarUpload() in XenForo/FrontController.php at line 310
  5. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  6. XenForo_FrontController->run() in /home/gmntmare/public_html/community/index.php at line 13
 
That is a permission problem on the server. If you have shell access to your server then run these commands to ensure both directories are fully writable:

Code:
chmod -R 777 /home/gmntmare/public_html/community/data/
chmod -R 777 /home/gmntmare/public_html/community/internal_data/

Or many FTP programs can set permissions recursively, but it's slower than a shell command.
 
That is a permission problem on the server. If you have shell access to your server then run these commands to ensure both directories are fully writable:

Code:
chmod -R 777 /home/gmntmare/public_html/community/data/
chmod -R 777 /home/gmntmare/public_html/community/internal_data/

Or many FTP programs can set permissions recursively, but it's slower than a shell command.

Do I make all files and directories?
 
Top Bottom