The Localhost Page Isn'T Working Localhost Is Currently Unable to Handle This Request. Http Error 500

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



Leave a reply



Submit