Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: PHP Errors Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
dla
Newbie
Newbie


Joined: 20 February 2013
Location: United States
Online Status: Offline
Posts: 8
Posted: 26 February 2013 at 9:43am | IP Logged Quote dla

Hi, I had a linux box/qmail install fail on us not to long ago (drive errors...) and I created a new install but with PHP 5.1.6 only this time (we're short on time!) since I read in another thread that I could install and run Webmail Lite without PHP 5.3 just fine. Unfortunately, I'm getting these error messages on the interface:

Data transfer has failed, probably due to server error. Please contact system administrator.

I looked at the debug logs within the adminpanel after double checking this with other accounts (reading, sending and navigating to other IMAP folders produces the same error!) these accounts work fine via Squirrelmail and operate like it should with MS Outlook; I looked at our httpd error logs to find this:

(the logs have been redacted)

[Tue Feb 26 11:24:14 2013] [error] [client x.x.x.x] PHP Warning: Unexpected character in input: '\\' (ASCII=92) state=1 in /var/.../webmail/libraries/afterlogic/common/managers/contacts/storages/sabredav/storage.php on line 112, referer: http://mydomain.com/webmail/webmail.php


[Tue Feb 26 11:24:14 2013] [error] [client x.x.x.x] PHP Parse error: syntax error, unexpected T_STRING in /var/.../webmail/libraries/afterlogic/common/managers/contacts/storages/sabredav/storage.php on line 112, referer: http://mydomain.com/webmail/webmail.php

I understand just a tiny portion about PHP code and I cannot see what's wrong with line 112 in the storage.php file and I noticed a reference to another php file in ../afterlogic/DAV/Server.php as well; maybe there something I can change? I don't know, I'm not well versed in writing applications via PHP & Javascript.

Thanks!

EDIT:
I should clarify that the when webmail interface produces the "Data tranfer.." error, nothing shows up in the preview pane on the right. But I can still open the message when double clicking it, and sending, etc. Thanks!
Back to Top View dla's Profile Search for other posts by dla
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 26 February 2013 at 10:14pm | IP Logged Quote Igor

While WebMail Lite doesn't really require PHP 5.3 to run, 5.2 is a minimal requirement there, it's not supposed to run on 5.1.* so make sure you have 5.2.0 at least.

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


Joined: 20 February 2013
Location: United States
Online Status: Offline
Posts: 8
Posted: 27 February 2013 at 10:41am | IP Logged Quote dla

Upgraded to PHP 5.2.17 and it did warn me like you mentioned, but I got it working now with no errors!

Thanks!
Back to Top View dla's Profile Search for other posts by dla
 

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