{"action":"created","issue":{"url":"https://api.github.com/repos/twostairs/paperwork/issues/689","repository_url":"https://api.github.com/repos/twostairs/paperwork","labels_url":"https://api.github.com/repos/twostairs/paperwork/issues/689/labels{/name}","comments_url":"https://api.github.com/repos/twostairs/paperwork/issues/689/comments","events_url":"https://api.github.com/repos/twostairs/paperwork/issues/689/events","html_url":"https://github.com/twostairs/paperwork/issues/689","id":181319733,"number":689,"title":"Configuration has not been set correctly. Please try again.","user":{"login":"bu2zhouzhu","id":7880389,"avatar_url":"https://avatars.githubusercontent.com/u/7880389?v=3","gravatar_id":"","url":"https://api.github.com/users/bu2zhouzhu","html_url":"https://github.com/bu2zhouzhu","followers_url":"https://api.github.com/users/bu2zhouzhu/followers","following_url":"https://api.github.com/users/bu2zhouzhu/following{/other_user}","gists_url":"https://api.github.com/users/bu2zhouzhu/gists{/gist_id}","starred_url":"https://api.github.com/users/bu2zhouzhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bu2zhouzhu/subscriptions","organizations_url":"https://api.github.com/users/bu2zhouzhu/orgs","repos_url":"https://api.github.com/users/bu2zhouzhu/repos","events_url":"https://api.github.com/users/bu2zhouzhu/events{/privacy}","received_events_url":"https://api.github.com/users/bu2zhouzhu/received_events","type":"User","site_admin":false},"labels":[{"id":244533529,"url":"https://api.github.com/repos/twostairs/paperwork/labels/pending%20feedback","name":"pending feedback","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-06T04:01:10Z","updated_at":"2016-12-19T09:21:55Z","closed_at":null,"body":"I'm in setup.php setp 1. When I click Next button, the web page shown a red error said 'Configuration has not been set correctly. Please try again.'. Chrome console shown an error said 'Failed to load resource: the server responded with a status of 404 (Not Found)' and 'jquery.js:9664 GET http://192.168.1.3/setup/setup.php 404 (Not Found)'. \n\n```\nsend    @   jquery.js:9664\najax    @   jquery.js:9215\n(anonymous function)    @   setup.php:412\ndispatch    @   jquery.js:4670\nr.handle    @   jquery.js:4338\n```\n\nThe Next button function:\n\n```\n$(\"#next_btn, #next_btn_mobile\").click(function() {\n    if(currentStep == 4) {\n        data = \"\";\n        var checkboxes = $(\"#config_form input[type='checkbox']\");\n        for(var i = 0; i < checkboxes.length; i++) { \n            data += checkboxes[i].name + \"=\";\n            if(checkboxes[i].checked) { \n                data += \"true&\"\n            }else{\n                data += \"false&\"\n            }\n        }\n        $.ajax({\n            type: \"POST\",\n            url: \"setup/setConfig\",\n            data: data\n        }).success(function() {\n            nextStep((currentStep + 1));\n        }).error(function() {\n            $(\"#config_not_set\").show();\n        });\n    }else if(currentStep < 7) {\n        nextStep((currentStep + 1));\n    }\n});\n```\n\nI debuged it, found that though I'm in setp 1, currentStep was 4. It executed ajax post, and ended in error, so finally $(\"#config_not_set\").show(); executed.\n"},"comment":{"url":"https://api.github.com/repos/twostairs/paperwork/issues/comments/267917769","html_url":"https://github.com/twostairs/paperwork/issues/689#issuecomment-267917769","issue_url":"https://api.github.com/repos/twostairs/paperwork/issues/689","id":267917769,"user":{"login":"Liongold","id":3142755,"avatar_url":"https://avatars.githubusercontent.com/u/3142755?v=3","gravatar_id":"","url":"https://api.github.com/users/Liongold","html_url":"https://github.com/Liongold","followers_url":"https://api.github.com/users/Liongold/followers","following_url":"https://api.github.com/users/Liongold/following{/other_user}","gists_url":"https://api.github.com/users/Liongold/gists{/gist_id}","starred_url":"https://api.github.com/users/Liongold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Liongold/subscriptions","organizations_url":"https://api.github.com/users/Liongold/orgs","repos_url":"https://api.github.com/users/Liongold/repos","events_url":"https://api.github.com/users/Liongold/events{/privacy}","received_events_url":"https://api.github.com/users/Liongold/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T09:21:55Z","updated_at":"2016-12-19T09:21:55Z","body":"Can you delete the frontend/app/storage/config/setup file and then rerun the Setup Wizard please? "}}
{"actor":{"display_login":"Liongold"}}