I'm getting a hell of a lot of 500 internal server errors on our web application right now. I've been off three weeks and just came back and genuinely have no idea what has caused it.
The problem I've got is that this error message is so vague, I have no idea what exactly is going on!
On our old server it used to display proper PHP messages, on this one (IIS on Server 2008) it just says that and nothing else.
Is there anyway to find out what's going on? I can't even find the error logs (just some W3C log that logs all requests) or anything like that!
Thank you
http://support.microsoft.com/kb/311766 Not specifically your version, but it may help.
Related
I have a problem, that I can't figure out.
I made an app with CakePHP that work's perfectly fine on localhost (via XAMPP), but has strange issue on live server.
There are (obviously) many controllers in my app, and the problem is - some of them are not rendering any view whatsoever! They output neither proper content, nor any error data - simply empty page (no layout either). About half of them is working fine, and the other half - not.
I have no idea what might that be, so that's why I'm here - any ideas?
This may be an old thread, but I'm replying this as a possible answer and solutions for other people who might have the same problem.
What you should do when you have this problem is to check the error log inside /app/tmp/logs. From there you can perhaps see what cause the error.
Make sure your debug is set to 2 for all error reporting to be displayed if any. The debug can be turned on in app/Config/core.php.
From the logs, you might see the error is with the maximum memory reached. For this, you'll need to fix your code and optimize it.
Please check if your URL rewriting mod_rewrite is enabled in your live server. Some server might require you to set it up yourself.
A piece of advice, always check with your error logs, it always show you what the problems are and can help you solving it easier.
From what I know, a 500 error means the server has problems accessing the given URL. I have a domain, let's call it domain.org, and I have a bunch of AJAX calls on this domain which used to work, but they stopped working all of a sudden this morning without my changing anything in the code.
That was weird but what is weirder, when I turned on Firebug, it keeps showing a 500 error for the URL I'm currently visiting.
So if I have the URL www.subdomain.domain.org/product.php open, it will show NetworkError: 500 Internal Server Error - http://subdomain.domain.org/product.php which is very confusing for me, since the page opens properly, all the content is there, and there are no other errors reported on the page.
So, I assume some server setting was changed - can someone tell me what this setting could be, or which configuration files to look at? The site is built on Smarty and, again, there were no 500 error yesterday, they just appeared today for no apparent reason. Should I just contact my hosting provider with this?
I know the question is broad, but I don't know how to specify it further since this goes against my understanding of this error.
This class of codes are used to indicate a server failure while processing the request. It means error in your server side coding . If everything is perfect at your coding side then please visit below link
http://www.cyberciti.biz/tips/http-error-500-internal-server-for-php-pages-and-solution.html
I'm getting this error on a magento installation in the server logs and the site is throwing a 500 internal server error.
I haven't changed anything that I think could cause this. Does anyone know where this error is coming from and what the fix is?
Is anything mentionned in the server logs? I am willing to bet you will find your true answer there.
500 is an internal fatal error, usually permission related, but other issues can also cause this, improperly configured vhosts, improperly configured .htaccess ... and many others. Check your server logs you should have more details on the error.
What were you trying to do that caused this error to appear? I get it from time to time when I do something labor intensive. For example, I'm in the process of importing around 10k products into my Magento build and got this same error message. In this particular instance, I'd be willing to be it has to do with either your Apache timeout setting or your PHP max_execution_time setting or a combination of both. It could also possibly be your PHP max_input_time setting if your like me and trying to upload/parse a giant CSV file full of products. Don't be discouraged either if you have to play with the numbers little bit to find the right combo to make things work. I have to try 3-4 times to get mine to run successfully.
A couple posts that helped me out were Script timed out before returning headers: php.fastcgi and http://www.magentocommerce.com/boards/viewthread/74021/#t213112.
I have a cakephp (1.3.10) application that seemed to work fine, but recently I get an error page that shows "No data received" in chrome. This happens randomly on various pages and in various browsers. I googled the the error and found only unrelated information.
I haven't changed any code or upgraded the framework nor did we do any updates on the server that is running the application.
What could be the cause of this?
Is this code related, if so where can I start looking to solve it in cakephp?
Any help will be greatly appreciated.
"No data received" could mean
A problem in the web server
a PHP script dying due toe a fatal error (although I think a 200 should always be emitted... depends on the server configuration I guess).
If you're using Apache, check out its error.log first. Chances are there is something enlightening in there.
If that doesn't help, you could try logging your PHP errors into a file.
If it happens randomly it might be an issue with your script running into an timeout or using too much memory. I had this issue once with wordpress as wordpress sometimes calls an internal "cronjob" on page views from time to time.
I have one Zend project developed on my server (where everything works fine), but when i transferred it to production server I keep getting the Internal Server Error message and the website won't work.
What I can't understand is that the admin part (www.mysite.com/admin) works fine, but when I try to access website (www.mysite.com) it interrupts.
I know this is a really long shot, but does anyone have any suggestion where to start searching for the cause of the problem?
Up to my knowledge the 500 error is generated when the web server does not get an answer back from scripting engine in time, which would be PHP in case of Zend. It would be interesting to know if you receive this error immediately or after some time. If it takes some time your application may be hanging in a loop.