Pitbull Posted May 25, 2012 Share Posted May 25, 2012 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 More sharing options...
d00p Posted May 27, 2012 Share Posted May 27, 2012 schau mal ob der fehler auf dich zutrifft: http://forum.froxlor.org/index.php?/topic/1659-we-are-sorry-but-a-mysql-error-occurred-the-administrator-may-find-more-information-in-syslog-with-the-id/ Link to comment Share on other sites More sharing options...
Pitbull Posted May 29, 2012 Author Share Posted May 29, 2012 Nein leider ist es nicht der fehler es liegt wohl an der MySQL-Access-Hosts wenn ich die aktualisiere setzt er keine user berechtigung auf die datenbak gibt es da ne m?glichkeite?? Link to comment Share on other sites More sharing options...
mark.doe Posted May 30, 2012 Share Posted May 30, 2012 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 More sharing options...
Pitbull Posted May 30, 2012 Author Share Posted May 30, 2012 Das sagt garnichts scheint nichts drin zu sein -.- Link to comment Share on other sites More sharing options...
d00p Posted May 30, 2012 Share Posted May 30, 2012 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 More sharing options...
Question
Pitbull
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
Archived
This topic is now archived and is closed to further replies.