Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: cPanel Blank Page Install Problems Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
tripflex
Newbie
Newbie
Avatar

Joined: 16 October 2013
Location: United States
Online Status: Offline
Posts: 1
Posted: 16 October 2013 at 3:59pm | IP Logged Quote tripflex

Had an older (i think version 6) of WebMail Lite installed on my cPanel server, attempted to upgrade to 7 and apparently broke everything in the process.

Attempted to do a full remove, and then install again, still had same problems.

Was able to access admin area, but when logging in with webmail and clicking on Webmail Lite icon from cPanel it would bring me to a blank page.

After spending a couple hours troubleshooting, I figured out that this URL would work and ask for login:
/3rdparty/afterlogic/

Whereas this did not:
/3rdparty/afterlogic/cpanel/cpanel.php


Looking at the code it appears something is broken with the login as this is the ONLY error I was able to find in all logs, httpd, cpanel, and afterlogic:

PHP Fatal error: Call to undefined method CApiWebmailManager::LoginToAccount() in /usr/local/cpanel/base/3rdparty/afterlogic/cpanel/cpanel.php on line 23

Ended up just having to completely remove it from the server as I can no longer get a working version to install ... help a brother out please!
Back to Top View tripflex's Profile Search for other posts by tripflex
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 16 October 2013 at 9:52pm | IP Logged Quote Igor

Most likely, your cPanel server runs an older PHP version, something like 5.2, and API fails to load which results in that error. An important point here is that cPanel has two separate PHP instances, one of them is system-wide while the other one is used by embedded apps such as webmail clients. We've encountered a number of cases when system-wide setup is 5.3 while embedded PHP is 5.2, and WebMail v7 wouldn't work there.

Unfortunately, there's no straightforward way to check actual PHP version running there, but you can add script called, say, info.php with the following content:

Code:
<?php phpinfo();


The path for that script should be /usr/local/cpanel/base/3rdparty/afterlogic/info.php and you'll need to access it with the URL ending with /3rdparty/afterlogic/info.php.

--
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: 18 October 2013 at 11:53am | IP Logged Quote Igor

It's now safe to disregard my previous message. It turned out that the installer available for download from web site was outdated. Now it's up-to-date, you can get it here.

In fact, you don't really have to reinstall the entire product, you can simply replace that particular file PHP was complaining about, /usr/local/cpanel/base/3rdparty/afterlogic/cpanel/cpanel.php, you can download it here.

--
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