config_inc.php reads <?php
$g_hostname = ‘localhost’;
$g_db_type = ‘mysql’;
$g_database_name = ‘bitnami_mantis’;
$g_db_username = ‘bn_mantis’;
$g_db_password = ‘c210c121cf’;
$g_phpMailer_method = 1;
$g_from_email = ‘bitnami’;
$g_allow_file_upload = OFF;
$g_window_title = ‘MantisBugTracker’;
?>
MantisBT is running on both the URL from a client pc and localhost from the server.
I am trying to get email to work and so I tried
php /opt/lampstack-1.2-5/apps/mantis/htdocs/scripts/send_emails.php
The result was:
<html><head><title>APPLICATION ERROR #400</title></head><body><br /><div align="center"><table class="width50" cellspacing="1"><tr><td class="form-title">APPLICATION ERROR #400</td></tr><tr><td><p class="center" style="color:red">Database connection failed. Error received from database was #1045: Access denied for user 'bn_mantis'@'localhost' (using password: YES).</p></td></tr><tr><td><p class="center">Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.</p></td></tr></table></div><p>Previous non-fatal errors occurred. Page contents follow.</p><div style="border: solid 1px black;padding: 4px"><p style="color:red">SYSTEM WARNING: mysql_connect(): Access denied for user 'bn_mantis'@'localhost' (using password: YES)</p></div></body></html>
I am befuddled. especially since the administrator name is 'phpbb' but if I put that into the config_inc.php file the whole MantisBT system fails, not just email.
So how I am supposed to configure items so that email is sent via the sendmail on the host (CentOS5.5) pc? thanks
ahh, I found an issue. This is part of a LAMP and the mySQL for the LAMP is listening on port 3316.
How do I change the config_inc.php to reflect that?
well that didn't blow up the script, so i guess it is looking in the correct database now.
but still no joy
When i look at the record for bn_mantis , the password field is set to "2e01eff804b8deef" which seems to be a Hex mask.
Anyone know how to decrypt it to the original ASCII ?
I did an uninstall and install of the mantis module.
This gave me a new password, which I tried:
This still results in ERROR 1045 (28000): Access denied for user ’bn_mantis’@’localhost’ (using password: YES)
So which item here is broken? At this point, i don’t care about the email . How can I create a user with my own password and not one generated by Mantis – or at least how I can decrypt the password?