Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Authentification failed Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Zgegman
Newbie
Newbie


Joined: 03 September 2013
Online Status: Offline
Posts: 5
Posted: 03 September 2013 at 3:53pm | IP Logged Quote Zgegman

Hello,

I have installed webmail lite. Everything is fine until I want to connect to the mail account.
I have linked webmail lite with my gmail account, and configured accordingly in the admin panel (server imap, etc). However, when I want to login with my gmail account information it doesn't work (I tried login and login@gmail.com), I have the following message which appear:
"the username or password you entered is incorrect."

Here are three logs: my connection attempt with login@gmail.com, login, and a random login (I changed my website adress by ***, my login by **login**, and password by **pass**, and the random login is qzefzefqzfq)

[22:39:48.99] Location: index.php

[22:39:49.15] /adminpanel/index.php
[22:39:49.15]
[22:39:49.15] call CWebMailModule->PopulateData->ServicesLogging()

[22:39:54.17] [POST(6)] /index.php?/Ajax/
[22:39:54.17] POST > [Action, Email, IncLogin, IncPassword, SignMe, Token]
[22:39:54.17]
[22:39:54.17] AJAX: Action: Login
[22:39:54.17] DB : start connect to Sqldb@sql.*******.in
[22:39:54.17] DB : connected to Sqldb@sql.*******.in
[22:39:54.18] DB[1] > SELECT `id_acct`, `id_user`, `id_domain`, `id_tenant`, `deleted`, `def_acct`, `mailing_list`, `quota`, `quota_usage_bytes`, `email`, `friendly_nm`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_login`, `mail_inc_pass`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_login`, `mail_out_pass`, `mail_out_auth`, `mail_out_ssl`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = '**login@gmail.com**'
[22:39:54.18] DB[2] > SELECT `id_domain`, `id_tenant`, `disabled`, `name`, `url`, `override_settings`, `is_internal`, `site_name`, `lang`, `def_user_timezone`, `def_user_timeformat`, `def_user_dateformat`, `allow_registration`, `allow_pass_reset`, `allow_webmail`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_auth`, `mail_out_login`, `mail_out_pass`, `mail_out_ssl`, `mail_out_method`, `check_interval`, `skin`, `msgs_per_page`, `allow_change_interface_settings`, `allow_change_account_settings`, `allow_users_add_acounts`, `allow_new_users_register`, `layout`, `xlist`, `allow_contacts`, `contacts_per_page`, `global_addr_book`, `allow_calendar`, `cal_show_weekends`, `cal_workday_starts`, `cal_workday_ends`, `cal_show_workday`, `cal_week_starts_on`, `cal_default_tab` FROM awm_domains WHERE `name` = 'gmail.com'
[22:39:54.18] Exception[1504]: Unknown error
~ /libraries/afterlogic/common/managers/webmail/manager.php (130)
----------------------------------------------------------------------
#0 /dns/in/*******/*******/libraries/afterlogic/common/managers/integrator/manager.php(533): CApiWebmailManager->CreateAccountProcess('**login@gmail.com**', '**Pass**', 'English', Array)
#1 /dns/in/*******/*******/libraries/ProjectSeven/Actions.php(1503): CApiIntegratorManager->LoginToAccount('**login@gmail.com**', '**Pass**', '', 'English')
#2 [internal function]: ProjectSeven\Actions->AjaxLogin()
#3 /dns/in/*******/*******/libraries/ProjectSeven/Service.php(95): call_user_func(Array)
#4 /dns/in/*******/*******/libraries/ProjectSeven/Boot.php(5): ProjectSeven\Service->Handle()
#5 /dns/in/*******/*******/index.php(54): include('/dns/in/*******/...')
#6 {main}
[22:39:54.18] DB : disconnect from Sqldb@sql.*******.in

[22:40:01.59] [POST(6)] /index.php?/Ajax/
[22:40:01.59] POST > [Action, Email, IncLogin, IncPassword, SignMe, Token]
[22:40:01.59]
[22:40:01.59] AJAX: Action: Login
[22:40:01.59] DB : start connect to Sqldb@sql.*******.in
[22:40:01.59] DB : connected to Sqldb@sql.*******.in
[22:40:01.59] DB[1] > SELECT `id_acct`, `id_user`, `id_domain`, `id_tenant`, `deleted`, `def_acct`, `mailing_list`, `quota`, `quota_usage_bytes`, `email`, `friendly_nm`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_login`, `mail_inc_pass`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_login`, `mail_out_pass`, `mail_out_auth`, `mail_out_ssl`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = '**login**'
[22:40:01.59] DB[2] > SELECT `id_domain`, `id_tenant`, `disabled`, `name`, `url`, `override_settings`, `is_internal`, `site_name`, `lang`, `def_user_timezone`, `def_user_timeformat`, `def_user_dateformat`, `allow_registration`, `allow_pass_reset`, `allow_webmail`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_auth`, `mail_out_login`, `mail_out_pass`, `mail_out_ssl`, `mail_out_method`, `check_interval`, `skin`, `msgs_per_page`, `allow_change_interface_settings`, `allow_change_account_settings`, `allow_users_add_acounts`, `allow_new_users_register`, `layout`, `xlist`, `allow_contacts`, `contacts_per_page`, `global_addr_book`, `allow_calendar`, `cal_show_weekends`, `cal_workday_starts`, `cal_workday_ends`, `cal_show_workday`, `cal_week_starts_on`, `cal_default_tab` FROM awm_domains WHERE `name` = ''
[22:40:01.60] Exception[1504]: Unknown error
~ /libraries/afterlogic/common/managers/webmail/manager.php (130)
----------------------------------------------------------------------
#0 /dns/in/*******/*******/libraries/afterlogic/common/managers/integrator/manager.php(533): CApiWebmailManager->CreateAccountProcess('**login **', '**Pass**', 'English', Array)
#1 /dns/in/*******/*******/libraries/ProjectSeven/Actions.php(1503): CApiIntegratorManager->LoginToAccount('**login **', '**Pass**', '', 'English')
#2 [internal function]: ProjectSeven\Actions->AjaxLogin()
#3 /dns/in/*******/*******/libraries/ProjectSeven/Service.php(95): call_user_func(Array)
#4 /dns/in/*******/*******/libraries/ProjectSeven/Boot.php(5): ProjectSeven\Service->Handle()
#5 /dns/in/*******/*******/index.php(54): include('/dns/in/*******/...')
#6 {main}
[22:40:01.60] DB : disconnect from Sqldb@sql.*******.in

