Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

HARD BUG FIX THIS ASAP 111 #144

Closed
Jbaukens opened this issue Feb 27, 2016 · 7 comments
Closed

HARD BUG FIX THIS ASAP 111 #144

Jbaukens opened this issue Feb 27, 2016 · 7 comments

Comments

@Jbaukens
Copy link
Contributor

HOW IS IT POSSIBLE THAT AN ERROR IS GENERATED ON USER ACCOUNT WITH OUR DATABASE INFORMATION !!! WTF

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' in /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php:36 Stack trace: #0 /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php(36): PDO->__construct('mysql:host=loca...', 'DBUSER WAS HERE', 'PASS WAS HERE') #1 /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php(16): Database->__construct() #2 /home/admin/web/xterium.space/public_html/includes/classes/Config.class.php(89): Database::get() #3 /home/admin/web/xterium.space/public_html/includes/classes/Config.class.php(66): Config::generateInstances() #4 /home/admin/web/xterium.space/public_html/includes/GeneralFunctions.php(658): Config::get() #5 [internal function]: exceptionHandler(Object(PDOException)) #6 {main} thrown in /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php on line 36

@lilmnm-kamikaze-
Copy link

That error means the game couldn't connect to the mysql server running on the machine hosting your sever. If it's godady they are doing some maintenance from what I was told.

Date: Sat, 27 Feb 2016 10:29:41 -0800
From: [email protected]
To: [email protected]
Subject: [2Moons] HARD BUG FIX THIS ASAP 111 (#144)

HOW IS IT POSSIBLE THAT AN ERROR IS GENERATED ON USER ACCOUNT WITH OUR DATABASE INFORMATION !!! WTF

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' in /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php:36 Stack trace: #0 /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php(36): PDO->__construct('mysql:host=loca...', 'DBUSER WAS HERE', 'PASS WAS HERE') #1 /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php(16): Database->__construct() #2 /home/admin/web/xterium.space/public_html/includes/classes/Config.class.php(89): Database::get() #3 /home/admin/web/xterium.space/public_html/includes/classes/Config.class.php(66): Config::generateInstances() #4 /home/admin/web/xterium.space/public_html/includes/GeneralFunctions.php(658): Config::get() #5 [internal function]: exceptionHandler(Object(PDOException)) #6 {main} thrown in /home/admin/web/xterium.space/public_html/includes/classes/Database.class.php on line 36


Reply to this email directly or view it on GitHub.

@jkroepke
Copy link
Owner

The problem is that the stackstrace leaks some credentials...

@Jbaukens
Copy link
Contributor Author

Thats not a problem, i dont use Goddaddy, but i dont allow to show my password and username of my database, else all users could login and change values like darkmatter, antimatter, delete accounts

@jkroepke
Copy link
Owner

Normally, nothing is affected. because the database should not open to the internet. Also you should always use another password for you database.

But its still a problem

@lilmnm-kamikaze-
Copy link

Ahh. I thought he was referring to the db connection error.

Date: Sat, 27 Feb 2016 10:55:26 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [2Moons] HARD BUG FIX THIS ASAP 111 (#144)

Normally, nothing is affected. because the database should not open to the internet. Also you should always use another password for you database.

But its still a problem


Reply to this email directly or view it on GitHub.

@Jbaukens
Copy link
Contributor Author

Jbaukens commented Mar 8, 2016

:) added a htaccess htpassw before accesing phpmyadmin url so i dont care anymore for this problem, pass can be showen they will not be able to do something with it

@Jbaukens Jbaukens closed this as completed Mar 8, 2016
@jkroepke
Copy link
Owner

jkroepke commented Mar 8, 2016

In my opinion, its still a problem.

jkroepke pushed a commit that referenced this issue Aug 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants