Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Account switching broken in PDA interface Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
basta11
Newbie
Newbie


Joined: 21 February 2011
Online Status: Offline
Posts: 1
Posted: 21 February 2011 at 4:25pm | IP Logged Quote basta11

I use WebMail Pro with 4 email accounts added to one main account I use to login. When I now switch the account in the PDA interface I only get the following error message:
Code:
Fatal error: Class 'User' not found in /webmail/pda/core/pda_actions.php on line 136


The relevant code snippet in lines 133-148 is the following:
Code:
     function DoChangeAccount()
     {
           $newAccoutnId = Get::val('acct_id', false);
           if ($newAccoutnId && User::AccountAccess($newAccoutnId))
           {
                $account  = Account::LoadFromDb($newAccoutnId, false, false);
                
                $_SESSION [ACCOUNT_ID] = $account->Id;
                $_SESSION [SESSION_LANG] = $account->DefaultLanguage;
           }
           else
           {
                $this->_error  = PROC_WRONG_ACCT_ACCESS;
           }
           $this->_url = '?'.PDA_SCREEN.'='.PDA_SCREEN_MAILBOX;
     }

Now neither the class User, nor the class Account is available here, so I can't switch the account. Can anyone give me a (temporary) workaround?
Back to Top View basta11's Profile Search for other posts by basta11
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 22 February 2011 at 2:29am | IP Logged Quote Igor

That's a known issue, a fix for it will become available in upcoming 6.0.2 release expected till the end of the month.

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