{"action":"created","issue":{"url":"https://api.github.com/repos/datawrapper/datawrapper/issues/161","labels_url":"https://api.github.com/repos/datawrapper/datawrapper/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/datawrapper/datawrapper/issues/161/comments","events_url":"https://api.github.com/repos/datawrapper/datawrapper/issues/161/events","html_url":"https://github.com/datawrapper/datawrapper/issues/161","id":81365692,"number":161,"title":"Getting This Error at visualizing step during chart creation","user":{"login":"sadiq7753","id":6847455,"avatar_url":"https://avatars.githubusercontent.com/u/6847455?v=3","gravatar_id":"","url":"https://api.github.com/users/sadiq7753","html_url":"https://github.com/sadiq7753","followers_url":"https://api.github.com/users/sadiq7753/followers","following_url":"https://api.github.com/users/sadiq7753/following{/other_user}","gists_url":"https://api.github.com/users/sadiq7753/gists{/gist_id}","starred_url":"https://api.github.com/users/sadiq7753/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadiq7753/subscriptions","organizations_url":"https://api.github.com/users/sadiq7753/orgs","repos_url":"https://api.github.com/users/sadiq7753/repos","events_url":"https://api.github.com/users/sadiq7753/events{/privacy}","received_events_url":"https://api.github.com/users/sadiq7753/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-27T09:24:23Z","updated_at":"2015-07-01T07:52:54Z","closed_at":null,"body":"Slim Application Error\r\nThe application could not run because of the following error:\r\n\r\nDetails\r\n\r\nCode: 2\r\nMessage: file_get_contents(../wwwdefault.js): failed to open stream: No such file or directory\r\nFile: C:\\MAMP\\htdocs\\datawrapper\\lib\\utils\\chart_content.php\r\nLine: 218\r\nTrace\r\n\r\n#0 [internal function]: Slim::handleErrors(2, 'file_get_conten...', 'C:\\\\MAMP\\\\htdocs\\\\...', 218, Array)\r\n#1 C:\\MAMP\\htdocs\\datawrapper\\lib\\utils\\chart_content.php(218): file_get_contents('../wwwdefault.j...')\r\n#2 C:\\MAMP\\htdocs\\datawrapper\\lib\\utils\\chart_content.php(105): get_theme_js(false, Array)\r\n#3 C:\\MAMP\\htdocs\\datawrapper\\controller\\chart\\preview.php(13): get_chart_content(Object(Chart), Object(User), NULL, NULL)\r\n#4 [internal function]: {closure}(Object(User), Object(Chart))\r\n#5 C:\\MAMP\\htdocs\\datawrapper\\lib\\utils\\check_chart.php(8): call_user_func(Object(Closure), Object(User), Object(Chart))\r\n#6 C:\\MAMP\\htdocs\\datawrapper\\controller\\chart\\preview.php(18): check_chart_readable('lryAy', Object(Closure))\r\n#7 [internal function]: {closure}('lryAy')\r\n#8 C:\\MAMP\\htdocs\\datawrapper\\vendor\\Slim\\Route.php(395): call_user_func_array(Object(Closure), Array)\r\n#9 C:\\MAMP\\htdocs\\datawrapper\\vendor\\Slim\\Slim.php(1145): Slim_Route->dispatch()\r\n#10 C:\\MAMP\\htdocs\\datawrapper\\vendor\\Slim\\Middleware\\Flash.php(84): Slim->call()\r\n#11 C:\\MAMP\\htdocs\\datawrapper\\vendor\\Slim\\Middleware\\MethodOverride.php(91): Slim_Middleware_Flash->call()\r\n#12 C:\\MAMP\\htdocs\\datawrapper\\vendor\\Slim\\Middleware\\PrettyExceptions.php(65): Slim_Middleware_MethodOverride->call()\r\n#13 C:\\MAMP\\htdocs\\datawrapper\\vendor\\Slim\\Slim.php(1097): Slim_Middleware_PrettyExceptions->call()\r\n#14 C:\\MAMP\\htdocs\\datawrapper\\www\\index.php(94): Slim->run()\r\n#15 {main}"},"comment":{"url":"https://api.github.com/repos/datawrapper/datawrapper/issues/comments/117516021","html_url":"https://github.com/datawrapper/datawrapper/issues/161#issuecomment-117516021","issue_url":"https://api.github.com/repos/datawrapper/datawrapper/issues/161","id":117516021,"user":{"login":"arahayrabedian","id":5959895,"avatar_url":"https://avatars.githubusercontent.com/u/5959895?v=3","gravatar_id":"","url":"https://api.github.com/users/arahayrabedian","html_url":"https://github.com/arahayrabedian","followers_url":"https://api.github.com/users/arahayrabedian/followers","following_url":"https://api.github.com/users/arahayrabedian/following{/other_user}","gists_url":"https://api.github.com/users/arahayrabedian/gists{/gist_id}","starred_url":"https://api.github.com/users/arahayrabedian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arahayrabedian/subscriptions","organizations_url":"https://api.github.com/users/arahayrabedian/orgs","repos_url":"https://api.github.com/users/arahayrabedian/repos","events_url":"https://api.github.com/users/arahayrabedian/events{/privacy}","received_events_url":"https://api.github.com/users/arahayrabedian/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T07:52:54Z","updated_at":"2015-07-01T07:52:54Z","body":"hey guys, make sure that your domains are set correctly, I had faced this issue previously, make sure that your 'charts' subdomain is configured and accessible from your datawrapper application server (do a lookup and curl)\r\n\r\nthat's what i had when i faced that issue at the time."}}