Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Error on plesk installation Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
francesco
Newbie
Newbie
Avatar

Joined: 06 June 2013
Online Status: Offline
Posts: 14
Posted: 06 June 2013 at 11:08am | IP Logged Quote francesco

I try to install afterlogic webmail lite (and also pro) on Plesk 10.4.4 on my Windows server 2008 according to:

http://www.afterlogic.com/wiki/Plesk_integration_(WebMail_Pro_6_PHP)#For_hosting_clients

But in the last step when i install webmail into application of the selected domain, i click on "install" and i receive:

Error: Installation of AfterLogic WebMail Pro at http://xxxx.com//webmail failed. Non-zero exit status returned by script. Output stream: 'Warning: Unexpected character in input: '\' (ASCII=92) state=1 in C:\Inetpub\vhosts\xxxx.com\httpdocs\webmail\libraries\afterlogic\api.php on line 661 Parse error: syntax error, unexpected T_STRING in C:\Inetpub\vhosts\xxxx.eu\httpdocs\webmail\libraries\MailSo\MailSo.php on line 3'.

What can i do?
Back to Top View francesco's Profile Search for other posts by francesco
 
Igor
AfterLogic Support
AfterLogic Support


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

We didn't encounter such issues with WebMail, be it Lite or Pro. Most probably, your system runs PHP 5.2, while at least version 5.3 is required.

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

Joined: 06 June 2013
Online Status: Offline
Posts: 14
Posted: 07 June 2013 at 2:11am | IP Logged Quote francesco

I have installed 5.3.25 PHP version. I try also with 5.4.15 but i receive the same error.
I resolve the first error when i remove "\" from api.php but i cannot resolve the error in MailSo.php. At the line 3 in MailSo.php there is this code:

namespace MailSo;

and the error is: Parse error: syntax error, unexpected T_STRING

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


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

I'm almost 100% certain that the error you're getting is thrown when PHP fails to understand the namespaces, and that was the case with PHP 5.2 and older versions. We're not Plesk experts ourselves, so the question is: are you sure that setting PHP version to 5.3 or above applies to the domain you're trying to install the product to? In other words, is there a chance that there's still PHP 5.2 running out there somewhere?

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

Joined: 06 June 2013
Online Status: Offline
Posts: 14
Posted: 07 June 2013 at 6:19am | IP Logged Quote francesco

Hi Igor, i find the solution. I share it if someone have the same issue:

- if you install afterlogic webmail lite or pro v.7 into Plesk (version 10 or 11 in my case) you must set the php version 5.3 or + not only in the selected domain but also in the plesk admin panel! To do this follow this article:

http://kb.parallels.com/6670

and remember to restart plesk services.

Now i have another issue, but i open another thread..

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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 07 June 2013 at 7:32am | IP Logged Quote Igor

Thanks for sharing the solution, I believe it might be extremely helpful for other Plesk users.

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

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