I'm new to MantisBT (and this forum). I've successfully installed 1.2.17 on a Mac OSX Server running Mavericks. I also successfully set up email and email is being sent properly.
However, I tried changing the default email aliases in the config_inc.php file, but that seems to break Mantis. When I change them, I only get a blank page returned from the site. Specifically, if I change any of the following:
$g_administrator_email = 'administrator@example.com';
$g_webmaster_email = 'webmaster@example.com';
$g_from_email = 'noreply@example.com'; # the "From: " field in emails
$g_return_path_email = 'admin@example.com'; # the return address for bounced mail
# $g_from_name = 'Mantis Bug Tracker';
to new values, then the site only returns a blank page. If I change them back to these defaults, then all works fine.
Any suggestions would be greatly appreciated.
Thanks.
Problem changing default email configuration
Moderators: Developer, Contributor
Re: Problem changing default email configuration
Thanks. That's what I've done. If I make any single change to any of those items, the problem occurs. Any idea as to why a change there would cause this issue?
Thanks.
Thanks.
Re: Problem changing default email configuration
Does the problem occur if you just open config_inc.php in editor, don't add any line, save the file?
If so, check your editor settings that files are stored with UTF-8 encoding without BOM (Byte order Mark).
If so, check your editor settings that files are stored with UTF-8 encoding without BOM (Byte order Mark).
Re: Problem changing default email configuration
re: just opening the file and saving: No, that does not cause the problem. And, I've changed other settings in the file as well, and they work fine. It just seems to be these.
I'm at a loss as to what else to try.
Other suggestions?
Thanks again.
I'm at a loss as to what else to try.
Other suggestions?
Thanks again.