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'.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...