Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Webmail shows error after pop3 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
adolfo
Newbie
Newbie
Avatar

Joined: 17 October 2011
Location: Brazil
Online Status: Offline
Posts: 9
Posted: 28 March 2013 at 11:42am | IP Logged Quote adolfo

Hi, I'm experiencing an odd error, when I'm at the webmail login interface, and I click Check Messages, I get the error: "POP3 uidl() - Error: -ERR No messages." on an yellow box in front of the nice green box saying No messages.

Is this some sort of tweak that I have to make, in order for this error to not show? I've tried on IE, Chrome and Firefox. All of them show this error.



Can I disable this message?

Thanks guys.

Regards,
Adolfo
Back to Top View adolfo's Profile Search for other posts by adolfo Visit adolfo's Homepage
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6103
Posted: 28 March 2013 at 5:03pm | IP Logged Quote Igor

It's not really possible to determine what's causing this without checking the logs. You can enable debug logging in AdminPanel. If you'd like us to help you on that, please submit the logs via HelpDesk. Please also let us know which version number is used. If it's older than 6.6, we suggest to install current version separately and see if the issue persists there.

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

Joined: 17 October 2011
Location: Brazil
Online Status: Offline
Posts: 9
Posted: 28 March 2013 at 6:02pm | IP Logged Quote adolfo

Igor, here is the log:

[00:52:26.80] call CProModule->StandardPostAction->ServicesLogging()
[00:52:26.80] Location: index.php?root

[00:52:26.86] /adminpanel/index.php?root
[00:52:26.86]
[00:52:26.86] call CWebMailModule->PopulateData->ServicesLogging()
[00:52:26.86] call CProModule->PopulateData->ServicesLogging()

[00:52:30.75] [POST(1)] /check-mail.php?param=0.8207994711119682
[00:52:30.75] POST > [Type]
[00:52:30.75]
[00:52:30.75] DB : connected to webmail@localhost
[00:52:30.75] DB[1] > SELECT `id_acct`, `id_user`, `id_domain`, `id_realm`, `deleted`, `def_acct`, `mailing_list`, `quota`, `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`, `def_order`, `getmail_at_login`, `mail_mode`, `mails_on_server_days`, `signature`, `signature_type`, `signature_opt`, `delimiter`, `mailbox_size`, `namespace`, `custom_fields` FROM awm_accounts WHERE `id_acct` = 6
[00:52:30.75] DB[2] > SELECT `id_domain`, `id_realm`, `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 `id_domain` = 7
[00:52:30.77] DB[3] > SELECT `id_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `last_login`, `logins_count`, `def_skin`, `def_lang`, `def_editor`, `save_mail`, `layout`, `incoming_charset`, `def_timezone`, `def_time_fmt`, `def_date_fmt`, `client_timeoffset`, `question_1`, `question_2`, `answer_1`, `answer_2`, `capa`, `custom_fields` FROM awm_settings WHERE `id_user` = 6
[00:52:30.77] CM: Check mail type = 0
[00:52:30.77] DB[4] > SELECT p.id_folder, p.id_parent, p.type, p.name, p.full_path, p.sync_type, p.hide, p.fld_order, p.flags,
     COUNT(messages.id) AS message_count, COUNT(messages_unread.seen) AS unread_message_count,
     SUM(messages.size) AS folder_size, MAX(folder_level) AS level
FROM (awm_folders as n, awm_folders_tree as t, awm_folders as p)
LEFT OUTER JOIN awm_messages AS messages ON p.id_folder = messages.id_folder_db
LEFT OUTER JOIN awm_messages AS messages_unread ON
     p.id_folder = messages_unread.id_folder_db AND
     messages.id = messages_unread.id AND messages_unread.seen = 0
WHERE n.id_parent = -1
     AND n.id_folder = t.id_parent
     AND t.id_folder = p.id_folder
     AND p.id_acct = 6
