Project

General

Profile

Bug #63144

Updated by Chris topher over 9 years ago

Trying to open the Backend of TYPO3 6.2 6.2.6 with the current PHP 5.6.3 gives this deprecation notice: 

 Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and  
 will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini  
 and use the php://input stream instead. in Unknown on line 0 

 Warning: Cannot modify header information - headers already sent in Unknown on line 0 

 Backtrace: 

 <pre> 
 Uncaught TYPO3 Exception 
 #1: PHP Warning: Cannot modify header information - headers already sent in  
 ...\typo3\sysext\core\Classes\Authentication\AbstractUserAuthentication.php line 478 (More information) 

 TYPO3\CMS\Core\Error\Exception thrown in file 
 ...\typo3\sysext\core\Classes\Error\ErrorHandler.php in line 101. 

 5 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "Cannot modify header information -  
 headers already sent", "...\typo3\sysext\core\Classes\Authentication\AbstractUserAuthentication.php", 478, array) 

 4 header("Expires: 0") 


 ...\typo3\sysext\core\Classes\Authentication\AbstractUserAuthentication.php: 

 00476:     // Set all possible headers that could ensure that the script is not cached on the client-side 
 00477:     if ($this->sendNoCacheHeaders && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_CLI)) { 

 00478:      header('Expires: 0'); 

 00479:      header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); 
 00480:      $cacheControlHeader = 'no-cache, must-revalidate'; 


 3 TYPO3\CMS\Core\Authentication\AbstractUserAuthentication::start() 


 ...\typo3\sysext\core\Classes\Core\Bootstrap.php: 

 00981:     // might trigger code which relies on it. See: #45625 
 00982:     $GLOBALS['BE_USER'] = $backendUser; 

 00983:     $backendUser->start(); 

 00984:     return $this; 
 00985:    } 


 2 TYPO3\CMS\Core\Core\Bootstrap::initializeBackendUser() 


 ...\typo3\init.php: 

 00056:    ->loadExtensionTables(TRUE) 
 00057:    ->initializeSpriteManager() 

 00058:    ->initializeBackendUser() 

 00059:    ->initializeBackendAuthentication() 
 00060:    ->initializeBackendUserMounts() 


 1 require("...\typo3\init.php") 


 ...\typo3\ajax.php: 

 00042: } 
 00043:  

 00044: require __DIR__ . '/init.php'; 

 00045:  
 00046: // Finding the script path from the registry 
 </pre>

Back