Demonten Posted May 6, 2011 Report Share Posted May 6, 2011 So I'm just trying to test a tiny little php file I made for my computer science class. Normally, Uniform Server works for me without trouble. Today, however, it gives me this: HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request. I restarted Uniform Server etc. I'm not really sure why that one file won't work seeing as all my other files work Quote Link to comment Share on other sites More sharing options...
BobS Posted May 7, 2011 Report Share Posted May 7, 2011 You could always look at the error.log and access.log files for a bit more info. You'll find them in \UniServer\usr\local\apache2\logs directory.Regards,BobS Quote Link to comment Share on other sites More sharing options...
Demonten Posted May 7, 2011 Author Report Share Posted May 7, 2011 You could always look at the error.log and access.log files for a bit more info. You'll find them in \UniServer\usr\local\apache2\logs directory.Regards,BobSfound my problem, thanks. Quote Link to comment Share on other sites More sharing options...
BobS Posted May 7, 2011 Report Share Posted May 7, 2011 Must be embarrassingly obvious from the logs Quote Link to comment Share on other sites More sharing options...
Demonten Posted May 10, 2011 Author Report Share Posted May 10, 2011 Yeah, I did look at logs, but apparently the logs I looked at before I posted were for something different and I didn't think to look at those because I didn't think it would be logging my script errors. It turns out I was missing a curly bracket near the end of my script. I had a bunch of nested if statements and miscalculated just how many ending brackets I needed and that was the only issue. Instead of it returning the usual syntax error stuff it gave me HTTP 500 and brought me to this conundrum. thanks for the help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.