Fix [MMO] Impersonate User [Free Add-ons]

Sunka

New member
Joined
May 22, 2020
Messages
2
Reaction score
1
Points
3
As posted on xenforo forum.

When clicking to revert www.example.com/impersonate/logout-as-user we get 404 page.
So link for log out from impersonate user is not working.

Also, when try to log out impersonate user I get just missing phrase miu_impersonate_cant_logout

Disabled for now.

Edit: Also, maybe this server error log help you :)

Code:
Server error log
ErrorException: [E_NOTICE] Undefined index: sendDefault src/addons/MMO/ImpersonateUser/Service/Impersonate/Impersonate.php:85
Generated by: Sunka 22.05.2020. at 03:01
Stack trace
#0 src/addons/MMO/ImpersonateUser/Service/Impersonate/Impersonate.php(85): XF::handlePhpError()
#1 src/addons/MMO/ImpersonateUser/ControllerPlugin/Impersonate.php(26): MMO\ImpersonateUser\Service\Impersonate\Impersonate->login()
#2 src/addons/MMO/ImpersonateUser/Pub/Controller/Impersonate.php(39): MMO\ImpersonateUser\ControllerPlugin\Impersonate->setupLoginAsUser()
#3 src/XF/Mvc/Dispatcher.php(350): MMO\ImpersonateUser\Pub\Controller\Impersonate->actionLoginAsUser()
#4 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#5 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#6 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#7 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#8 src/XF.php(391): XF\App->run()
#9 index.php(20): XF::runApp()
#10 {main}
Request state
array(4) {
  ["url"] => string(26) "/impersonate/login-as-user"
  ["referrer"] => string(69) "https://www.pijanitvor.com/impersonate/login-as-user?username=tester2"
  ["_GET"] => array(1) {
    ["/impersonate/login-as-user"] => string(0) ""
  }
  ["_POST"] => array(6) {
    ["username"] => string(7) "tester2"
    ["reason"] => string(10) "testiranje"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(43) "/impersonate/login-as-user?username=tester2"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 

kick

Administrator
Staff member
Joined
Apr 7, 2020
Messages
186
Reaction score
227
Points
43
When clicking to revert www.example.com/impersonate/logout-as-user we get 404 page.
Fix
Also, when try to log out impersonate user I get just missing phrase miu_impersonate_cant_logout
Fix
Edit: Also, maybe this server error log help you :)
Can you provide what you have set up?
1590135637286.png
 

65451651651651

New member
Joined
May 26, 2020
Messages
1
Reaction score
0
Points
1
I downloaded v2.1.2 and still not fixed :/
"The requested page could not be found."
 

kick

Administrator
Staff member
Joined
Apr 7, 2020
Messages
186
Reaction score
227
Points
43
1590571249231.png

1590571262337.png

what am I doing wrong?
 
Top