I have a last version MantistBT 2.12.0, EmailReporting v0.10.0, PHP 7.1
1. When I check mailbox in "Manage MailBoxes" tab, I get an error: INTERNAL APPLICATION ERROR ...
And of course mailbox not checked.
2. When I click on page /support/plugins/EmailReporting/scripts/bug_report_mail.php (in "Manage Configuration Options" tab) I get a 403 page.
How to fix it?
INTERNAL APPLICATION ERROR
Moderators: Developer, Contributor
Re: INTERNAL APPLICATION ERROR
I suspect one of them to be caused because of a function that was removed from MantisBT in 2.11
https://github.com/mantisbt-plugins/Ema ... 1bec8b080f
The 403 should be corrected with this change
https://github.com/mantisbt-plugins/Ema ... cc6135d1f4
Please install the latest development version from github and see whether you still have the issues
https://github.com/mantisbt-plugins/EmailReporting
https://github.com/mantisbt-plugins/Ema ... 1bec8b080f
The 403 should be corrected with this change
https://github.com/mantisbt-plugins/Ema ... cc6135d1f4
Please install the latest development version from github and see whether you still have the issues
https://github.com/mantisbt-plugins/EmailReporting
-
- Posts: 7
- Joined: 20 Mar 2018, 22:47
Re: INTERNAL APPLICATION ERROR
Thank you very much! That problems fixed.
I have a new one:
"Preferred realname for new user creations" This setting does not work, the field remains blank in the user's card.
I have a new one:
"Preferred realname for new user creations" This setting does not work, the field remains blank in the user's card.
Re: INTERNAL APPLICATION ERROR
You would have give me some more information since it works fine for me
Is it possible that you provide a raw_msg using debug mode?
What option have you chosen for preferred username?
What option have you chosen for preferred realname?
Is it possible that you provide a raw_msg using debug mode?
What option have you chosen for preferred username?
What option have you chosen for preferred realname?
-
- Posts: 7
- Joined: 20 Mar 2018, 22:47
Re: INTERNAL APPLICATION ERROR
"Debug mode" is OFF
"Signup new users automatically" is ON
"Preferred username for new user creations" works correctly with all values
"Preferred realname for new user creations " does not respond to any value
I saw a mistake in my virtual hosting when processing:
UPD: I fix it. Delete this function from mail_api.php:
if ( ( !function_exists( 'user_is_realname_valid' ) || user_is_realname_valid( $t_realname ) ) && user_is_realname_unique( $p_username, $t_realname ) )
"Signup new users automatically" is ON
"Preferred username for new user creations" works correctly with all values
"Preferred realname for new user creations " does not respond to any value
I saw a mistake in my virtual hosting when processing:
Code: Select all
INTERNAL APPLICATION ERROR:
Call to undefined function user_is_realname_unique()
if ( ( !function_exists( 'user_is_realname_valid' ) || user_is_realname_valid( $t_realname ) ) && user_is_realname_unique( $p_username, $t_realname ) )
Last edited by AlexNikitos on 25 Mar 2018, 07:20, edited 1 time in total.
Re: INTERNAL APPLICATION ERROR
They removed that function in MantisBT 2.12
I will modify the code accordingly
I will modify the code accordingly
Last edited by SL-Gundam on 24 Mar 2018, 16:50, edited 1 time in total.
Re: INTERNAL APPLICATION ERROR
Should be fixed now
https://github.com/mantisbt-plugins/Ema ... adc8bf2550
https://github.com/mantisbt-plugins/Ema ... adc8bf2550