Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Uncaught Exception Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
joerg.giencke
Newbie
Newbie
Avatar

Joined: 28 February 2015
Location: Germany
Online Status: Offline
Posts: 12
Posted: 28 February 2015 at 4:39pm | IP Logged Quote joerg.giencke

Hi,

using ?postlogin with wrong credentials leads to an uncaught exception (blank screen).

This is caused by a missing backslash (wrong namespace) in /libraries/ProjectSeven/Service.php at line 917.

917:    catch (Exception $oEx)

has to be

917:    catch (\Exception $oEx)

Jörg
Back to Top View joerg.giencke's Profile Search for other posts by joerg.giencke Visit joerg.giencke's Homepage
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 01 March 2015 at 5:57am | IP Logged Quote Igor

That's a known problem and the fix for it was already implemented so it will be available in upcoming version 7.5. To fix it in your version, locate the following code in libraries/ProjectSeven/Service.php file:

Code:
catch (Exception $oEx)
{
    echo $oEx->getMessage();
    exit;      
}


It should be modified as follows:

Code:
catch (\CApiManagerException $oEx)
{
    echo $oEx->getMessage();
    exit;      
}


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