XF 1.1 Error importing style

Joe Blow

Well-known member
Hi, I'm running the latest version of Xenfor and I'm getting the following error when trying to import the style xml file:

file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/home/tmp/phpZjnPc5) is not within the allowed path(s): (/home/smd/:/tmp:/var/tmp:/usr/local/lib/php/)
  1. XenForo_Application::handlePhpError()
  2. file_exists() in XenForo/Upload.php at line 99
  3. XenForo_Upload->__construct() in XenForo/Upload.php at line 357
  4. XenForo_Upload::getUploadedFiles() in XenForo/Upload.php at line 374
  5. XenForo_Upload::getUploadedFile() in XenForo/ControllerAdmin/Style.php at line 164
  6. XenForo_ControllerAdmin_Style->actionImport() in XenForo/FrontController.php at line 310
  7. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  8. XenForo_FrontController->run() in /usr/home/smd/domains/myforum.com/public_html/forum/admin.php at line 13
I'm sure this is probably an easy fix but I'm not a techincal guy so I thought I'd ask here.
 
That has to do with your PHP configuration. You need to ask your host or server person to update the open_basedir setting in PHP to include the tmp directory shown in the error (/usr/home/tmp/).
 
Top Bottom