When I access to the UCP module with the user/pass and the service asterisk is disconnected I can see this info. on /var/log/asterisk/freepbx.log
[2016-Jul-25 14:40:46] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/includes/User.class.php:215) - session_destroy(): Trying to destroy uninitialized session
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): Entity: line 1: parser error : Space required after the Public Identifier
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): ^
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): Entity: line 1: parser error : SystemLiteral " or ’ expected
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): ^
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): ^
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): Entity: line 9: parser error : Opening and ending tag mismatch: hr line 7 and body
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): </body></html>
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): ^
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): Entity: line 9: parser error : Opening and ending tag mismatch: body line 4 and html
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): </body></html>
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): ^
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): Entity: line 10: parser error : Premature end of data in tag html line 2
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string():
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:85) - simplexml_load_string(): ^
[2016-Jul-25 14:41:40] [PHP-NOTICE] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:88) - Trying to get property of non-object
[2016-Jul-25 14:41:40] [PHP-NOTICE] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:88) - Trying to get property of non-object
[2016-Jul-25 14:41:40] [PHP-WARNING] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:88) - Invalid argument supplied for foreach()
[2016-Jul-25 14:41:40] [PHP-NOTICE] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:98) - Trying to get property of non-object
[2016-Jul-25 14:41:40] [PHP-NOTICE] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:98) - Trying to get property of non-object
[2016-Jul-25 14:41:40] [PHP-NOTICE] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:98) - Trying to get property of non-object
[2016-Jul-25 14:41:40] [PHP-NOTICE] (/repdata/var/www/html/admin/modules/ucp/htdocs/modules/Home/Home.class.php:98) - Trying to get property of non-object
[2016-Jul-25 14:41:42] [PHP-NOTICE] (/repdata/var/www/html/admin/libraries/php-asmanager.php:239) - fwrite():
[2016-Jul-25 14:41:42] [CRITICAL] (admin/bootstrap.php:139) - Connection attmempt to AMI failed
[2016-Jul-25 14:41:42] [CRITICAL] (admin/bootstrap.php:139) - Connection attmempt to AMI failed
Any idea about what can be happened?
UPDATED:
Ok, I have been testing and I have seen that the problem is related with the module:
Presence State
If I uninstall this module the problem doesnt appear on my system.
Anybody has had problems related with the use of both modules at the same time?