Saturday, 31 August 2013

Problems in logging in to the admin section of my website

Problems in logging in to the admin section of my website

I downloaded the Admin Login Panel from Apphp.com. It worked fine on
localhost.
Then I created a database in the Parallel Plesk Server [Where my website
is hosted], assigned a user to it, imported the sql file and created the
tables.
Then I changed the config.inc.php settings from:
function Config()
{
$this->host = "localhost";
$this->user = "root";
$this->password = "";
$this->database = "testdb";
}
to
function Config()
{
$this->host = "pemysql01.365techsupport.com:3306";
$this->user = "user123";
$this->password = "password";
$this->database = "testdb";
}
As I said already that the code is working fine in localhost, but when I
upload the database and other files to the server, I cannot login with my
username and password which is 'test' & 'test'. It says, wrong username or
password. The same code is working fine on localhost.
Is there anything else that I have to do, or can anyone suggest me a
simple php based login panel source code from any site.

No comments:

Post a Comment