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
1 answer

Return error 500 in laravel query when I use get()

I use this laravel query in my code : $teamRoles = TeamMembers::where('is_active',config('constants.status.enable')) ->get(); dd($teamRoles); I don't know why this result return HTTP ERROR 500 but when I use ->find() or…
Zahra Badri
  • 1,656
  • 1
  • 17
  • 28
0
votes
1 answer

PHPMailer in Joomla Model Error 500 when there is keyword "use"

I am trying to send mail using phpmailer from joomla model, here is code require '/opt/cdf/ThemeComponent/models/vendor/autoload.php'; require("/opt/cdf/ThemeComponent/models/PHPMailer-master/src/Exception.php"); …
Wasim A.
  • 9,660
  • 22
  • 90
  • 120
0
votes
0 answers

Netbeans Apache Tomcat HTTP Status 500 – Internal Server Error while using JSP codes

I want to learn Java web programmign with Netbeans via Apache Tomcat server. I am beginner and my first project gets error when I add jsp:bean code. I can open index.html without any problem and I can add text etc. This is my error: HTTP Status 500…
0
votes
1 answer

500 issue from server when I upload image and resize

What is the best solution to overcome this problem? I have a solution to fix it, but I want the best solution. I have used ini_get ("upload_max_filesize") and the problem was solved.
0
votes
1 answer

HTTP 500, blank pages, cache not refreshed in Symfony 4 on VMware

I'm developing a Symfony 4.3 app. I'm running it with symfony server:start inside a Fedora VM running on VMware Workstation Player on Windows 10. My files are located on the host (Windows) and accessed by the Linux host via VMware shared…
BenMorel
  • 34,448
  • 50
  • 182
  • 322
0
votes
2 answers

500 - Internal server error after publish on server

After publishing my asp mvc app to plesk hosting I have 500 error. When I run it locally all works fine. I checked my connection string. This connection string is correct and uses for another apps that hosts on that server. Tried to turn on…
0
votes
0 answers

API Call In Google Sheets Google Apps Script Returning Code 500

I am trying to call cutt.ly's api for shortening urls. When pasting the cal into safari I get the desired response; however, when I make the call using URLFetch in my Google Apps Script Project (making for a Google Sheets Add On) I only get a code…
Austin Hoag
  • 151
  • 1
  • 1
  • 4
0
votes
2 answers

php cUrl POST with SSL certificate end with an error 500

I've got a PHP cUrl session that works well with HTTP URLs but ends with an error 500 with https... I've already tried to use curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0); but it didn't work. Here you have my code: $ch=…
0
votes
1 answer

Rapid API Error code 500 with Retrofit2 Android

I am using spoonacular API for a recipe app project. The problem occurs when trying to making multiple GET requests to the API. The first request is a simple search with a query parameter. The resulting JSON of the first request contains a Recipe ID…
0
votes
1 answer

Android. get "JSONObject[\"response\"] not found." when make request with retrofit

I get error when I try to make request with retrofit in my android application. I get 500 Interval Server Error "title":"Internal Server Error","status":500,"detail":"JSONObject[\"response\"] not …
anna
  • 433
  • 7
  • 18
0
votes
0 answers

Apache PHP 500 internal error on only one page

I just upgraded my cPanel easyApache 3 (php 5.5) to easyApache 4 (php 7.3). All in all, the upgrade went smoothly. I have tested many pages through two full http websites and one https website - all seems good except for one page in the root https…
rolinger
  • 2,787
  • 1
  • 31
  • 53
0
votes
1 answer

How to use pathinfo in php?

I am working on a php code as shown below on which Line#A prints the following array (shown below php code). My code doesn't seems to go inside switch statement. I am not sure why. I added print_r($parts) at Line A in order to print the value of…
flash
  • 1,455
  • 11
  • 61
  • 132
0
votes
1 answer

Tomcat Jersey NoSuchMethodError

I have an Tomcat 9.0.20 server running on my computer with JDK 12 and Jersey 2 as REST API helper. This works fine. But when I deploy the files to my Ubuntu server, which is running the same tomcat and Java Version, I get an error…
user3531864
  • 167
  • 3
  • 11
0
votes
0 answers

REST API gives a response code 500 "internal server error"

I am sending media file to my backend server through my app and image and video files are sent as a media file using same api endpoint. The images are sent without any errors. Videos were also sent without any errors but now the api response for…
0
votes
0 answers

How to properly use PHPMailer

I already have a user account system written in php that is functioning on a dream host server. I created a forgot password system also but when I activate the php code that sends the actual email using PHPMailer I get an HTTP ERROR 500. I don't…