Questions tagged [http-status-code-500]

Use for questions where the server throws 500 Internal Server Error and the server is not in your control. For servers in your control, look through the server logs to pinpoint the actual problem

The 500 Internal Server Error is a catch-all error code that can mean literally anything. Instead, look through server logs, etc and try to pinpoint the actual problem and tag it accordingly.

The relevant section of the HTTP protocol:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

More information about codes returned from IIS 7:
http://support.microsoft.com/kb/943891

745 questions
0
votes
0 answers

PHP--Error HTTP 500 -- when i try to connect to mysql database

when i try to connect to the database i get error http 500 an i tried it on a local database it works fine when i uploaded it online nothing works if i change my localhost i get on of three errors 1-http 500 2-connection failed access denied for…
0
votes
1 answer

getting 500 internal server error in different environment

In one environment I am sending the web service request then I am getting 200 status. If I send the same web service request from another environment, then I am getting status like 500 internal server error. May i know the reasons for getting…
0
votes
1 answer

Laravel hosting error 500

I have a laravel project. When I host it in a subdomain and add the file .htaccess to redirect to the public folder, I get the HTTP ERROR 500. First I thought that the error was from the host, but I changed the project and it worked, so the problem…
Nuno
  • 61
  • 1
  • 10
0
votes
1 answer

Add custom static 404 and 500 error pages to a Rails app, and test they work?

How do you add custom static 404 and 500 error pages to a Rails app, and then test, with rspec, for example, that they are working?
0
votes
1 answer

laravel 5.4 not working on subdomain

Steps I followed till now: create sub-domain. uploaded project files of public inside public_html/subdomain-name/ create a folder subdomain-name in root upload every files of laravel project except public folder inside subdomain-name folder change…
VijayRana
  • 953
  • 1
  • 13
  • 38
0
votes
0 answers

All PHP files give 500 error unless set to "-rw-r-----"

I noticed a weird error. All PHP files on my shared hosting fail with 500 error, even empty ones. After changing their permissions from "-rw-rw-r--" to "-rw-r-----", they started working right away. What is this happening? P.S. Error message from…
Sergey
  • 47,222
  • 25
  • 87
  • 129
0
votes
2 answers

Jquery get the custom response content when I do an ajax and return an error

I am doing a classing ajax ger request: $.get('/ajax').done(function(data){ //handle data on success }).fail(function(jqXHR,status,errorThrown){ if(jqXHR.status===500){ //Handle response there } }) I want somehow to be able to get…
Dimitrios Desyllas
  • 9,082
  • 15
  • 74
  • 164
0
votes
0 answers

how to send empty file to server using android VolleyMultipart

I have a problem while Updating my profile with empty profile photo. I am getting 500 error while sending request. here is my postman data below is my Code hashMap.put("categoryId", String.valueOf(myAdvertisementModelObject.getCategoryId())); …
0
votes
0 answers

500 internal error webhook python

I am getting 500 error when calling webhook. I am new to python. The error is coming on line data = json.loads(result.decode('utf-8')) from __future__ import print_function from future.standard_library import…
Sunny
  • 14,522
  • 15
  • 84
  • 129
0
votes
3 answers

Solve 500 response Laravel (Uncaught UnexpectedValueException: Laravel.log)

I have a problem with my (new/clean) Laravel (tried v5.2 and v5.5) application on Centos 7. It shows a 500 error when i visited the URL of the application with no error. I checked the log file of apache (/etc/httpd/logs/error-log.log) what contained…
CodeNinja
  • 836
  • 1
  • 15
  • 38
0
votes
1 answer

Error 500 internal server error when sending post http request using Guzzle

I am trying to send an post http request using Guzzle but i got error 500 Internal server error ServerException in RequestException.php line 113: Server error: `POST https://domainname/api/v1/user/register` resulted in a `500 Internal Server…
Q8root
  • 1,243
  • 3
  • 25
  • 48
0
votes
1 answer

IIS 7.5 set redirect error page but return http 500.22 error

Have two sites on IIS 7.5 server Each site has the same error page, one operating and one inoperative. Both have similar web.config structures and there are no significant differences in server settings.Both pipelines are equally integrated with the…
H22
  • 69
  • 1
  • 5
0
votes
1 answer

Communicating with an external service: internal server error 500

I'm trying to make a GET request to an HTTPS service ( https://broker.bronos.net ). This service is an API that communicates with a client on my LAN. I can't get it to work via functions.https.get(URL, (s,ss) => {}); Please help -- I'm very new to…
0
votes
1 answer

How to solve issues regarding custom 500 and 503 error pages

My Website's Header: HTTP/1.1 Server: Apache CMS: WordPress In .htaccess file I'd the following: # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME}…
0
votes
1 answer

Property [ContextPath] not found results in Spring 500 error

When I try to run application on tomcat server I'm getting "Status Http 500"saying: Message javax.el.PropertyNotFoundException: Property [ContextPath] not found on type [org.apache.catalina.core.ApplicationHttpRequest] directory that pops out in…
D.Wasilewski
  • 119
  • 3
  • 3
  • 12