Missing API
i am getting this error when trying to signup HTTP ERROR: 505: (URL: http://98.90.34.6/effect/api/user_create)
and this when trying to login as admin HTTP ERROR: 505: (URL: http://98.90.34.6/effect/api/user_login)
i dont have a api directory other than one in the magik directory
it is online so you can test it. I appreciate the help so far.
when i hit those links i get
This XML file does not appear to have any style information associated with it. The document tree is shown below. <Response> <Code>api/xml</Code> <Description>No XML found in request</Description> </Response>
Wow, I have never seen that error code before. The HTTP specification says it means "Version Not Supported", but that isn't coming from the Effect Games code as far as I know. Seems like something is wrong with your server or maybe your Apache web server. That is really weird.
The only thing I can suggest is to check the various error logs on your server and see if anything sheds some light. Definitely check the Apache Error Log (its location varies depending on how / where you installed it, and you might want to locate your httpd.conf file and crank up the LogLevel to "debug", then restart Apache).
Oh, I think I see where that is coming from. The JavaScript library I am using for AJAX calls uses the "505" error code to mean "Could not determine HTTP Status Code". I guess this is some kind of error it cannot read, or there is nothing coming back from the server at all. Definitely check the Effect server error logs as well (/logs/effect/error.log and /logs/effect/debug.log) and see if they contain any useful information.
I'd check permissions too. Make sure you run the /effect/bin/setup_db.pl script which should create all the necessary directories and set permissions (run it as root).
Sorry I couldn't help further, but good luck!
- Joe
On Sun, Dec 18, 2011 at 12:49 PM, hallsofvallhalla < [email protected]
wrote:
i am getting this error when trying to signup HTTP ERROR: 505: (URL: http://98.90.34.6/effect/api/user_create)
and this when trying to login as admin HTTP ERROR: 505: (URL: http://98.90.34.6/effect/api/user_login)
i dont have a api directory other than one in the magik directory
it is online so you can test it. I appreciate the help so far.
Reply to this email directly or view it on GitHub: https://github.com/jhuckaby/Effect-Games/issues/7
well i finally worked through that issue but now when I try to login or register and hit submit i get a logging in box then it goes away. Error console says response.description is undefined.
i have it up permanatly now at http://games.indie-resource.com/effect/
I'm so sorry you are having these problems. I never experienced any of these before.
So, what is happening now is the "user_create" API call is essentially returning "nothing", meaning the server crashed again. You'll have to check the Apache Error Log and Effect Logs for clues. I can't tell anything else from the browser, alas.
/logs/effect/debug.log /logs/effect/error.log
/var/log/httpd/error_log (the location of this log may vary depending on how Apache was installed).
Good luck, and I'm sorry this is so difficult. May I ask what flavor and version of Linux you are installing this on? Did you end up using "yum" to install a stock Apache / ImageMagick or are you using your own custom compiled ones?
- Joe
On Mon, Dec 19, 2011 at 1:40 PM, hallsofvallhalla < [email protected]
wrote:
well i finally worked through that issue but now when I try to login or register and hit submit i get a logging in box then it goes away. Error console says response.description is undefined.
i have it up permanatly now at http://games.indie-resource.com/effect/
Reply to this email directly or view it on GitHub: https://github.com/jhuckaby/Effect-Games/issues/7#issuecomment-3210046
I am using Fedora 16 and I installed everything from the instructions except for Magik from the other error I was getting. But both apache and magic start up fine. I will check the error logs again. I appreciate the help and the value of this software far exceeds the trouble I am having. I figured I would have some issues so I don't mind working through them.
Sorry if I am pestering you :)
Hmm, Fedora should be just fine. How odd.
No worries, I don't mind helping, and I am very glad someone still has interest in the engine :)
I should warn you, however, that I am going on vacation for the holidays this week, so I might not be able to reply to your e-mails until next week.
I find the best way to debug issues like this is to use a "tail" command and watch the live Effect Debug log right as you click the "Create Account" button, so you can see everything the server is trying to do, and hopefully, where it is crashing:
tail -f /logs/effect/debug.log
You could also gzip and send me your log if you wanted, too.
Have a great holiday!
- Joe
On Mon, Dec 19, 2011 at 2:04 PM, hallsofvallhalla < [email protected]
wrote:
I am using Fedora 16 and I installed everything from the instructions except for Magik from the other error I was getting. But both apache and magic start up fine. I will check the error logs again. I appreciate the help and the value of this software far exceeds the trouble I am having. I figured I would have some issues so I don't mind working through them.
Sorry if I am pestering you :)
Reply to this email directly or view it on GitHub: https://github.com/jhuckaby/Effect-Games/issues/7#issuecomment-3210443
do you know if anyone else has gotten this setup and working?
I am wondering if there is some redirection or scripts it is looking for on effect.com. I still see it in places but may not be being used.
None that I know of, but I installed the GitHub fork myself on many vanilla servers (Amazon EC2) to make sure it worked.
There may still be a few instances of the code trying to contact the mothership, but not during simple API calls like "user_create". All that does is write files to the local filesystem in /data/effect/. Maybe check permissions there? The Apache user will need permission to write.
- Joe
On Mon, Dec 19, 2011 at 2:12 PM, hallsofvallhalla < [email protected]
wrote:
do you know if anyone else has gotten this setup and working?
I am wondering if there is some redirection or scripts it is looking for on effect.com. I still see it in places but may not be being used.
Reply to this email directly or view it on GitHub: https://github.com/jhuckaby/Effect-Games/issues/7#issuecomment-3210544
i am a bit lost on this one. The logs show the same as the errors I am getting here. Missing XML. Not sure what it is looking for. should anything show up in /data/effect/users? Is that where it writes? I do have a few folders that lead to a metadata file.
Hmm, not sure. Missing XML would mean that you just hit the URL directly, and didn't send a HTTP POST. Can you gzip and send me the /effect/logs/debug.log file? My direct e-mail address is:
Thanks!
- Joe
On Mon, Dec 19, 2011 at 2:38 PM, hallsofvallhalla < [email protected]
wrote:
i am a bit lost on this one. The logs show the same as the errors I am getting here. Missing XML. Not sure what it is looking for. should anything show up in /data/effect/users? Is that where it writes? I do have a few folders that lead to a metadata file.
Reply to this email directly or view it on GitHub: https://github.com/jhuckaby/Effect-Games/issues/7#issuecomment-3210906