{"action":"created","issue":{"url":"https://api.github.com/repos/alwex/php-casperjs/issues/28","repository_url":"https://api.github.com/repos/alwex/php-casperjs","labels_url":"https://api.github.com/repos/alwex/php-casperjs/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/alwex/php-casperjs/issues/28/comments","events_url":"https://api.github.com/repos/alwex/php-casperjs/issues/28/events","html_url":"https://github.com/alwex/php-casperjs/issues/28","id":184675133,"number":28,"title":"error when install php-casperjs","user":{"login":"foxpcteam","id":4607640,"avatar_url":"https://avatars.githubusercontent.com/u/4607640?v=3","gravatar_id":"","url":"https://api.github.com/users/foxpcteam","html_url":"https://github.com/foxpcteam","followers_url":"https://api.github.com/users/foxpcteam/followers","following_url":"https://api.github.com/users/foxpcteam/following{/other_user}","gists_url":"https://api.github.com/users/foxpcteam/gists{/gist_id}","starred_url":"https://api.github.com/users/foxpcteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foxpcteam/subscriptions","organizations_url":"https://api.github.com/users/foxpcteam/orgs","repos_url":"https://api.github.com/users/foxpcteam/repos","events_url":"https://api.github.com/users/foxpcteam/events{/privacy}","received_events_url":"https://api.github.com/users/foxpcteam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-23T06:55:31Z","updated_at":"2016-10-23T08:35:03Z","closed_at":null,"body":"Hi,\r\nwhen i try to install the php-casperjs i get this error:\r\n`\r\nFatal error: Call to undefined function Symfony\\Polyfill\\Mbstring\\iconv() in phar:///opt/cpanel/composer/bin/composer/vendor/symfony/polyfill-mbstring/Mbstring.php on line 513`\r\n"},"comment":{"url":"https://api.github.com/repos/alwex/php-casperjs/issues/comments/255576054","html_url":"https://github.com/alwex/php-casperjs/issues/28#issuecomment-255576054","issue_url":"https://api.github.com/repos/alwex/php-casperjs/issues/28","id":255576054,"user":{"login":"foxpcteam","id":4607640,"avatar_url":"https://avatars.githubusercontent.com/u/4607640?v=3","gravatar_id":"","url":"https://api.github.com/users/foxpcteam","html_url":"https://github.com/foxpcteam","followers_url":"https://api.github.com/users/foxpcteam/followers","following_url":"https://api.github.com/users/foxpcteam/following{/other_user}","gists_url":"https://api.github.com/users/foxpcteam/gists{/gist_id}","starred_url":"https://api.github.com/users/foxpcteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foxpcteam/subscriptions","organizations_url":"https://api.github.com/users/foxpcteam/orgs","repos_url":"https://api.github.com/users/foxpcteam/repos","events_url":"https://api.github.com/users/foxpcteam/events{/privacy}","received_events_url":"https://api.github.com/users/foxpcteam/received_events","type":"User","site_admin":false},"created_at":"2016-10-23T08:35:03Z","updated_at":"2016-10-23T08:35:03Z","body":"i found the problem. Mbstring was missing.\r\nnow i have another question. after i have install using composer. i create new php file and add example code:\r\n```\r\n<?php\r\n\r\nuse Browser\\Casper;\r\n\r\n$casper = new Casper();\r\n\r\n// forward options to phantomJS\r\n// for example to ignore ssl errors\r\n$casper->setOptions(array(\r\n    'ignore-ssl-errors' => 'yes'\r\n));\r\n\r\n// navigate to google web page\r\n$casper->start('http://www.google.com');\r\n\r\n// fill the search form and submit it with input's name\r\n$casper->fillForm(\r\n        'form[action=\"/search\"]',\r\n        array(\r\n                'q' => 'search'\r\n        ),\r\n        true);\r\n// run the casper script\r\n$casper->run();\r\n\r\n// check the urls casper get through\r\nvar_dump($casper->getRequestedUrls());\r\n\r\n// need to debug? just check the casper output\r\nvar_dump($casper->getOutput());\r\n```\r\nwhen i try to run the php code i get this error: \"Not supported\"\r\nand in the console i see \"Failed to load resource: the server responded with a status of 501 (Not Implemented)\""}}
{"actor":{"display_login":"foxpcteam"}}