[22:41:34.10] [POST(6)] /index.php?/Ajax/
[22:41:34.10] POST > [Action, Email, IncLogin, IncPassword, SignMe, Token]
[22:41:34.10]
[22:41:34.10] AJAX: Action: Login
[22:41:34.11] DB : start connect to Sqldb@sql.*******.in
[22:41:34.12] DB : connected to Sqldb@sql.*******.in
[22:41:34.12] DB[1] > SELECT `id_acct`, `id_user`, `id_domain`, `id_tenant`, `deleted`, `def_acct`, `mailing_list`, `quota`, `quota_usage_bytes`, `email`, `friendly_nm`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_login`, `mail_inc_pass`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_login`, `mail_out_pass`, `mail_out_auth`, `mail_out_ssl`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'qzefzefqzfq'
[22:41:34.12] DB[2] > SELECT `id_domain`, `id_tenant`, `disabled`, `name`, `url`, `override_settings`, `is_internal`, `site_name`, `lang`, `def_user_timezone`, `def_user_timeformat`, `def_user_dateformat`, `allow_registration`, `allow_pass_reset`, `allow_webmail`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_auth`, `mail_out_login`, `mail_out_pass`, `mail_out_ssl`, `mail_out_method`, `check_interval`, `skin`, `msgs_per_page`, `allow_change_interface_settings`, `allow_change_account_settings`, `allow_users_add_acounts`, `allow_new_users_register`, `layout`, `xlist`, `allow_contacts`, `contacts_per_page`, `global_addr_book`, `allow_calendar`, `cal_show_weekends`, `cal_workday_starts`, `cal_workday_ends`, `cal_show_workday`, `cal_week_starts_on`, `cal_default_tab` FROM awm_domains WHERE `name` = ''
[22:41:34.13] Exception[1504]: Unknown error
~ /libraries/afterlogic/common/managers/webmail/manager.php (130)
----------------------------------------------------------------------
#0 /dns/in/*******/*******/libraries/afterlogic/common/managers/integrator/manager.php(533): CApiWebmailManager->CreateAccountProcess('qzefzefqzfq', 'qzefqzfzeqf', 'English', Array)
#1 /dns/in/*******/*******/libraries/ProjectSeven/Actions.php(1503): CApiIntegratorManager->LoginToAccount('qzefzefqzfq', 'qzefqzfzeqf', '', 'English')
#2 [internal function]: ProjectSeven\Actions->AjaxLogin()
#3 /dns/in/*******/*******/libraries/ProjectSeven/Service.php(95): call_user_func(Array)
#4 /dns/in/*******/*******/libraries/ProjectSeven/Boot.php(5): ProjectSeven\Service->Handle()
#5 /dns/in/*******/*******/index.php(54): include('/dns/in/*******/...')
#6 {main}
[22:41:34.13] DB : disconnect from Sqldb@sql.*******.in

[22:41:38.00] /adminpanel/index.php?pop&type=log&action=view
[22:41:38.00]
[22:41:38.00] call CWebMailModule->StandardPopAction->Services()


Thanks a lot in advance for your help,

Back to Top View Zgegman's Profile Search for other posts by Zgegman
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 04 September 2013 at 3:50am | IP Logged Quote Igor

It looks like creating new accounts on login is disabled. Make sure you have "Only already registered users can access WebMail" option unchecked under Domains > default domain settings.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Zgegman
Newbie
Newbie


Joined: 03 September 2013
Online Status: Offline
Posts: 5
Posted: 04 September 2013 at 4:54am | IP Logged Quote Zgegman

Thank you Igor for your reply.
I did try with the option "Only already registered users can access WebMail" checked and unchecked, however with the same result.
Would you be able to suggest another solution?

thanks in advance,
Back to Top View Zgegman's Profile Search for other posts by Zgegman
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 04 September 2013 at 5:12am | IP Logged Quote Igor

I'll ask the developers if they have any idea on this. In the meantime, check your GMail account settings and make sure that IMAP access is enabled, see "Forwarding and POP/IMAP" tab.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 04 September 2013 at 6:20am | IP Logged Quote Igor

Well, based on the log, "Only already registered users can access WebMail" option is to be blamed. Can you provide another log, with that option unchecked?

Note that the setting should affect AllowNewUsersRegister option in data/settings/settings.xml file, make sure this setting is actually set to On (which matches the unchecked option), we'll need the log reflecting login attempt.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Zgegman
Newbie
Newbie


Joined: 03 September 2013
Online Status: Offline
Posts: 5
Posted: 04 September 2013 at 12:44pm | IP Logged Quote Zgegman

Thanks a lot IGOR.
Even if I haven't changed anything, now it's working!
I just needed to change my password in gmail.
Back to Top View Zgegman's Profile Search for other posts by Zgegman
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide