{"action":"created","issue":{"url":"https://api.github.com/repos/leantony/ecommerce/issues/2","labels_url":"https://api.github.com/repos/leantony/ecommerce/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/leantony/ecommerce/issues/2/comments","events_url":"https://api.github.com/repos/leantony/ecommerce/issues/2/events","html_url":"https://github.com/leantony/ecommerce/issues/2","id":84066578,"number":2,"title":"White screen","user":{"login":"cilsilver","id":5936073,"avatar_url":"https://avatars.githubusercontent.com/u/5936073?v=3","gravatar_id":"","url":"https://api.github.com/users/cilsilver","html_url":"https://github.com/cilsilver","followers_url":"https://api.github.com/users/cilsilver/followers","following_url":"https://api.github.com/users/cilsilver/following{/other_user}","gists_url":"https://api.github.com/users/cilsilver/gists{/gist_id}","starred_url":"https://api.github.com/users/cilsilver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cilsilver/subscriptions","organizations_url":"https://api.github.com/users/cilsilver/orgs","repos_url":"https://api.github.com/users/cilsilver/repos","events_url":"https://api.github.com/users/cilsilver/events{/privacy}","received_events_url":"https://api.github.com/users/cilsilver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-02T15:12:49Z","updated_at":"2015-06-20T13:39:51Z","closed_at":null,"body":"Thanks for the usual responses. I tried using the migrations after composer install but showing white screen. with fresh set up\r\nwhat could have been causing this? \r\n\r\nlocalhost:8000 not [white screen]\r\nlocalhost:8000/myaccount [white screen]"},"comment":{"url":"https://api.github.com/repos/leantony/ecommerce/issues/comments/113769813","html_url":"https://github.com/leantony/ecommerce/issues/2#issuecomment-113769813","issue_url":"https://api.github.com/repos/leantony/ecommerce/issues/2","id":113769813,"user":{"login":"leantony","id":7967272,"avatar_url":"https://avatars.githubusercontent.com/u/7967272?v=3","gravatar_id":"","url":"https://api.github.com/users/leantony","html_url":"https://github.com/leantony","followers_url":"https://api.github.com/users/leantony/followers","following_url":"https://api.github.com/users/leantony/following{/other_user}","gists_url":"https://api.github.com/users/leantony/gists{/gist_id}","starred_url":"https://api.github.com/users/leantony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leantony/subscriptions","organizations_url":"https://api.github.com/users/leantony/orgs","repos_url":"https://api.github.com/users/leantony/repos","events_url":"https://api.github.com/users/leantony/events{/privacy}","received_events_url":"https://api.github.com/users/leantony/received_events","type":"User","site_admin":false},"created_at":"2015-06-20T13:39:51Z","updated_at":"2015-06-20T13:39:51Z","body":"Sorry for the late reply. I've just seen this now. The function eq() exists in app\\Antony\\helpers.php. Check if the copy you have has this function:\r\n\r\nif (!function_exists('eq')) {\r\n\r\n    /**\r\n     * Checks if two values are equal\r\n     *\r\n     * @param $value1\r\n     * @param $value2\r\n     * @param bool $strict\r\n     *\r\n     * @return bool\r\n     */\r\n    function eq($value1, $value2, $strict = true)\r\n    {\r\n\r\n        return $strict ? $value1 === $value2 : $value1 == $value2;\r\n    }\r\n}\r\n\r\nIf it doesn't just copy the one above there. By the way, its just a fancy function that checks if two values are equal. In this case, it will check if the request segment at index 1 is equal to 'backend'. So, you can just replace the line eq($request->segment(1), 'backend') ? true : false; \r\nto $request->segment(1) === 'backend' ? true : false;"}}