• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Avatar Problem

#1
Hello, everytime i try to change avatar i get this error, can someone help me?
Server Error
tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/admin/web/energygaming.it/public_html:/home/admin/tmp)

  1. XenForo_Application::handlePhpError()
  2. tempnam() in XenForo/Model/Avatar.php at line 169
  3. XenForo_Model_Avatar->applyAvatar() in XenForo/Model/Avatar.php at line 69
  4. XenForo_Model_Avatar->uploadAvatar() in XenForo/ControllerAdmin/User.php at line 566
  5. XenForo_ControllerAdmin_User->actionAvatarUpload() in XenForo/FrontController.php at line 347
  6. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  7. XenForo_FrontController->run() in /home/admin/web/energygaming.it/public_html/forum/admin.php at line 13
 

Brogan

XenForo moderator
Staff member
#2
That's a restriction on the server - "open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)"

Contact your host to have that restriction removed.