in fact I think roundcube should have a log function so when user have problem, just chose the log, verbose log, very verbose log or debug mode so user can find the wrong place and fix it quickly.
I use a wrong mysql password in db.inc.php and the login screen print out mysql connect error, I think such error message should cc to log file too, screen printed error message was not properly be seen by user everytime, so cc to log file is a good choice.
I found there's some config about log in main.inc.php: // system error reporting: 1 = log; 2 = report (not implemented yet), 4 = show, 8 = trace $rcmail_config['debug_level'] = 4;
when I switch the debug_level to 8, I found a blank console window on the left top screen, maybe trace not implemented too.
BTW, add a line under the [mysqld] secion in my.cnf file should log everything and you can find out if your mysql was wrong configed. log=/var/log/mysqld.log
Lewis Butler 写道:
[Oops, forgot to send to list]
On 27-Jul-2007, at 07:47, kmnair wrote:
Sorry, I am not at all familiar with the command line operation. Since you have mentioned that you have phpMyAdmin, why dont you try to use that. I agree, some people find the command line more comfortable, but it is also prone for errors if one is not very proficient.
Recreated the database (in phpMyAdmin), the user (in phpMyAdmin), and generated a new (8 character) password. It would be somewhat useful is RC reported any sort of error that was at all useful or showed the exact text of the query that was failing; but I can't seem to get it to log anything at all to ANY log file. I even have
*.* /var/log/all.log
in /etc/syslog.conf but nothing at all is getting logged when I try to access RC.
I threw together a little php script to login to mysql and check the tables and IT works without issue and is using the same username and password.
I have no where else to go from here.
List info: http://lists.roundcube.net/users/