Author |
|
birender Newbie
Joined: 20 August 2019 Location: India
Online Status: Offline Posts: 18
|
Posted: 27 February 2020 at 3:56am | IP Logged
|
|
|
Hi,
There is an Fatal Error in PHP log for API.php
[27-Feb-2020 14:57:45 xxx/xxxx] PHP Fatal error: Uncaught Error: Call to undefined function Aurora\System\tolowercase() in /webmail/system/Api.php:1249
Stack trace:
#0 /webmail/modules/RecaptchaWebclientPlugin/Module.php(127): Aurora\System\Api::getCookiePath()
#1 /webmail/system/EventEmitter.php(166): Aurora\Modules\RecaptchaWebclientPlugin\Module->onAfterLogin(Array, false, NULL)
#2 /webmail/system/Module/Manager.php(757): Aurora\System\EventEmitter->emit('Core', 'Login::after', Array, false, Object(Closure))
#3 /webmail/system/Module/AbstractModule.php(446): Aurora\System\Module\Manager->broadcastEvent('Core', 'Login::after', Array, false)
#4 /webmail/system/Module/AbstractModule.php(852): Aurora\System\Module\AbstractModule->broadcastEvent('Login::after', Array, false)
#5 /webmail/system/Module/Decorator.php(55): Aurora\System\Module\AbstractModule->CallMethod('Login', Array)
#6 /webmail/modules/Dav/Module.php(570): Aurora\System\Module\Decorator->__call('Login', Array)
#7 [ in /webmail/system/Api.php on line 1249
Regards,
Birender
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 27 February 2020 at 3:58am | IP Logged
|
|
|
Hello,
Can you please confirm which version you're on?
Also, is my understanding correct that the issue occurs if you try to enable ReCaptcha functionality?
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 27 February 2020 at 4:16am | IP Logged
|
|
|
In fact, it looks like there's indeed an issue in the code. To correct it, modify line 1249 in system/Api.php file:
Code:
if (count($aPath) > 0 && ($sLastPathItem !== '' || tolowercase(substr($sLastPathItem, -1)) === '.php')) |
|
|
as follows:
Code:
if (count($aPath) > 0 && ($sLastPathItem !== '' || strtolower(substr($sLastPathItem, -1)) === '.php')) |
|
|
We hope this helps.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
birender Newbie
Joined: 20 August 2019 Location: India
Online Status: Offline Posts: 18
|
Posted: 02 March 2020 at 12:47am | IP Logged
|
|
|
Igor wrote:
Hello,
8.3.17-build-a3
Can you please confirm which version you're on?
Also, is my understanding correct that the issue occurs if you try to enable ReCaptcha functionality?
--
Regards,
Igor, Afterlogic Support |
|
|
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 02 March 2020 at 12:48am | IP Logged
|
|
|
Thanks. Did you try the suggested code modification, and did it help?
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|