Error on Mailbox settings

This plugin allows you to report an issue in MantisBT by sending an email to a particular mail account

Moderators: Developer, Contributor

Post Reply
pcmalaga
Posts: 1
Joined: 06 Feb 2016, 17:50

Error on Mailbox settings

Post by pcmalaga »

Hi all, and thanks for the help.

I just installed MantisBT and Emailreporting plugin. But I can not configure any mailbox , it seems as if the options do not appear fully, the product is cut , and neither appears Save button.

Thanks for the help.
Attachments
mantis.png
mantis.png (66.19 KiB) Viewed 8955 times
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Error on Mailbox settings

Post by SL-Gundam »

auth method is empty which means that an unexpected error occurred there

Which version of EmailReporting are you running?
Which version of MantisBT are you running?
Which version of php are you running?
Any PHP pear packages installed?

Please add the following to your MantisBT config file config_inc.php (these can be removed later if you wish)

Code: Select all

$g_show_detailed_errors	= ON; 
$g_display_errors = array(
		E_WARNING => 'halt',
		E_NOTICE => 'halt',
		E_USER_ERROR => 'halt',
		E_USER_WARNING => 'halt',
		E_USER_NOTICE => 'halt'
	); 
Try reproducing the error and it should give a proper error now
malbro
Posts: 2
Joined: 08 Feb 2016, 22:24

Re: Error on Mailbox settings

Post by malbro »

I have the same problem

Mantis 1.2.19
Email plugin 0.9.0 latest version on GitHub
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Error on Mailbox settings

Post by SL-Gundam »

Which version of php are you running?
Any PHP pear packages installed?

Please add the following to your MantisBT config file config_inc.php (these can be removed later if you wish)

Code: Select all

$g_show_detailed_errors	= ON; 
$g_display_errors = array(
		E_WARNING => 'halt',
		E_NOTICE => 'halt',
		E_USER_ERROR => 'halt',
		E_USER_WARNING => 'halt',
		E_USER_NOTICE => 'halt'
	); 
Try reproducing the error and it should give a proper error now
malbro
Posts: 2
Joined: 08 Feb 2016, 22:24

Re: Error on Mailbox settings

Post by malbro »

SYSTEM WARNING

'require_once(): open_basedir restriction in effect. File(/usr/share/pear/PEAR.php) is not within the allowed path(s): (/var/www/vhosts/domain-name/:/tmp/)' in '/var/www/vhosts/domain-name/bugs/plugins/EmailReporting/core_pear/Net/Socket.php' line 29

PHP Version: 5.4.21
OS: CentOS 6.3 (Final)

Solved by adding /usr/share/pear/ to the PHP configuration for open_basedir
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Error on Mailbox settings

Post by SL-Gundam »

So that means its a misconfiguration of your PEAR repository.

Will check whether i can throw a proper error in this situation
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Error on Mailbox settings

Post by SL-Gundam »

Added an error for this issue: https://github.com/mantisbt-plugins/Ema ... 17c1597925

Hopefully this works properly
Post Reply