Page 1 of 1

Error on Mailbox settings

Posted: 06 Feb 2016, 17:55
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.

Re: Error on Mailbox settings

Posted: 07 Feb 2016, 01:02
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

Re: Error on Mailbox settings

Posted: 08 Feb 2016, 22:29
by malbro
I have the same problem

Mantis 1.2.19
Email plugin 0.9.0 latest version on GitHub

Re: Error on Mailbox settings

Posted: 09 Feb 2016, 16:16
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

Re: Error on Mailbox settings

Posted: 10 Feb 2016, 22:15
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

Re: Error on Mailbox settings

Posted: 11 Feb 2016, 09:42
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

Re: Error on Mailbox settings

Posted: 11 Feb 2016, 20:03
by SL-Gundam
Added an error for this issue: https://github.com/mantisbt-plugins/Ema ... 17c1597925

Hopefully this works properly