Warning (512): SQL Error: 1062: Duplicate entry '' for key 'PRIMARY' [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 = "INSERT INTO `onlines` (`time`, `ip`) VALUES (1328494129, '38.107.179.216')" $error = "1062: Duplicate entry '' for key 'PRIMARY'" $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::create() - CORE/cake/libs/model/datasources/dbo_source.php, line 752 Model::save() - CORE/cake/libs/model/model.php, line 1342 AppController::beforeRender() - APP/app_controller.php, line 61 Controller::render() - CORE/cake/libs/controller/controller.php, line 867 ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 458 ErrorHandler::missingController() - CORE/cake/libs/error.php, line 206 Object::dispatchMethod() - CORE/cake/libs/object.php, line 112 ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125 Object::cakeError() - CORE/cake/libs/object.php, line 201 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 125 [main] - APP/webroot/index.php, line 83
Query: INSERT INTO `onlines` (`time`, `ip`) VALUES (1328494129, '38.107.179.216')
Notice (8): Undefined property: View::$Javascript [APP/views/layouts/default.ctp, line 18]Code | Contextecho $scripts_for_layout;echo $this->Javascript->link('jquery-1.4.2.min.js');$___viewFn = "/home/mast3rc/public_html/app/views/layouts/default.ctp" $___dataForView = array( "controller" => "PostsController", "controllerName" => "Posts", "title" => "Missing Controller", "content_for_layout" => "<h2>Missing Controller</h2> <p class="error"> <strong>Error: </strong> <em>PostsController</em> could not be found.</p> <p class="error"> <strong>Error: </strong> Create the class <em>PostsController</em> below in file: app/controllers/posts_controller.php</p> <pre> <?php class PostsController extends AppController { var $name = 'Posts'; } ?> </pre> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/views/errors/missing_controller.ctp</p>", "scripts_for_layout" => "", "title_for_layout" => "Errors", "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 = NULL FormHelper::$params = array FormHelper::$action = NULL FormHelper::$plugin = NULL FormHelper::$data = array 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 = NULL HtmlHelper::$params = array HtmlHelper::$action = NULL HtmlHelper::$plugin = NULL HtmlHelper::$data = array 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 = "b87092b679f431432d35e4d88f99c66c" SessionHelper::$path = "/" SessionHelper::$lastError = NULL SessionHelper::$security = "medium" SessionHelper::$time = 1328494129 SessionHelper::$sessionTime = 1328506129 SessionHelper::$cookieLifeTime = false SessionHelper::$watchKeys = array SessionHelper::$id = NULL SessionHelper::$host = NULL SessionHelper::$timeout = NULL SessionHelper::$base = "" SessionHelper::$webroot = "/" SessionHelper::$here = NULL SessionHelper::$params = array SessionHelper::$action = NULL SessionHelper::$data = array SessionHelper::$theme = NULL SessionHelper::$plugin = NULL ) $loadHelpers = false $cached = true $loadedHelpers = array() $controller = "PostsController" $controllerName = "Posts" $title = "Missing Controller" $content_for_layout = "<h2>Missing Controller</h2> <p class="error"> <strong>Error: </strong> <em>PostsController</em> could not be found.</p> <p class="error"> <strong>Error: </strong> Create the class <em>PostsController</em> below in file: app/controllers/posts_controller.php</p> <pre> <?php class PostsController extends AppController { var $name = 'Posts'; } ?> </pre> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/views/errors/missing_controller.ctp</p>" $scripts_for_layout = "" $title_for_layout = "Errors" $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 = NULL FormHelper::$params = array FormHelper::$action = NULL FormHelper::$plugin = NULL FormHelper::$data = array 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 = NULL HtmlHelper::$params = array HtmlHelper::$action = NULL HtmlHelper::$plugin = NULL HtmlHelper::$data = array 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 = "b87092b679f431432d35e4d88f99c66c" SessionHelper::$path = "/" SessionHelper::$lastError = NULL SessionHelper::$security = "medium" SessionHelper::$time = 1328494129 SessionHelper::$sessionTime = 1328506129 SessionHelper::$cookieLifeTime = false SessionHelper::$watchKeys = array SessionHelper::$id = NULL SessionHelper::$host = NULL SessionHelper::$timeout = NULL SessionHelper::$base = "" SessionHelper::$webroot = "/" SessionHelper::$here = NULL SessionHelper::$params = array SessionHelper::$action = NULL SessionHelper::$data = array SessionHelper::$theme = NULL SessionHelper::$plugin = NULLinclude - APP/views/layouts/default.ctp, line 18 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 ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 458 ErrorHandler::missingController() - CORE/cake/libs/error.php, line 206 Object::dispatchMethod() - CORE/cake/libs/object.php, line 112 ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125 Object::cakeError() - CORE/cake/libs/object.php, line 201 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 125 [main] - APP/webroot/index.php, line 83