pocketarc / git-deploy-php

git-deploy-php is a simple php-based tool that deploys your Git repositories to FTP/SFTP servers, and keeps them updated automatically.
http://brunodebarros.github.io/git-deploy-php
291 stars 45 forks source link

Error: File 'deploy.ini' is not a valid .ini file. #53

Closed cfehnel closed 9 years ago

cfehnel commented 9 years ago

When trying to run the script for the first time, I receive this error message.

pocketarc commented 9 years ago

Did you create a deploy.ini file? By default, when you run git-deploy, it looks for a deploy.ini file on the same folder where git-deploy is. Check out the documentation in the README file for details on the options.

cfehnel commented 9 years ago

Yes, there is a deploy.ini file in the same folder as git-deploy. I think I figured out the issue, though. It doesn't appear to like the password in the deploy.ini file, perhaps because it has a exclamation point. If I remove the password and type it in the command line everything seems to work properly.

pocketarc commented 9 years ago

Ah, the problem is that it should've been wrapped around quotes, it's an issue with parse_ini_file().

Characters ?{}|&~![()^" must not be used anywhere in the key and have a special meaning in the value.

cfehnel commented 9 years ago

Awesome. That works great. Thanks for the help.