ivannovak / jpmaster77-s-Login-System-

jpmaster77's Login System v2.0.4d
http://www.evolt.org/node/60384
Other
42 stars 28 forks source link

Unknown Server Issue #20

Open Tobster619 opened 9 years ago

Tobster619 commented 9 years ago

Hello,

I just downloaded this login system after reading an article on it and I installed it on our website's server but when I visit the main.php page, I get this error: Unknown MySQL server host 'DB_SERVER' (2)

Looked through the SQL file but couldn't see anything wrong with it: any suggestions? :)

Mark-Artyniuk commented 9 years ago

your database settings are incorrect. Usually the value for DB SERVER would be localhost, you can confirm with your web host what you should be putting there.

Tobster619 commented 9 years ago

Thanks for replying so quickly :) - I have noticed that the DB SERVER is located in constants.sample.php and have now contacted my server host to find out what I should be putting there as localhost doesn't seem to be working

Tobster619 commented 9 years ago

Fixed the issue; in the /includes/ the file is called 'constants.sample.php' whereas in 'database.php' it is trying to include 'constants.php' (which doesn't exist)

Tobster619 commented 9 years ago

Getting: Access denied for user 'your_user'@'localhost' (using password: YES) - I know the your_user is defined in the constants file, but what should I change it to in order to get access to the login system?