Comments (10)
after the first block there should be a prompt
Press any key to continue:
and then the same screen as if using --dbconfig should appear.
it works for me, using PHP 5.5.9-1ubuntu4.11
i'll see if i can get it upgraded, in the meantime i'd suggest you comment the lines in
https://github.com/Sarjuuk/aowow/blob/master/includes/kernel.php#L107 to #L138 and add an
error_reporting(E_ALL)
Try again and see what it throws at you.
Also, if you are using WIN, the cli in general is a bit wonky (but should still work well enough)
from aowow.
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.
from aowow.
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.
After select a numerical index to use the corresponding array
I press for example 0, then I see Server Host:
and can enter things, but I cannot send any signal for newline. Usually the key "Enter" should send LF to complete the input, but here "Enter" doesn't do anything.
This happens over SSH via putty
from aowow.
When you are using WIN, you also have to make do without this extension.
You inputs aren't handled because the script is trying to use a nonexistent function and hits a critical error. You are then writing stuff, but the script that should read it has already terminated. (or at least i think it does, you haven't provided any error message yet)
Try applying this patch, it probably works
https://gist.github.com/Sarjuuk/b88e45d48ac97b0b579a
from aowow.
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)
from aowow.
hmm, right.
Since i can't reproduce that we'll have to continue that game of guessing :/
Please, try to find out what character is your line terminator:
print_r or echo $keyId from here
it should be 10 (\n), but i half expect it to be 13 (\r) (which i originally ignored, because of WIN, which sends both)
from aowow.
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?
Edit: I'll try handling 13 like 10, I guess that should work.
from aowow.
This works for me, thanks for your help!
from aowow.
np
from aowow.
should be fixed with 00bd33a
finally :x
from aowow.
Related Issues (20)
- Add zones and zone HOT 2
- Page not found when adding video HOT 5
- command HOT 1
- Inquiry: Different page formats? HOT 2
- "Requires <event>" links in tooltips are broken
- Error creature
- Drops item HOT 1
- Something about sounds HOT 1
- erorr icon HOT 2
- erorr spell HOT 1
- Wrong colour for spells in listings
- item_stats HOT 1
- Duplicate columns when you search using the same filter several times HOT 1
- Discrepancy in modified by/modifies listings HOT 1
- Spell effect numbers are offset by 1
- Show auras in creature_template_addon
- List of itemset tags is out of order when the page is loaded from filecache
- Some creature pages are missing HOT 1
- Wrong icon for Dash in the pet talent calculator HOT 1
- Vulnerability Non Self Reflected XSS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aowow.