{"action":"created","issue":{"url":"https://api.github.com/repos/infinity-next/infinity-next/issues/235","repository_url":"https://api.github.com/repos/infinity-next/infinity-next","labels_url":"https://api.github.com/repos/infinity-next/infinity-next/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/infinity-next/infinity-next/issues/235/comments","events_url":"https://api.github.com/repos/infinity-next/infinity-next/issues/235/events","html_url":"https://github.com/infinity-next/infinity-next/issues/235","id":127630903,"number":235,"title":"Captcha not getting created at first load","user":{"login":"8ib","id":16669043,"avatar_url":"https://avatars.githubusercontent.com/u/16669043?v=3","gravatar_id":"","url":"https://api.github.com/users/8ib","html_url":"https://github.com/8ib","followers_url":"https://api.github.com/users/8ib/followers","following_url":"https://api.github.com/users/8ib/following{/other_user}","gists_url":"https://api.github.com/users/8ib/gists{/gist_id}","starred_url":"https://api.github.com/users/8ib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/8ib/subscriptions","organizations_url":"https://api.github.com/users/8ib/orgs","repos_url":"https://api.github.com/users/8ib/repos","events_url":"https://api.github.com/users/8ib/events{/privacy}","received_events_url":"https://api.github.com/users/8ib/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-20T08:39:02Z","updated_at":"2016-02-11T07:00:53Z","closed_at":null,"body":"As soon as you reload the page however, it creates the captcha successfully.\r\n\r\nI think it might have something to do with this, running php artisan migrate produces this error:\r\n  [Illuminate\\Database\\QueryException]\r\n  SQLSTATE[42000]: Syntax error or access violation: 1170 BLOB/TEXT column 'c\r\n  lient_ip' used in key specification without a key length (SQL: alter table\r\n  `captcha` add index `captcha_client_ip_index`(`client_ip`))\r\n\r\n  [PDOException]\r\n  SQLSTATE[42000]: Syntax error or access violation: 1170 BLOB/TEXT column 'c\r\n  lient_ip' used in key specification without a key length\r\n\r\nPage with the captcha on the initial load:\r\nselect * from `captcha` where (`cracked_at` is null and `created_at` >= '2016-01-20 08:06:41') and `client_ip` = 'xxx.xxx.xx.xxx' order by `created_at` desc limit 1\r\n\r\ninsert into `captcha` (`client_ip`, `solution`, `profile`, `hash`, `created_at`) values ('xxx.xxx.xx.xxx', 'KUEG', 'default', '[BINARY DATA]', '2016-01-20 08:11:41')\r\n\r\nIs there anyway to know if it's our configuration that is the problem?\r\n\r\nThanks!!\r\n"},"comment":{"url":"https://api.github.com/repos/infinity-next/infinity-next/issues/comments/182740593","html_url":"https://github.com/infinity-next/infinity-next/issues/235#issuecomment-182740593","issue_url":"https://api.github.com/repos/infinity-next/infinity-next/issues/235","id":182740593,"user":{"login":"jaw-sh","id":9262991,"avatar_url":"https://avatars.githubusercontent.com/u/9262991?v=3","gravatar_id":"","url":"https://api.github.com/users/jaw-sh","html_url":"https://github.com/jaw-sh","followers_url":"https://api.github.com/users/jaw-sh/followers","following_url":"https://api.github.com/users/jaw-sh/following{/other_user}","gists_url":"https://api.github.com/users/jaw-sh/gists{/gist_id}","starred_url":"https://api.github.com/users/jaw-sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaw-sh/subscriptions","organizations_url":"https://api.github.com/users/jaw-sh/orgs","repos_url":"https://api.github.com/users/jaw-sh/repos","events_url":"https://api.github.com/users/jaw-sh/events{/privacy}","received_events_url":"https://api.github.com/users/jaw-sh/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T07:00:53Z","updated_at":"2016-02-11T07:00:53Z","body":"I can reproduce. This is an issue with infinity-next/brennan-captcha though."}}