I have recently switch my email account to office 365 using my domain email. I had no problems connecting my email using my own domain but after changing over to office /outlook 365 I am unable to connect. the imap server is outlook.office365.com using ssl (port 993) and I receive the below errors:
error log:
[25-Apr-2018 09:59:42 UTC] PHP Warning: Error while sending QUERY packet. PID=284686 in /home/myusername/public_html/suitecrm/include/database/MysqliManager.php on line 136
[25-Apr-2018 09:59:42 UTC] PHP Stack trace:
[25-Apr-2018 09:59:42 UTC] PHP 1. {main}() /home/myusername/public_html/suitecrm/index.php:0
[25-Apr-2018 09:59:42 UTC] PHP 2. SugarApplication->execute() /home/myusername/public_html/suitecrm/index.php:52
[25-Apr-2018 09:59:42 UTC] PHP 3. SugarApplication->loadUser() /home/myusername/public_html/suitecrm/include/MVC/SugarApplication.php:97
[25-Apr-2018 09:59:42 UTC] PHP 4. AuthenticationController->sessionAuthenticate() /home/myusername/public_html/suitecrm/include/MVC/SugarApplication.php:159
[25-Apr-2018 09:59:42 UTC] PHP 5. SugarAuthenticate->sessionAuthenticate() /home/myusername/public_html/suitecrm/modules/Users/authentication/AuthenticationController.php:202
[25-Apr-2018 09:59:42 UTC] PHP 6. SugarAuthenticate->postSessionAuthenticate() /home/myusername/public_html/suitecrm/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php:209
[25-Apr-2018 09:59:42 UTC] PHP 7. SugarAuthenticateUser->loadUserOnSession() /home/myusername/public_html/suitecrm/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php:260
[25-Apr-2018 09:59:42 UTC] PHP 8. User->retrieve() /home/myusername/public_html/suitecrm/modules/Users/authentication/SugarAuthenticate/SugarAuthenticateUser.php:139
[25-Apr-2018 09:59:42 UTC] PHP 9. User->retrieve() /home/myusername/public_html/suitecrm/modules/Users/User.php:768
[25-Apr-2018 09:59:42 UTC] PHP 10. User->retrieve() /home/myusername/public_html/suitecrm/include/SugarObjects/templates/person/Person.php:109
[25-Apr-2018 09:59:42 UTC] PHP 11. MysqliManager->limitQuery() /home/myusername/public_html/suitecrm/data/SugarBean.php:4534
[25-Apr-2018 09:59:42 UTC] PHP 12. MysqliManager->query() /home/myusername/public_html/suitecrm/include/database/MysqlManager.php:281
[25-Apr-2018 09:59:42 UTC] PHP 13. mysqli_query() /home/myusername/public_html/suitecrm/include/database/MysqliManager.php:136
[25-Apr-2018 09:59:42 UTC] PHP Fatal error: Uncaught Exception: Database failure. Please refer to suitecrm.log for details. in /home/myusername/public_html/suitecrm/include/utils.php:1773
Stack trace:
#0 /home/myusername/public_html/suitecrm/include/database/DBManager.php(353): sugar_die('Database failur...')
#1 /home/myusername/public_html/suitecrm/include/database/DBManager.php(328): DBManager->registerError('Retrieving reco...', 'Retrieving reco...', true)
#2 /home/myusername/public_html/suitecrm/include/database/MysqliManager.php(167): DBManager->checkError('Retrieving reco...', true)
#3 /home/myusername/public_html/suitecrm/include/database/MysqlManager.php(281): MysqliManager->query('SELECT users.* ...', true, 'Retrieving reco...')
#4 /home/myusername/public_html/suitecrm/data/SugarBean.php(4534): MysqlManager->limitQuery('SELECT users.* ...', 0, 1, true, 'Retrieving reco...')
#5 /home/myusername/public_html/suitecrm/include/SugarObjects/templates/person/Person.php(109): SugarBean->retrieve('1', true, true)
#6 /home/myusername/public_html/suitecrm/modules/Users/ in /home/myusername/public_html/suitecrm/include/utils.php on line 1773
suitecrm.log:
Wed Apr 25 09:59:42 2018 [284686][-none-][FATAL] Retrieving record by id users:1 found Query Failed: SELECT users.* FROM users WHERE users.id = '1' AND users.deleted=0 LIMIT 0,1: MySQL error 2006: MySQL server has gone away
Not sure if it matters but I do have an .htaccess script to redirect to https://www. As I said I have not problems connecting to my server even now. My domain is on a shared server.
I’ve searched high and low for answers with no luck. Thank you in advance for any help.