How to fix the issue: localhost is currently unable to handle this request. HTTP ERROR 500
HTTP 500
code stands for a server error. As said Tim, check your server logs.
By the way, you should fix your if
statement by adding the missing curly braket {
:
if ($resultCheck > 0) {
while ($rows = mysqli_fetch_assoc($result)) {
echo $row['username'] . "<br>";
}
} // <- missing curly bracket
else {
echo "Fail";
}
This page isn’t working .Localhost is currently unable to handle this request. HTTP ERROR 500
1- enable app.UseDeveloperExceptionPage(); in startup.cs file.
Now execption will show in broweser instead of "Localhost is currently unable to handle the request"
Issue was with the connection string after adding userid and password in connection string my issue resolved.
Thanks for your help and guidance.
localhost is currently unable to handle this request. HTTP ERROR 500 while trying to render a custom page from moodle custom plugin
By checking your error logs, You haven't added correct location. You need to verify the path to file.
Moreover, is $CFG->dirrot
spelling is correct? Isn't it $CFG->dirroot
?
localhost is currently unable to handle this request. HTTP ERROR 500 while trying to render a custom page from moodle custom plugin
By checking your error logs, You haven't added correct location. You need to verify the path to file.
Moreover, is $CFG->dirrot
spelling is correct? Isn't it $CFG->dirroot
?
localhost is currently unable to handle this request. HTTP ERROR 500 - For asp.Net Core
Add the IPatientHutService and the implementation in the ConfigureServices method.
To view detailed error messages, uncomment the line.
//app.UseDeveloperExceptionPage();
This page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500 With Codeigniter
You should try enabling error reporting or check apache error log, So that you can get details of what's going wrong with your code.
Related Topics
How to Get Multiple Value from Post Variable Using Same Name
How to Echo Selected Value of Dropdown in PHP
Api to Get All the Reviews and Rating from Google for Business
Laravel Convert Query MySQL to Model Query
Php Regex Find Text Between Custom Added HTML Tags
Encoding CSV File With Arabic Content
Telegram Botapi, Send Message to Multiple Chat_Id
How to Pass JavaScript Variables to PHP
Grabbing the Href Attribute of an a Element
Get Image Type from Base64 Encoded Src String
Selected Value Get from Db into Dropdown Select Box Option Using PHP MySQL Error
How to Get All Month Record Count in Laravel
Remove License Check from Script Code in Codeigniter
Running a Python Script from PHP
How to Get Toggle Button Working With PHP