500 internal server error - seen in firebug - php

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

Related

PHP 404 and 406 error while using jquery ajax

I'm going to be mad with this problem. It's really weird that how I can explain.
I was doing jquery GET ajax request to a php file to submit comment in my website. The weird thing is I get the following error for some comments(not all) in the response:
Not Acceptable
An appropriate representation of the requested resource /ajax.php could not be found on this server.
Additionally, a 406 Not Acceptable error was encountered while trying to use an ErrorDocument to handle the request.
The error occurs only for some comments. I get this error while I was testing in live server whether the comment system works or not and checking TTFB in chrome developer tools. In my local server with xampp everything works fine and nice.
Now it's time to say the weirdest thing. The error occurs for comment "sdfgsdfg"; I was just randomly making comments to test and I get the error for this comment.
And I get the same error for another similar comment "sdfkjlkjlsdf". I can not test all comments in the world!
But works fine for comments like "fkjlkjf", "fghsdkjfdksfgh", etc. No one's going to add a comment like "sdfgsdfg" in my website but I need to fix this as well.
One more thing is I get the same error even when I go directly to the ajax page with some comments but for other comments everything works fine. Do not say that I didn't search online for this problem and couldn't find any solution.

WordPress Installation showing error message in iPage Hosting

Hello i am new baby in wordpress CMS.
I bought iPage Hosting for my website.
When i installed wordpress to my hosting , this error message is showing.
Server Response Empty
Your server responded with a blank page, which means your server is having difficulties processing PHP requests. If you are not familiar with this error (potentially a "500" Error), please contact your server admin or web host about possible resolutions.
How can i solve it?
"500" error indicate that it's Internal Server Error.
Cause of HTTP 500 Errors
The 500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the web site's server but the server could not be more specific on what the exact problem is.
Most of the time, "gone wrong" means an issue with the page or site's programming, nothing you have anything to do with.
How To Fix the 500 Internal Server Error
The 500 Internal Server Error is a server-side error, meaning the problem probably isn't with your computer or Internet connection but instead is a problem with the web site's server.
While not probable, it is possible that there's something wrong on your end and we'll look at some things you can try.
Reload the web page. You can do that by clicking the refresh/reload button, pressing F5, or trying the URL again from the address bar.
Even if the 500 Internal Server Error is a problem on the web server, the issue may only be temporary. Trying the page again will often be successful.
Clear your browser's cache. If there's a problem with the cached version of the page you're viewing, it could be causing HTTP 500 issues.
Note: Internal Server Errors are not often caused by caching issues but I have, on occasion, seen the error go away after clearing the cache. It's such an easy and harmless thing to try so don't skip it.
Delete your browser's cookies. Some 500 Internal Server Error issues can be corrected by deleting the cookies associated with the site you're getting the error on.
After removing the cookie(s), restart the browser and try again.
It's not very common, but some servers produce a 500 Internal Server Error when in reality the more appropriate message based on the cause of the problem is 504 Gateway Timeout.
Contact the website directly. Chances are good that the website administrators already know about the 500 error but if you suspect they don't, letting them know helps both you and them (and everyone else).
The best way to find contact information for a website is through a WHOIS search, using the domain name as your search term.
Normally, you need to go into your files and delete the .htaccess. A new one will automatically replace it and it will fix the issue. If you can't find the .htaccess or whichever server file your host is using, contact them to remove it. I hope that helps!
Sure, this is a temporary fix in the Visual Composer plugin itself. However the next update will address it from the Theme side and will not have to rely on Visual Composer adding a check for it.
Locate the following file on your server: /wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php
Unzip and replace it with this file:
http://help.themeva.com/tmp/class-wpb-map.php.zip

Zend: HTTP Error 500

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.

"500 - Internal server error" - Finding out more info?

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.

Apache comes back with nothing

I'm running Apache 2.046 with PHP 5.x and I am experiencing very odd behavior on a CodeIgniter app.
The frustrating thing is that it is not consistent.
Occasionally when I call up my app Apache returns nothing. I mean nada. But then I hit refresh and everything works as expected. Sometimes I have to hit "refreash" several times before the page will load. Other times it comes right up. When I started this post it was happening 80-90% of the time. Now I can't seem to make it happen. But it's been happening for several days so I have confidence in the next couple of page visits I will see it again.
This is on a development box that has very little traffic. When I do a PS I see several HTTP threads running - "top" reveals nothing un-expected (like a runaway process).
When I tail the apache access logs I don't even see a logged request when Apache returns blank. No Apache or PHP errors are being thrown.
I mention codeIgniter mostly because we're using the recommend .htaccess file with Mod Rewrite. So I wasn't sure if that was contributing to the issue. It also does not seem to be a problem with non-codeIgniter apps. That's hard to say with confidence since the issue is so inconsistent.
It does not seem to be client issue as we're seeing this happen from multiple client machines.
I can't tell if this is a server (hardware) issue, Apache issue or coding issue. Maybe it's a memory issue?
Any thoughts?
NEW INFORMATION:
IN the PHP log file I received this:
PHP Fatal error: fatal flex scanner internal error--end of buffer missed in /data/www/coreLib/codeIgniter/system/libraries/Hooks.php on line 226
Blank pages when using CI are usually caused by php errors with error messages suppressed.
Try re-enabling them and reloading.
error_reporting(E_ALL|E_WARNING)
If you suspect your Rewrite rules are the source of the problem, then crank mod_rewrite's logging level up and find out. Otherwise, the fact that everything works normally outside of your app makes this sound like it's a problem with your code or possibly the framework itself.

Categories