GROUP BY p.id_folder
ORDER BY p.fld_order
[00:52:30.78] POP3 : start connect to 192.168.254.4:110
[00:52:30.78] POP3 < +OK <241956945.10567@***erv.com>, MercuryP/NLM v1.48 ready.\r\n
[00:52:30.78] POP3 > USER ***erv
[00:52:30.78] POP3 < +OK ***serv.\r\n
[00:52:30.78] POP3 > PASS ****
[00:52:31.67] POP3 < +OK 0 messages (90030604 bytes)\r\n
[00:52:31.67] POP3 > STAT
[00:52:31.67] POP3 < +OK 0 90030604\r\n
[00:52:31.67] POP3 > UIDL
[00:52:31.67] POP3 < -ERR No messages.\r\n
[00:52:31.67] POP3 Error: POP3 uidl() - Error: -ERR No messages.

[00:52:31.67] DB[5] > SELECT str_uid AS uid
                         FROM awm_reads
                         WHERE id_acct = 6
[00:52:31.67] POP3 > QUIT
[00:52:31.67] POP3 < +OK mu***.com Server closing down.\r\n
[00:52:31.67] DB : disconnect from webmail@localhost

[00:52:35.25] /adminpanel/index.php?mode=dav
[00:52:35.25]
[00:52:35.25] call CWebMailModule->PopulateData->ServicesDav()
[00:52:35.25] call CProModule->PopulateData->ServicesDav()

[00:52:36.75] /adminpanel/index.php?mode=logging
[00:52:36.75]
[00:52:36.75] call CWebMailModule->PopulateData->ServicesLogging()
[00:52:36.75] call CProModule->PopulateData->ServicesLogging()

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


Sorry if I'm posting here, I did not have purchased yet the Pro Version, I'm using it for 10 days now, and I'm not sure if I can use the helpdesk without having a license.

Another info, the message is there, and there is an close button, when I close this info there is a green box underneath with the message No messages. So, i'm thinking thats an odd error indeed, that's why I came here to ask you guys.

Thanks again Igor for the help, and hope we can correct it.

PS: My server is running on VMware, with a VM running Centos6.4. The version of the webmail is the latest, 6.6.

Regards,
Adolfo.
Back to Top View adolfo's Profile Search for other posts by adolfo Visit adolfo's Homepage
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6103
Posted: 28 March 2013 at 6:07pm | IP Logged Quote Igor

Thanks for the logs, I'll ask the developers to check this and see what can be done about the problem. The message doesn't look critical indeed, so hopefully there's a simple way to get rid of it.

Using HelpDesk is perfectly fine if you have a trial license, and it allows for posting logs in a private manner. But if you're fine with posting things like this one on a forum, we're fine with that too

--
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: 6103
Posted: 29 March 2013 at 4:11am | IP Logged Quote Igor

In common/class_pop3.php file, locate the following code (line ~729):

Code:
$sResponse = $this->_getnextstring();
if (substr($sResponse, 0, 1) != '+')
{
    $this->error = 'POP3 uidl() - Error: '.$sResponse;
    $this->setGlobalErrorAndWriteLog();
    return false;
}


and replace it with:

Code:
$sResponse = $this->_getnextstring();
if (substr($sResponse, 0, 1) === '-' && preg_match('/no message/i', $sResponse))
{
    return array();
}

if (substr($sResponse, 0, 1) != '+')
{
    $this->error = 'POP3 uidl() - Error: '.$sResponse;
    $this->setGlobalErrorAndWriteLog();
    return false;
}


Let us know if the fix has helped. Thanks!

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

Joined: 17 October 2011
Location: Brazil
Online Status: Offline
Posts: 9
Posted: 01 April 2013 at 5:01am | IP Logged Quote adolfo

Thanks Igor. That code have fixed the message. It was kind of odd, and not critical at all, like you said, but it was somehow ugly to see.

Thanks a lot for the help.

Regards,

Adolfo
Back to Top View adolfo's Profile Search for other posts by adolfo Visit adolfo's Homepage
 

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