Jump to content

Recommended Posts

Posted

My domain is www.madhusudanmishra.in. All index.php files are working fine but when files which have to make connection with the database are called it shows error 500.

 

For eg: www.madhusudanmishra.in/register is working fine but when someone tries to make a login attempt (file signin.php works) and shows error 500.

 

All php file permissions are set to 644 as well as db user has all privilege given. 

 

The same works fine on the localhost xampp. Please help and thanks in advance.

 

 

Posted
<?php

 

$dbServername = "localhost";

$dbUsername = "msm_admin";

$dbPassword = "db pass";

$dbName = "msm_loginsystem";

 

$conn = mysqli_connect($dbServername, $dbUsername, $dbPassword, $dbName);

 

trial login credentials: username > madhusudan 

pass > test@123
Posted

Yeah same here @qsgt. Yesterday when I was trying to login on his site it showed the 500 error. However that didn't happen today.

 

Rather I too encountered the 'Mail not sent' error.

Posted

Sorry... Corrected that in my previous post. That happened due to my mobile's keyboard auto-fill. The error was '500 server gone wild'.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...