Jump to content
Froxlor Forum
  • 0

MySQL-Access-Hosts BUG??


Pitbull

Question

Hallo und Guten Abend!

 

Ich habe da ein Problem ich weiss nicht ob es ein Bug ist oder von mir ein System fehler evtl. k?nnt ihr ja weiter helfen.

 

Also wenn ich IP in der MySQL-Access-Hosts erg?nzen m?chte bekomme ich volgenden fehler:

 

Fatal error: Cannot access private property db::$password in /var/www/froxlor/lib/functions/database/function.correctMysqlUsers.php on line 27

 

Dann wenn ich vom Kunden eine DB l?schen m?chte bekomme ich diesen fehler:

 

We are sorry, but a MySQL - error occurred. The administrator may find more information in syslog with the ID dbb92b3112cf8142b3601b038087a10f

 

Ich hoffe ihr k?nnt mir weiter helfen.

 

LG

 

Pitbull

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Hallo und Guten Abend!

 

Ich habe da ein Problem ich weiss nicht ob es ein Bug ist oder von mir ein System fehler evtl. k?nnt ihr ja weiter helfen.

 

Also wenn ich IP in der MySQL-Access-Hosts erg?nzen m?chte bekomme ich volgenden fehler:

 

Fatal error: Cannot access private property db::$password in /var/www/froxlor/lib/functions/database/function.correctMysqlUsers.php on line 27

 

Dann wenn ich vom Kunden eine DB l?schen m?chte bekomme ich diesen fehler:

 

We are sorry, but a MySQL - error occurred. The administrator may find more information in syslog with the ID dbb92b3112cf8142b3601b038087a10f

 

Ich hoffe ihr k?nnt mir weiter helfen.

 

LG

 

Pitbull

 

was sagt denn ein

grep dbb92b3112cf8142b3601b038087a10f /var/log/syslog

Link to comment
Share on other sites

Relativ simpel zu fixen:

 

--- lib/functions/database/function.correctMysqlUsers.php	   2012-04-30 18:21:48.588482154 +0200																															
+++ lib/functions/database/function.correctMysqlUsers.php	   2012-05-30 20:34:20.638266932 +0200
@@ -24,7 +24,7 @@
	foreach($sql_root as $mysql_server => $mysql_server_details)
	{
			$db_root = new db($mysql_server_details['host'], $mysql_server_details['user'], $mysql_server_details['password'], '');
-			   unset($db_root->password);
+			   unset($mysql_server_details['password']);

			$users = array();
			$users_result = $db_root->query('SELECT * FROM `mysql`.`user`');

 

edit: filed a bugreport -> http://redmine.froxlor.org/issues/1097

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...