Author |
|
citizennn Newbie
Joined: 28 September 2012
Online Status: Offline Posts: 3
|
Posted: 28 September 2012 at 8:18am | IP Logged
|
|
|
Hello
First sorry for my poor english. I'll try to do my best.
So, I've install Afterlogic Webmail lite on Gentoo. Everything all right (send and receive, login, etc) but i have just a bug :
After clic on "send button" nothing happen and a message appear "Data transfer has failed. contact etc".
The mail was sent without any problem. I reveive it on my gmail adress. But normaly, after sending i return to the mail box ??
I watch my console and find this error message :
"<-- Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /home/creditdomus/webmail/libraries/Sabre/CalDAV/Plugin.php on line 586 -->"
Very strange.
webmail was hosting here : webmail.creditdomus.com
You can check my log here :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>
[14:24:34.33] [POST(4)] /adminpanel/index.php?submit
[14:24:34.33] POST > [form_id, ch_EnableDebugLogging, selVerbosity, submit_btn]
[14:24:34.33]
[14:24:34.33] Location: index.php
[14:24:34.44] /adminpanel/index.php
[14:24:34.44]
[14:24:34.44] call CWebMailModule->PopulateData->ServicesLogging()
[14:24:35.94] /adminpanel/index.php?pop&type=log&action=view
[14:24:35.94]
[14:24:35.94] call CWebMailModule->StandardPopAction->Services()
[14:24:41.32] [POST(1)] /processing.php
[14:24:41.32] POST > [xml]
[14:24:41.32]
[14:24:41.32] POST[xml] = <?xml version="1.0" encoding="utf-8"?><webmail><param name="token" value="8eaa2845f2023359231e3567561bf5ca"/><param name="action" value="send"/><param name="request" value="message"/><message id="272" x-fid="" from_acct_id="1" from_identity_id="-1" sensivity="0" size="0" priority="3" save_mail="1" autosave="0"><uid><![CDATA[272]]></uid><headers><from><![CDATA[admXXX@creditdomus.com]]></from><to><![CDATA[XXXXX@gmail.com]]></to><cc><![CDATA[]]></cc><bcc><![CDATA[]]></bcc><subject><![CDATA[dfg]]></subject><groups></groups></headers><body is_html="0"><![CDATA[df]]></body><attachments></attachments></message></webmail>
[14:24:41.33] CAppServer->DoSendMessage
[14:24:41.34] DB : connected to admXXXX@localhost
[14:24:41.34] 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` = 1
[14:24:41.36] DB[2] > 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`, `question_1`, `question_2`, `answer_1`, `answer_2`, `capa`, `custom_fields` FROM awm_settings WHERE `id_user` = 1
[14:24:41.38] DB[3] > 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 = 1
GROUP BY p.id_folder
ORDER BY p.fld_order
[14:24:41.39] [SMTP] Connecting to server 127.0.0.1 on port 25
[14:24:41.39] [SMTP] <<: 220 ns208801.ovh.net ESMTP
[14:24:41.39] [SMTP] >>: EHLO creditdomus.com
[14:24:41.39] [SMTP] <<: 250-ns208801.ovh.net
[14:24:41.39] [SMTP] <<: 250-PIPELINING
[14:24:41.39] [SMTP] <<: 250-STARTTLS
[14:24:41.39] [SMTP] <<: 250-8BITMIME
[14:24:41.39] [SMTP] <<: 250 SIZE 0
[14:24:41.39] [SMTP] >>: MAIL FROM:<admXXXX@creditdomus.com>
[14:24:41.39] [SMTP] <<: 250 ok
[14:24:41.39] [SMTP] >>: RCPT TO:XXXXXX@gmail.com>
[14:24:41.39] [SMTP] <<: 250 ok
[14:24:41.39] [SMTP] >>: DATA
[14:24:41.39] [SMTP] <<: 354 go ahead
[14:24:41.39] [SMTP] >>: MIME-Version: 1.0
X-Mailer: AfterLogic WebMail PHP
X-Originating-IP: 78.192.22.90
X-Priority: 3 (Normal)
Message-ID: <06563f3.1ffeb4fc69aedbf0b32082f7e9cfd353@webmail.creditdomus.com>
From: admXXXX@creditdomus.com
To: XXXXXXXX@gmail.com
Subject: dfg
Date: Fri, 28 Sep 2012 14:24:41 +0000 (GMT)
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: Quoted-Printable
df
.
[14:24:41.51] [SMTP] <<: 250 ok 1348842281 qp 12555
[14:24:41.52] [SMTP] >>: QUIT
[14:24:41.52] [SMTP] <<: 221 ns208801.ovh.net
[14:24:41.52] IMAP4 : start connect to 127.0.0.1:143
[14:24:41.52] IMAP4 < * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.\r\n
[14:24:41.52] IMAP4 > LGN8291 LOGIN "admXXXX@creditdomus.com" "*******"
[14:24:41.52] IMAP4 < LGN8291 OK LOGIN Ok.\r\n
[14:24:41.52] IMAP4 > APP5755 APPEND "INBOX.Sent Items" (\Seen) {411}
[14:24:41.52] IMAP4 < + OK\r\n
[14:24:41.52] IMAP4 > MIME-Version: 1.0
X-Mailer: AfterLogic WebMail PHP
X-Originating-IP: 78.192.22.90
X-Priority: 3 (Normal)
Message-ID: <06563f3.1ffeb4fc69aedbf0b32082f7e9cfd353@webmail.creditdomus.com>
From: admXXXX@creditdomus.com
To: XXXXXX@gmail.com
Subject: dfg
Date: Fri, 28 Sep 2012 14:24:41 +0000 (GMT)
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: Quoted-Printable
df
[14:24:41.52] IMAP4 < APP5755 OK [APPENDUID 1348819447 14] APPEND Ok.\r\n
[14:24:41.53] 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 = 1
GROUP BY p.id_folder
ORDER BY p.fld_order
[14:24:41.53] IMAP4 > MBX1584 SELECT "INBOX.Drafts"
[14:24:41.53] IMAP4 < * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)\r\n
[14:24:41.53] IMAP4 < * OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited\r\n
[14:24:41.53] IMAP4 < * 7 EXISTS\r\n
[14:24:41.53] IMAP4 < * 0 RECENT\r\n
[14:24:41.53] IMAP4 < * OK [UIDVALIDITY 1348819447] Ok\r\n
[14:24:41.53] IMAP4 < * OK [MYRIGHTS "acdilrsw"] ACL\r\n
[14:24:41.53] IMAP4 < MBX1584 OK [READ-WRITE] Ok\r\n
[14:24:41.53] IMAP4 > STR9864 UID STORE 272 +FLAGS (\Deleted)
[14:24:41.53] IMAP4 < * 7 FETCH (UID 272 FLAGS (\Seen \Deleted))\r\n
[14:24:41.53] IMAP4 < STR9864 OK STORE completed.\r\n
[14:24:41.53] IMAP4 > CmdRepeat: SELECT "INBOX.Drafts"
[14:24:41.53] IMAP4 > CAP9448 CAPABILITY
[14:24:41.53] IMAP4 < * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION\r\n
[14:24:41.53] IMAP4 < CAP9448 OK CAPABILITY completed\r\n
[14:24:41.53] IMAP4 > EXP3713 UID EXPUNGE 272
[14:24:41.53] IMAP4 < * 7 EXPUNGE\r\n
[14:24:41.53] IMAP4 < * 6 EXISTS\r\n
[14:24:41.53] IMAP4 < * 0 RECENT\r\n
[14:24:41.53] IMAP4 < EXP3713 OK EXPUNGE completed\r\n
[14:24:41.57] IMAP4 > LGT9550 LOGOUT
[14:24:41.57] IMAP4 < * BYE Courier-IMAP server shutting down\r\n
[14:24:41.57] IMAP4 < LGT9550 OK LOGOUT completed\r\n
[14:24:45.29] /adminpanel/index.php?pop&type=log&action=view
[14:24:45.29]
[14:24:45.29] call CWebMailModule->StandardPopAction->Services()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>
I change mail adress and db name
This bug appear again when i use the prédictive mode on email adress input.
If someone, can help me.
Thx in advance
><-- Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /home/creditdomus/webmail/libraries/Sabre/CalDAV/Plugin.php on line 586 --><-- Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /home/creditdomus/webmail/libraries/Sabre/CalDAV/Plugin.php on line 586 -->
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 28 September 2012 at 3:30pm | IP Logged
|
|
|
Can you confirm you run PHP 5.3 version, or maybe an older one?
Recently, we've released updated versions for both WebMail Lite and Pro, those should work fine under PHP 5.2, so be sure to check if you run the most recent version. And though Pro functionality will be limited in such case, Lite users will not experience any difference.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
citizennn Newbie
Joined: 28 September 2012
Online Status: Offline Posts: 3
|
Posted: 28 September 2012 at 3:54pm | IP Logged
|
|
|
I'm running PHP 5.2.1... and my Webmail lite version : 6.5.1
I'm reading about your upgrade, and that why i'm waiting it before install Webmail on this system.
thx Igor
|
Back to Top |
|
|
citizennn Newbie
Joined: 28 September 2012
Online Status: Offline Posts: 3
|
Posted: 28 September 2012 at 4:25pm | IP Logged
|
|
|
Maybe there is something interesting here :
T Function
In plugin.php file we have :
586 $objects = array_map(function($child) {
587 $obj = $child->get();
588 if (is_resource($obj)) {
589 $obj = stream_get_contents($obj);
590 }
591 return $obj;
592 }, $calendar->getChildren());
I'm not a good php dev, but we have a anonymous function line 586...
I'll continu to looking for a solution. I always use this very good webmail but i'can't upgrade php on this system...
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 30 September 2012 at 3:35am | IP Logged
|
|
|
That's strange, I was quite certain we uploaded 6.5.2 version but it's still 6.5.1 on download page. I will check this on Monday and will make sure the package for download is updated - if Lite version 6.5.2 was actually built, of course.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 30 September 2012 at 3:53am | IP Logged
|
|
|
I've just rechecked this, and it turns out that the latest Lite version available for download is indeed 6.5.2 - even though the changelog isn't updated there, content of VERSION file is correct. Thus, you should download the latest version and update your installation, that should resolve the issue you encountered.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
|
|