Public bug reported:

Binary package hint: mantis

I tried to setup E-Mail notification using the mantis package from the ubuntu 
repository with ubuntu 9.10. I already did this setup successfully on a Windows 
XP Machine in the same network and so I simply copied the settings from 
config_inc.php on the windows machine to the configuration on the ubuntu 
machine. At first I tried with config_local.php then with config_inc.php. But 
E-Mailing did not work. Logging did also not work. I commented out the database 
settings to check if the configuration file is even read. It is! I also setup 
my SMTP Server in my E-Mail Programm on the ubuntu machine and was able to send 
E-Mails with the same settings I used to setup mantis.
Finally I removed the mantis package and tried a manual installation of mantis 
(using version 1.2 however). Everything works fine with the same settings as in 
the packaged version, so I think there is some configuration bug in the 
package. The parameters are (a little changed to hide my credentials):

<?php
        $g_hostname = 'localhost';
        $g_db_type = 'mysql';
        $g_database_name = 'bugtracker';
        $g_db_username = 'dbusername';
        $g_db_password = 'dbpassword;
        
        $g_administrator_email='myemailaddress';
        $g_webmaster_email='myemailaddress';
        $g_from_email='noreplyaddress';
        $g_return_path_email='myemailaddress';
        $g_enable_email_notification=ON;
        $g_phpMailer_method             = PHPMAILER_METHOD_SMTP; # or 2 in the 
case of the mantis package
        $g_smtp_host                    = 'myserver:myport';
        $g_smtp_username                = 'smtpusername';
        $g_smtp_password                = 'smtppassword';
        $g_from_name                    = 'somename';

?>

Since logging did not work I can not provide any further error details.

ProblemType: Bug
Architecture: amd64
Date: Fri Mar 26 09:37:05 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027.1)
Package: mantis 1.1.8+dfsg-3
PackageArchitecture: all
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: mantis
Uname: Linux 2.6.31-19-generic x86_64
XsessionErrors:
 (gnome-settings-daemon:1839): GLib-CRITICAL **: g_propagate_error: assertion 
`src != NULL' failed
 (nautilus:1898): Eel-CRITICAL **: eel_preferences_get_boolean: assertion 
`preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:1921): GLib-CRITICAL **: 
g_once_init_leave: assertion `initialization_value != 0' failed

** Affects: mantis (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
Mantis package does not support SMTP based e-mailing
https://bugs.launchpad.net/bugs/548708
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to