-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup not working with cli #34
Comments
after the first block there should be a prompt and then the same screen as if using --dbconfig should appear. i'll see if i can get it upgraded, in the meantime i'd suggest you comment the lines in Also, if you are using WIN, the cli in general is a bit wonky (but should still work well enough) |
I'm using Debian 8. I don't see any prompt appearing, that's why I opened this issue. Will try your suggestion asap. Edit: I think I'm missing readline. |
Yes I'm missing readline extension for PHP. Sorry for taking your time, but you might want to add readline to the list of needed extensions. Another issue is that enter is not working in your cli for me. This happens over SSH via putty |
When you are using WIN, you also have to make do without this extension. Try applying this patch, it probably works |
See above, I'm using Debian. At the time of the last comment I already compiled php with readline support. So the script is working and I get a prompt I just cannot press "Enter". It doesn't seem that the script terminated as I could go back with any signal like "Arrow Down". I won't apply your patch because readline is there and the functions work properly. Output of E_ALL: http://pastebin.com/YX5An7xh (nothing important) |
hmm, right. Since i can't reproduce that we'll have to continue that game of guessing :/ it should be 10 (\n), but i half expect it to be 13 (\r) (which i originally ignored, because of WIN, which sends both) |
Correct, it's 13 (CR). I'm not that much into ascii characters, but isn't it both \r\n in php for new line? |
This works for me, thanks for your help! |
np |
should be fixed with 00bd33a finally :x |
* implement filter #34 (modelId) * thats the actual modelId .. not displayId
I followed your steps until configuration via php cli.
When I issue
php aowow --firstrun
it just shows the following:It seems that user interaction is broken for me, it doesn't work with other commands, too.
Output of
php aowow --dbconfig
for example shows:I'm using PHP 5.6.13.
The text was updated successfully, but these errors were encountered: