http-status-code-500

Sending 'application/javascript' MIME t Type Header Causes 500 Error with PHP5 & IIS7

I have a script that works fine on my test server (using IIS6). The script processes an ajax request and sends a response with the following line: header( 'application/javascript' ); But on my live server, this line crashes the page and causes a 500 error. Do I need to allow PHP to send different MIME types in IIS7? If so, how do I do...

Disable caching of errors when using Apache as a proxy

When you having Apache proxying (using either ProxyPass or RewriteRule), if the destination returns an error (500 series status) then Apache won't proxy any more requests for 30 seconds. I know there's a way to disable this by setting that value to 0 seconds, but I can't remember how. I think it involves a semicolon and some options but ...

ASP.NET Ajax ErrorSys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server

Hi, I created an Ajax website in Visual Studio, added a simple page with a textbox and button, when I click the button once everything works, when I click it twice I get the error Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the ...

Javascript Error thrown by AjaxToolKit in .NET only on some machines

We have a button that saves asynchronously using AjaxToolKit/C#/.NET. I'm getting this in my Error Console: Error: [Exception... "'Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from ...

How to stop a 500 .net error created calling the 500 error page

Here's an interesting one for you. I've got my custom 500.aspx setup which is called when a 500 error occurs in my application. The 500.aspx also sends me an email with the error details. I've noticed one small problem. If you attempt an xss attack on the 500.aspx itself, the 500 page is not called. This is obviously some sort of log...

Wordpress Blog :: 500 Internal Server Error

Hi Everbody, I am getting this error message while trying to access a wordpress blog which is installed in a directory. Is this due to .htaccess or something? Any help is appreciated. 'The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmas...

AJAX Call to PHP script gives me 500 Internal Server Error??

Hi I make an AJAX request like so using JQuery: $.ajax({ type: "GET", url: "getvideo.php", data: 'videoid=' + vid, I use firebug to tell me whats going on and it tells me a 500 internal server error has occurred? wtf Here is part of the script concerned: $videoid = $_GET['videoid']; $get = new youtubeAPI(); $get...

cffile upload location

In CF7, can anyone tell me if there's a way around the file being automatically uploaded to the /tmp/ folder before being moved to a destination location I provide? I'm trying to use cffile in a shared server location. I don't have access to the tmp directory, and am hoping to find a work around. <cffile action="upload" destination="...

How can I trace IIS 500 errors thrown by my webservice

Aloha I have deployed a new version of an ASP.NET webservice. The IIS logfile reports an errorcode 500 when this service is being called by a client. My own (test) can use the service without any error. I have enabled errorlogging in my ASP.NET webservice, but no error isbeing logged, which leads me to believe the error is not thrown by...

"500 Internal Server Error" when adding HttpModule in my Website??

I am having a website (developed in ASP.NET 2.0 (C#)) registered with godaddy.com But when I am adding HttpModule in my web.config as follow: <httpModules> <add type="WwwSubDomainModule" name="WwwSubDomainModule" /> </httpModules> but it gives me "500 Internal Server Error". When I removed the above tag then my website is working f...

Find Project by Permalink, 404 if not found

I changed my show controller to find records by their permalink rather than their id (for SEO juiciness). def show @project = Project.find_by_permalink(params[:id]) end But, if I type in localhost:3000/projects/foo (and there is not a project with a foo permalink) I get a 500 server error instead of a 404 not found. Why is this, an...

get some stack trace info into a custom tomcat error 500 page

What is the best way of getting some of the stack trace info, perhaps the Exeception.message onto my custom error 500 page with tomcat, spring, jsf? I'd just like the root cause of the exeception displayed. ...

PHP in_array triggers Internal Server Error

This really shouldn't be this complicated, which suggests I'm doing something wrong, but after checking the docs I can't figure out what. I'm trying to do a simple check to see if the type of a "tag" is in the list of types to be used during this operation, using this piece of code ($level is passed in as a parameter): $filter = $this-...

PHP and OpenID = 500 error

Having a really strange problem. Scenario: PHP5.2.9, IIS7, PHP running as FastCGI. I have a site at test.concentratedtech.com. Click login, enter OpenID credentials, hit "Verify," and immediate 500 error. Click Back, resubmit the page, works fine. An IIS failed request trace reveals two messages, below. These messages seems to general...

500 Server Error: Infinite rewrite loop in Apache 2.2.x with mod_vhost_alias, VirtualDocumentRoot, and mod_rewrite for routing / "pretty" URLs

I'm running into a problem using Apache's mod_vhost_alias directives and mod_rewrite for routing "pretty URLs" with a local development machine. I know that it's possible to do so, because my hosting provider uses a similar configuration and has no problems. However, whenever I try on my local machine, Apache returns a 500 Internal Serve...

Apache 500 error, rewrite engine & ajax

I've been working my way through setting up rewrite rules so I can have shorter and nicer URLs, and I have a very ajaxy site. I've got rewrite rules working on the server, and the pages load with the nice new urls, but it appears all the ajax is now broken. Firefox tells me its a 500 error. Trying to load the page directly, I don't ...

WatiN Button click Http 500 Internal Server Error

Has anyone ever encountered a HTTP 500 internal server error when clicking a button with WatiN? I have tried Click(); ClickNoWait(); FireEvent("blah"); and all of them bring me to a 500 error page. If you click the button normally with a mouse it works as intended. I have seen WatiN work randomly for this button and I think it might b...

WebException when reading a WebException's response stream

I'm communicating with a web server from .Net. The web server throws a 500 internal server error and writes a detailed error message. I'm trying to read the error message that is received from a web exception, but getting another web exception. Why is the second WebException thrown? try { var webResponse = (HttpWebResponse)webRequest...

On PHP Error Apache gives 500 Error

Everytime I get an error in any of my PHP, my local Apache server gives me a 500 Internal Server error. I never seem to have problems with any of my CakePHP projects, but this is plain vanilla PHP and it is really slowing down progress having to guess at the error. ...

PHP header() causes internal server error

For some reason a call to header() causes an internal server error for me. I'm using PHP5 and use mod_rewrite extensively in this script (if that helps). Here is the code (sort of): <?php include 'core/initialize.php'; // Loads the core class (and session manager class) if($_GET['reset'] == 'true') { $core->Session->...