How to change the link created from EmailReporting Plugin
Moderators: Developer, Contributor
Re: How to change the link created from EmailReporting Plugin
It's a webpage on your webserver within your MantisBT installation. You shouldn't check the source code of the file
Re: How to change the link created from EmailReporting Plugin
I've got a windows installation using IIS webserver so works differently
This is the recommended linux method through cronjob: https://github.com/mantisbt-plugins/Ema ... #L120-L121
This is the recommended windows method using task scheduler: https://github.com/mantisbt-plugins/Ema ... #L129-L130
"Block this script from running via a webserver (recommended = "Yes")" should be set to "Yes". Only set it to "No" for testing and special circumstances
This is the recommended linux method through cronjob: https://github.com/mantisbt-plugins/Ema ... #L120-L121
This is the recommended windows method using task scheduler: https://github.com/mantisbt-plugins/Ema ... #L129-L130
"Block this script from running via a webserver (recommended = "Yes")" should be set to "Yes". Only set it to "No" for testing and special circumstances
-
- Posts: 26
- Joined: 18 Jan 2021, 09:10
Re: How to change the link created from EmailReporting Plugin
My cronjob on my Linux Server under root user is:
*/5 * * * * /bin/php /var/www/itsupport.linakis.com/plugins/EmailReporting/scripts/bug_report_mail.php
*/5 * * * * /bin/php /var/www/itsupport.linakis.com/plugins/EmailReporting/scripts/bug_report_mail.php
-
- Posts: 26
- Joined: 18 Jan 2021, 09:10
Re: How to change the link created from EmailReporting Plugin
Posting the results from file adm_config_report.php




- Attachments
-
- mantisbt1.png (50.6 KiB) Viewed 3722 times
-
- mantisbt2.png (45.33 KiB) Viewed 3722 times
Re: How to change the link created from EmailReporting Plugin
Like stated here https://www.mantisbt.org/forums/viewtop ... 321#p71321
It's a webpage, so open it in a browser
It's a webpage, so open it in a browser
-
- Posts: 26
- Joined: 18 Jan 2021, 09:10
Re: How to change the link created from EmailReporting Plugin
Sorry i didnt understand it before.
The result is:

The result is:

- Attachments
-
- mantisbt3.png (7.96 KiB) Viewed 3706 times
Re: How to change the link created from EmailReporting Plugin
That is the desired domain name.
Problem is, is that periodically it is overwritten with https://40.113.150.68:443/ and apparently also the old domain name.
Since we don't know what causes the different values and i cannot look into your environment to see what is happening i advise the following
Problem is, is that periodically it is overwritten with https://40.113.150.68:443/ and apparently also the old domain name.
Since we don't know what causes the different values and i cannot look into your environment to see what is happening i advise the following
- Remove this line: https://github.com/mantisbt-plugins/Ema ... g.php#L326
That will stop the automatic update of the variable plugin_EmailReporting_mail_mantisbt_url_fix - Manually correct if necessary the URL in the variable here: https://www.mantisbt.org/forums/viewtop ... 327#p71327
-
- Posts: 26
- Joined: 18 Jan 2021, 09:10
Re: How to change the link created from EmailReporting Plugin
Dear Sl-Gundam
Problem solved.
IMaybe the problem was that in nginx server on the sites-enabled folder, the folder had been remained with the old domain.
I renamed it to the new domain and also created a new sym link
Now everything seems to work as expected.
Thank you very much for your help.
Now i am facing another issue, which i will open a new ticket.
Thank you.
Problem solved.
IMaybe the problem was that in nginx server on the sites-enabled folder, the folder had been remained with the old domain.
I renamed it to the new domain and also created a new sym link
Now everything seems to work as expected.
Thank you very much for your help.
Now i am facing another issue, which i will open a new ticket.
Thank you.