versionpress / support

Unofficial support for VersionPress. Note that VersionPress is currently not being developed: https://github.com/versionpress/versionpress/issues/1481.
19 stars 7 forks source link

Wordpress/Versionpress doesn't recognize git installation, what do I miss? #105

Closed ArneDBKey2info closed 7 years ago

ArneDBKey2info commented 7 years ago

Wordpress-version: 4.8 I installed the latest GIT on my pc I'm running localhost via XAMPP Versionpress-Version: 4.0-beta

For some reason I think my GIT version doesn't get recognized.

Screenshot: https://i.gyazo.com/2f6c7944602ff8caf2575c2b024a7c77.png

Quick summary

array (
  'wordpress-version' => '4.8',
  'versionpress-version' => '4.0-beta',
  'operating-system' => 'Windows NT AFLUXX-PC 6.3 build 9600 (Windows 8.1 Professional N Edition) i586',
  'php-version' => '7.0.2',
  'php-sapi' => 'apache2handler',
  'git-version' => '',
  'git-full-path' => '',
  'wp-cli-full-path' => 'wp',
)

Git

array (
  'git-binary-as-configured' => 'tmp/git',
  'git-available' => false,
  'output' => 
  array (
    'stdout' => '',
    'stderr' => 'The system cannot find the path specified.',
  ),
  'env-path' => 'C:\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\redist\\intel64\\compiler;C:\\Program Files (x86)\\Razer Chroma SDK\\bin;C:\\Program Files\\Razer Chroma SDK\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Live\\Shared;C:\\Program Files (x86)\\Skype\\Phone\\;C:\\Program Files (x86)\\QuickTime\\QTSystem\\',
)
pavelevap commented 7 years ago

Hi @ArneDBKey2info,

which Git version, from where and how did you install it?

ArneDBKey2info commented 7 years ago

I’m running XAMPP, so I’m not really sure how to check which git version is running on XAMPP I just went to the git website, downloaded the latest version.

From: pavelevap [mailto:notifications@github.com] Sent: vrijdag 4 augustus 2017 13:03 To: versionpress/support Cc: ArneDBKey2info; Mention Subject: Re: [versionpress/support] Wordpress/Versionpress doesn't recognize git installation, what do I miss? (#105)

Hi @ArneDBKey2info https://github.com/arnedbkey2info ,

which Git version, from where and how did you install it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/versionpress/support/issues/105#issuecomment-320221648 , or mute the thread https://github.com/notifications/unsubscribe-auth/AdRfUNtfsHLiZbvmRocktH7f0-jckcQkks5sUvp4gaJpZM4Otj2q . https://github.com/notifications/beacon/AdRfUIPKVNViu8EtpMtMnm0lxRiSsZ1Uks5sUvp4gaJpZM4Otj2q.gif

pavelevap commented 7 years ago

You can check your Git version directly from Terminal. Did you install Git from official site? Did you follow instructions?

pavelevap commented 7 years ago

I am closing this issue for now, please reopen if you have additional info or need further assistance.

HughesProvare commented 6 years ago

Hi @pavelevap,

I am having this same problem.

I installed git from here https://gitforwindows.org/ and am able to see git --version from the command line (2.18.0). However, WordPress does not find git. How do I check if git is on my system PATH?

WordPress does recognize git on my staging server but the issue occurs when I use VersionPress to create a local copy.

Thanks, Harrison

array ( 'wordpress-version' => '4.9.6', 'versionpress-version' => '4.0-beta', 'operating-system' => 'Windows NT RECEPTION-SONY 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) i586', 'php-version' => '7.1.13', 'php-sapi' => 'apache2handler', 'git-version' => '', 'git-full-path' => '', 'wp-cli-full-path' => 'wp', )

array ( 'git-binary-as-configured' => 'git', 'git-available' => false, 'output' => array ( 'stdout' => '', 'stderr' => '\'"git"\' is not recognized as an internal or external command, operable program or batch file.', ), 'env-path' => 'C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\PuTTY\;C:\Program Files\TortoiseGit\bin;C:\Users\Harrison Hughes\AppData\Local\GitHubDesktop\bin;C:\Users\Harrison Hughes\AppData\Local\atom\bin', )

Edit: This issue was resolved after restarting the DesktopServer website. Git was initially installed while the website was open.