ErrorException [ Notice ]: Undefined index: HTTP_REFERER

APPPATH/classes/controller/page.php [ 355 ]

350 	}
351 
352 
353 	public function action_changelang(){
354 
355 		$url = $_SERVER['HTTP_REFERER'];
356 		$ln = "/" . $this->lang . "/";
357 		
358 		$target = ($ln == "/en/") ? "/tr/" : "/en/";
359 
360 
  1. APPPATH/classes/controller/page.php [ 355 ] » Kohana_Core::error_handler(arguments)

  2. {PHP internal call} » Controller_Page->action_changelang()

  3. SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)

  4. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  5. SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)

  6. DOCROOT/index.php [ 111 ] » Kohana_Request->execute()

Environment