Actions
Bug #61051
closedMySQL Error "Column 'IP' cannot be null" on CLI while getting php errors
Start date:
2014-08-19
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
If you execute a command via CLI (here via the ExtbaseCommandController) and getting some php errors while execution HTML errors will be printed on the CLI.
<table class="typo3-debug" border="0" cellpadding="0" cellspacing="0" bgcolor="white" style="border:0px; margin-top:3px; margin-bottom:3px;"> <tr> <td style="background-color:#bbbbbb; font-family: verdana,arial; font-weight: bold; font-size: 10px;">exec_INSERTquery</td> </tr> <tr> <td> <table border="1" cellpadding="1" cellspacing="0" bgcolor="white"><tr> <td valign="top"><font face="Verdana,Arial" size="1">caller</font></td> <td><font face="Verdana,Arial" size="1" color="red">TYPO3\CMS\Core\Database\DatabaseConnection::exec_INSERTquery<br /></font></td> </tr><tr> <td valign="top"><font face="Verdana,Arial" size="1">ERROR</font></td> <td><font face="Verdana,Arial" size="1" color="red">Column 'IP' cannot be null<br /></font></td> </tr><tr> <td valign="top"><font face="Verdana,Arial" size="1">lastBuiltQuery</font></td> <td><font face="Verdana,Arial" size="1" color="red">INSERT INTO sys_log (userid,type,action,error,details_nr,details,IP,tstamp,workspace) VALUES ('5','5','0','1','0','Core: Error handler (BE): PHP Warning: ************'). in ********** line 768',NULL,'1408436630','0')<br /></font></td> </tr><tr> <td valign="top"><font face="Verdana,Arial" size="1">debug_backtrace</font></td> <td><font face="Verdana,Arial" size="1" color="red">include(le/typo3_src/typo3/sysext/extbase/Scripts/CommandLineLauncher.php),le/typo3_src/typo3/cli_dispatch.phpsh#53 // TYPO3\CMS\Extbase\Core\Bootstrap->run#21 // TYPO3\CMS\Extbase\Core\Bootstrap->handleRequest#184 // TYPO3\CMS\Extbase\Mvc\Cli\RequestHandler->handleRequest#195 // TYPO3\CMS\Extbase\Mvc\Dispatcher->dispatch#61 // TYPO3\CMS\Extbase\Mvc\Controller\CommandController->processRequest#69 // TYPO3\CMS\Extbase\Mvc\Controller\CommandController->callCommandMethod#112 // call_user_func_array#211 // **********->*****# // ********->*****#178 // **********->******#485 // DOMDocument->schemaValidate#768 // TYPO3\CMS\Core\Error\ErrorHandler->handleError# // TYPO3\CMS\Core\Error\ErrorHandler->writeLog#137 // TYPO3\CMS\Core\Database\DatabaseConnection->exec_INSERTquery#190 // TYPO3\CMS\Core\Database\DatabaseConnection->debug#202<br /></font></td> </tr></table> </td> </tr> </table>
Actions