Hi everyone,
we use MantisBT 2.23.0 with plugin Email Reporting 0.10.0
we have correctly configured the email and the test is ok. The cron is also activated and scheduled correctly but the "/mantisbt/plugin.php?page=EmailReporting/bug_report_mail" command returns this "bug_report_mail.php is not allowed to be invoked through a webserver" error.
The link is: http://www.drchef.cloud/mantisbt/plugin ... eport_mail
How can we solve it?
Thanks
Marco
Email Reporting error
Moderators: Developer, Contributor
Re: Email Reporting error
It is advised to run the cron job like this. That would make sure it skips the webserver
*/5 * * * * /usr/local/bin/php /path/to/mantis/plugins/EmailReporting/scripts/bug_report_mail.php
If you must run it through the webserver then disable this
http://www.mantisbt.org/wiki/doku.php/m ... red_script
*/5 * * * * /usr/local/bin/php /path/to/mantis/plugins/EmailReporting/scripts/bug_report_mail.php
If you must run it through the webserver then disable this
http://www.mantisbt.org/wiki/doku.php/m ... red_script