modmore / Gitify

Command line toolkit to make managing a MODX site in git a lot easier.
MIT License
122 stars 55 forks source link

"Could not open input file: /Volumes/Macintosh" when installing MODX #145

Open studiorepublic opened 8 years ago

studiorepublic commented 8 years ago

Received this error when installing MODX with Gitify 0.11.0. I get a message saying the installation is Done, but when I check the install is incomplete and I get a 503 when I visit /manager.

PHP version is 5.4.42.

Cheers.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28164624-could-not-open-input-file-volumes-macintosh-when-installing-modx?utm_campaign=plugin&utm_content=tracker%2F2783338&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2783338&utm_medium=issues&utm_source=github).
Mark-H commented 8 years ago

That looks weird, what's your home directory?

It's supposed to look for a .gitify directory inside your home directory, but it looks like that isn't right in your case? Op 11 nov. 2015 6:37 p.m. schreef "Studio Republic" < notifications@github.com>:

Received this error when installing MODX with Gitify 0.11.0. I get a message saying the installation is Done, but when I check the install is incomplete and I get a 503 when I visit /manager.

PHP version is 5.4.42.

Cheers.

— Reply to this email directly or view it on GitHub https://github.com/modmore/Gitify/issues/145.

studiorepublic commented 8 years ago

Hey Mark,

The home directory is: /volumes/Macintosh HD2/Dev server/www.XXXX.com

and the output is:

Running MODX Setup... Could not open input file: /Volumes/Macintosh Done! Time: 32,224ms | Memory Usage: 2.28 mb | Peak Memory Usage: 2.31 mb

So it looks like the space in the path is causing a problem. Tried on a couple of versions of PHP and getting the same result...

Mark-H commented 8 years ago

It's a bug where the spaces aren't escaped in the command.