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

file_get_contents Error after moving to another Webspace



Hello. I moved my forum to another Webspace but if i enter my url i do get the following and not sure what to do?! Thanks for your help
Server Error

file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration
  1. XenForo_Application::handlePhpError() in sloganizer/Controller.php at line 22
  2. sloganizer_Controller::data() in sloganizer/Controller.php at line 10
  3. sloganizer_Controller->actionIndex() in EWRporta/ControllerPublic/Index.php at line 9
  4. EWRporta_ControllerPublic_Index->actionIndex() in XenForo/FrontController.php at line 310
  5. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  6. XenForo_FrontController->run() in /var/www/html/myweb/html/brainlag-Forum/index.php at line 13


XenForo moderator
Staff member
A quick Google returns this:

"you need to contact your webmaster or hosting provider to enable allow_url_fopen and allow_url_include in the PHP server configuration."


I was in panic and did not tooked a look into Google. Excuse me :oops:
My Webhoster allows me to set this by myself and its done and working now. Thank you for the quick help