{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/piwik/issues/7923","labels_url":"https://api.github.com/repos/piwik/piwik/issues/7923/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/7923/comments","events_url":"https://api.github.com/repos/piwik/piwik/issues/7923/events","html_url":"https://github.com/piwik/piwik/issues/7923","id":77268713,"number":7923,"title":"Cannot just run php composer.phar update","user":{"login":"AndersBillLinden","id":1017466,"avatar_url":"https://avatars.githubusercontent.com/u/1017466?v=3","gravatar_id":"","url":"https://api.github.com/users/AndersBillLinden","html_url":"https://github.com/AndersBillLinden","followers_url":"https://api.github.com/users/AndersBillLinden/followers","following_url":"https://api.github.com/users/AndersBillLinden/following{/other_user}","gists_url":"https://api.github.com/users/AndersBillLinden/gists{/gist_id}","starred_url":"https://api.github.com/users/AndersBillLinden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndersBillLinden/subscriptions","organizations_url":"https://api.github.com/users/AndersBillLinden/orgs","repos_url":"https://api.github.com/users/AndersBillLinden/repos","events_url":"https://api.github.com/users/AndersBillLinden/events{/privacy}","received_events_url":"https://api.github.com/users/AndersBillLinden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-17T09:50:26Z","updated_at":"2015-05-19T19:51:21Z","closed_at":null,"body":"In windows 7, using wampserver, I installed composer with the link I had been given in the error page that I get when I try access the `/piwik` web page the first time.\r\n\r\nHere I can read that after the composer installation, I should run `php composer.phar update`.\r\n````This will initialize composer for Piwik and download libraries we use in vendor/* directory.````\r\n\r\nAfter the installation of composer, I confirmed that `C:\\ProgramData\\ComposerSetup\\bin` had been added to the path. Then I launched a console window running the mentioned command.\r\n\r\nExpected result: Composer should be initialized for piwik and libraries should be downloaded.\r\nActual result: I got the error message `Could not open input file: composer.phar`.\r\n\r\nIf I specify the full path to the phar file like this: `php C:\\ProgramData\\ComposerSetup\\bin\\composer.phar update`, composer seem to initialize although the output ends with `'misc' is not recognized as an internal or external command,\r\noperable program or batch file.`.\r\n\r\nIf I am supposed to write the longer command, it could be stated on that error page that the shorter form is insufficient.\r\n\r\nWhat about a line of information about what composer really is? I can read that it is \"not yet installed\". I understand from that sentense that I will require composer in one way or another, but will it do? That however is outside the scope of this issue.\r\n\r\nAnother point of view I am having, also outside the scope of this issue, is that the composer installation could be simplier if it was semi automatic. In that error page, there could be a button which I just can click to install composer. When the hour glass from clicking that button dissapears, the webpage will now read \"composer was successfully installed, now lets check the rest of your system\".\r\n"},"comment":{"url":"https://api.github.com/repos/piwik/piwik/issues/comments/103649695","html_url":"https://github.com/piwik/piwik/issues/7923#issuecomment-103649695","issue_url":"https://api.github.com/repos/piwik/piwik/issues/7923","id":103649695,"user":{"login":"AndersBillLinden","id":1017466,"avatar_url":"https://avatars.githubusercontent.com/u/1017466?v=3","gravatar_id":"","url":"https://api.github.com/users/AndersBillLinden","html_url":"https://github.com/AndersBillLinden","followers_url":"https://api.github.com/users/AndersBillLinden/followers","following_url":"https://api.github.com/users/AndersBillLinden/following{/other_user}","gists_url":"https://api.github.com/users/AndersBillLinden/gists{/gist_id}","starred_url":"https://api.github.com/users/AndersBillLinden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndersBillLinden/subscriptions","organizations_url":"https://api.github.com/users/AndersBillLinden/orgs","repos_url":"https://api.github.com/users/AndersBillLinden/repos","events_url":"https://api.github.com/users/AndersBillLinden/events{/privacy}","received_events_url":"https://api.github.com/users/AndersBillLinden/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T19:51:21Z","updated_at":"2015-05-19T19:51:21Z","body":"I have managed to run piwik by only initiating composer with \"composer update\". The instruction can be found in `core/testMinimumPhpVersion.php`m search for `php composer.phar update`."}}