Author |
|
joerg.giencke Newbie
Joined: 28 February 2015 Location: Germany
Online Status: Offline Posts: 12
|
Posted: 28 February 2015 at 4:39pm | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 01 March 2015 at 5:57am | IP Logged
|
|
|
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 |
|
|