{"action":"created","issue":{"url":"https://api.github.com/repos/concrete5/concrete5-5.7.0/issues/2310","labels_url":"https://api.github.com/repos/concrete5/concrete5-5.7.0/issues/2310/labels{/name}","comments_url":"https://api.github.com/repos/concrete5/concrete5-5.7.0/issues/2310/comments","events_url":"https://api.github.com/repos/concrete5/concrete5-5.7.0/issues/2310/events","html_url":"https://github.com/concrete5/concrete5-5.7.0/issues/2310","id":70034552,"number":2310,"title":"Database error when installing sample content","user":{"login":"lehik","id":1448739,"avatar_url":"https://avatars.githubusercontent.com/u/1448739?v=3","gravatar_id":"","url":"https://api.github.com/users/lehik","html_url":"https://github.com/lehik","followers_url":"https://api.github.com/users/lehik/followers","following_url":"https://api.github.com/users/lehik/following{/other_user}","gists_url":"https://api.github.com/users/lehik/gists{/gist_id}","starred_url":"https://api.github.com/users/lehik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lehik/subscriptions","organizations_url":"https://api.github.com/users/lehik/orgs","repos_url":"https://api.github.com/users/lehik/repos","events_url":"https://api.github.com/users/lehik/events{/privacy}","received_events_url":"https://api.github.com/users/lehik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-22T06:18:30Z","updated_at":"2015-04-22T07:28:02Z","closed_at":null,"body":"With certain (default on CentOS?) MySQL settings Concrete 5.7.4 RC1 install fails here:\r\n\r\n\\concrete\\src\\Package\\StartingPointPackage.php line 434\r\n$u->saveConfig('NEWSFLOW_LAST_VIEWED', 'FIRSTRUN');\r\n\r\nAn exception occurred while executing 'INSERT INTO ConfigStore (cfKey, cfValue, uID) VALUES (?, ?, ?)' with params [\"NEWSFLOW_LAST_VIEWED\", \"FIRSTRUN\", null]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'uID' cannot be null.\r\n\r\nCould the uID just default to 1 in this case?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/concrete5/concrete5-5.7.0/issues/comments/95059771","html_url":"https://github.com/concrete5/concrete5-5.7.0/issues/2310#issuecomment-95059771","issue_url":"https://api.github.com/repos/concrete5/concrete5-5.7.0/issues/2310","id":95059771,"user":{"login":"mlocati","id":928116,"avatar_url":"https://avatars.githubusercontent.com/u/928116?v=3","gravatar_id":"","url":"https://api.github.com/users/mlocati","html_url":"https://github.com/mlocati","followers_url":"https://api.github.com/users/mlocati/followers","following_url":"https://api.github.com/users/mlocati/following{/other_user}","gists_url":"https://api.github.com/users/mlocati/gists{/gist_id}","starred_url":"https://api.github.com/users/mlocati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlocati/subscriptions","organizations_url":"https://api.github.com/users/mlocati/orgs","repos_url":"https://api.github.com/users/mlocati/repos","events_url":"https://api.github.com/users/mlocati/events{/privacy}","received_events_url":"https://api.github.com/users/mlocati/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T07:28:02Z","updated_at":"2015-04-22T07:28:02Z","body":"It's quite strange. The definition of User::saveConfig is this:\r\n```php\r\npublic function saveConfig($cfKey, $cfValue)\r\n{\r\n    $db = Loader::db();\r\n    $db->Replace('ConfigStore', array('cfKey' => $cfKey, 'cfValue' => $cfValue, 'uID' => $this->getUserID()), array('cfKey', 'uID'), true);\r\n}\r\n```\r\nso, adding a third parameter (your `1`) shouldn't have any affect...\r\n"}}