Newspost
Thursday 1 January 1970, 1:00.
Laat een reactie achter:
Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`s.`' LIMIT 1' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 684]Code | Context$out = null;if ($error) {trigger_error('<span style="color:Red;text-align:left"><b>' . __('SQL Error:', true) . "</b> {$this->error}</span>", E_USER_WARNING);$sql = "SELECT `Newspost`.`id`, `Newspost`.`title`, `Newspost`.`body`, `Newspost`.`firstparagraph`, `Newspost`.`created`, `Newspost`.`modified` FROM `newsposts` AS `Newspost` WHERE title = 'Jochanan op foto'`s.`' LIMIT 1" $error = "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`s.`' LIMIT 1' at line 1" $out = nullDboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684 DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266 DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410 DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 823 Model::find() - CORE/cake/libs/model/model.php, line 2127 NewspostController::view() - APP/controllers/newspost_controller.php, line 36 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 83
Query: SELECT `Newspost`.`id`, `Newspost`.`title`, `Newspost`.`body`, `Newspost`.`firstparagraph`, `Newspost`.`created`, `Newspost`.`modified` FROM `newsposts` AS `Newspost` WHERE title = 'Jochanan op foto'`s.`' LIMIT 1
Query: SELECT `Newspost`.`id`, `Newspost`.`title`, `Newspost`.`body`, `Newspost`.`firstparagraph`, `Newspost`.`created`, `Newspost`.`modified` FROM `newsposts` AS `Newspost` WHERE title = 'Jochanan op foto'`s.`' LIMIT 1
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/g47082/jochanan.nl/HTML/cake/libs/debugger.php:673) [APP/views/layouts/default.ctp, line 1]Code | Context$___viewFn = "/var/www/g47082/jochanan.nl/HTML/app/views/layouts/default.ctp" $___dataForView = array( "newspost" => false, "title_for_layout" => "Newspost", "content_for_layout" => "<p><i>Thursday 1 January 1970, 1:00.</i></p><p></p><p><a href="/newspost">Terug</a></p><hr /> <h2>Laat een reactie achter:</h2> <p> <form action="" method="post"> <table style='width: 60%;'> <tr> <td style='width: 40%'>Naam</td> <td style='width: 60%'><input name='data[Reaction][name]' style='width: 100%' /></td> </tr> <tr> <td>E-mail</td> <td><input name='data[Reaction][email]' style='width: 100%' /></td> </tr> <tr> <td>Website (optioneel)</td> <td><input name='data[Reaction][url]' style='width: 100%' /></td> </tr> <tr> <td colspan='2'>Bericht<br /> <textarea style='width: 100%' name='data[Reaction][body]' rows='8' cols='40'></textarea></td> </tr> <tr> <td><input type='submit' value='bericht plaatsen' /></td> </tr> </table> </form> </p>", "scripts_for_layout" => "", "form" => FormHelper FormHelper::$helpers = array FormHelper::$fieldset = array FormHelper::$__options = array FormHelper::$fields = array FormHelper::$requestType = NULL FormHelper::$defaultModel = NULL FormHelper::$_inputDefaults = array FormHelper::$base = "/" FormHelper::$webroot = "/" FormHelper::$theme = NULL FormHelper::$here = "//newspost/view/Jochanan op foto\'s." FormHelper::$params = array FormHelper::$action = "view" FormHelper::$plugin = NULL FormHelper::$data = NULL FormHelper::$namedArgs = NULL FormHelper::$argSeparator = NULL FormHelper::$validationErrors = NULL FormHelper::$tags = array FormHelper::$__tainted = NULL FormHelper::$__cleaned = NULL FormHelper::$Html = HtmlHelper object, "html" => HtmlHelper HtmlHelper::$tags = array HtmlHelper::$_crumbs = array HtmlHelper::$__includedScripts = array HtmlHelper::$_scriptBlockOptions = array HtmlHelper::$__docTypes = array HtmlHelper::$helpers = NULL HtmlHelper::$base = "/" HtmlHelper::$webroot = "/" HtmlHelper::$theme = NULL HtmlHelper::$here = "//newspost/view/Jochanan op foto\'s." HtmlHelper::$params = array HtmlHelper::$action = "view" HtmlHelper::$plugin = NULL HtmlHelper::$data = NULL HtmlHelper::$namedArgs = NULL HtmlHelper::$argSeparator = NULL HtmlHelper::$validationErrors = NULL HtmlHelper::$__tainted = NULL HtmlHelper::$__cleaned = NULL, "session" => SessionHelper SessionHelper::$helpers = array SessionHelper::$__active = true SessionHelper::$valid = false SessionHelper::$error = false SessionHelper::$_userAgent = "b260d25dcd9c138e5e653c28eaa88044" SessionHelper::$path = "/" SessionHelper::$lastError = NULL SessionHelper::$security = "medium" SessionHelper::$time = 1328433674 SessionHelper::$sessionTime = 1328445674 SessionHelper::$cookieLifeTime = false SessionHelper::$watchKeys = array SessionHelper::$id = NULL SessionHelper::$host = NULL SessionHelper::$timeout = NULL SessionHelper::$base = "/" SessionHelper::$webroot = "/" SessionHelper::$here = "//newspost/view/Jochanan op foto\'s." SessionHelper::$params = array SessionHelper::$action = "view" SessionHelper::$data = NULL SessionHelper::$theme = NULL SessionHelper::$plugin = NULL ) $loadHelpers = false $cached = true $loadedHelpers = array() $newspost = false $title_for_layout = "Newspost" $content_for_layout = "<p><i>Thursday 1 January 1970, 1:00.</i></p><p></p><p><a href="/newspost">Terug</a></p><hr /> <h2>Laat een reactie achter:</h2> <p> <form action="" method="post"> <table style='width: 60%;'> <tr> <td style='width: 40%'>Naam</td> <td style='width: 60%'><input name='data[Reaction][name]' style='width: 100%' /></td> </tr> <tr> <td>E-mail</td> <td><input name='data[Reaction][email]' style='width: 100%' /></td> </tr> <tr> <td>Website (optioneel)</td> <td><input name='data[Reaction][url]' style='width: 100%' /></td> </tr> <tr> <td colspan='2'>Bericht<br /> <textarea style='width: 100%' name='data[Reaction][body]' rows='8' cols='40'></textarea></td> </tr> <tr> <td><input type='submit' value='bericht plaatsen' /></td> </tr> </table> </form> </p>" $scripts_for_layout = "" $form = FormHelper FormHelper::$helpers = array FormHelper::$fieldset = array FormHelper::$__options = array FormHelper::$fields = array FormHelper::$requestType = NULL FormHelper::$defaultModel = NULL FormHelper::$_inputDefaults = array FormHelper::$base = "/" FormHelper::$webroot = "/" FormHelper::$theme = NULL FormHelper::$here = "//newspost/view/Jochanan op foto\'s." FormHelper::$params = array FormHelper::$action = "view" FormHelper::$plugin = NULL FormHelper::$data = NULL FormHelper::$namedArgs = NULL FormHelper::$argSeparator = NULL FormHelper::$validationErrors = NULL FormHelper::$tags = array FormHelper::$__tainted = NULL FormHelper::$__cleaned = NULL FormHelper::$Html = HtmlHelper object $html = HtmlHelper HtmlHelper::$tags = array HtmlHelper::$_crumbs = array HtmlHelper::$__includedScripts = array HtmlHelper::$_scriptBlockOptions = array HtmlHelper::$__docTypes = array HtmlHelper::$helpers = NULL HtmlHelper::$base = "/" HtmlHelper::$webroot = "/" HtmlHelper::$theme = NULL HtmlHelper::$here = "//newspost/view/Jochanan op foto\'s." HtmlHelper::$params = array HtmlHelper::$action = "view" HtmlHelper::$plugin = NULL HtmlHelper::$data = NULL HtmlHelper::$namedArgs = NULL HtmlHelper::$argSeparator = NULL HtmlHelper::$validationErrors = NULL HtmlHelper::$__tainted = NULL HtmlHelper::$__cleaned = NULL $session = SessionHelper SessionHelper::$helpers = array SessionHelper::$__active = true SessionHelper::$valid = false SessionHelper::$error = false SessionHelper::$_userAgent = "b260d25dcd9c138e5e653c28eaa88044" SessionHelper::$path = "/" SessionHelper::$lastError = NULL SessionHelper::$security = "medium" SessionHelper::$time = 1328433674 SessionHelper::$sessionTime = 1328445674 SessionHelper::$cookieLifeTime = false SessionHelper::$watchKeys = array SessionHelper::$id = NULL SessionHelper::$host = NULL SessionHelper::$timeout = NULL SessionHelper::$base = "/" SessionHelper::$webroot = "/" SessionHelper::$here = "//newspost/view/Jochanan op foto\'s." SessionHelper::$params = array SessionHelper::$action = "view" SessionHelper::$data = NULL SessionHelper::$theme = NULL SessionHelper::$plugin = NULLheader - [internal], line ?? include - APP/views/layouts/default.ctp, line 1 View::_render() - CORE/cake/libs/view/view.php, line 724 View::renderLayout() - CORE/cake/libs/view/view.php, line 482 View::render() - CORE/cake/libs/view/view.php, line 428 Controller::render() - CORE/cake/libs/controller/controller.php, line 913 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 83