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

XF 1.2 Register Globals Errors

#1
I get constant register_globals erros in my server error log, probably because I'm running the latest version of PHP. Is this fixed in 1.3? Or is there a way to fix it in 1.2?
 

Mike

XenForo developer
Staff member
#2
XF doesn't use register_globals -- as a matter of fact, the text doesn't even exist in XF. What is the specific error?
 
#3
Here's one of them:

PHP:
ErrorException: Fatal Error: Directive 'register_globals' is no longer available in PHP - Unknown:0
Generated By: Unknown Account, Today at 12:54
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
  ["url"] => string(63) "http://www.example.com/showthread.php?goto=newpost&t=24290"
  ["_GET"] => array(2) {
    ["goto"] => string(7) "newpost"
    ["t"] => string(5) "24290"
  }
  ["_POST"] => array(0) {
  }
}
I get all sorts of these on all sorts of different pages.

I just changed a setting, curious if it was in my php.ini though still not sure why it would show in the XF logs.