*Thanks* for the feedback Reuben!
I was able to set the variable using:
$actual_link = http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI];;
$this-Authake-setPreviousUrl($actual_link);
Regards,
Julio
On Friday, May 16, 2014 12:46:46 AM UTC-5, Reuben wrote:
Actually, looking at the code,
What is your Config/routes.php looking like?
It might also be an issue with the plugin, if there was no previous url to
resolve. You may need to log an issue with the plugin author via Github.
On Thursday, 15 May 2014 03:08:26 UTC+10, Julio Rodriguez wrote:
Hello,
I'm using authake
Actually, looking at the code, getPreviousUrl assumes that the URL stored
in the session at Authake.previousUrl is either an array or a CakeRequest,
since that is what is required for Router::reverse().
You'll need to inspect the Session, and see what is being stored in
Authake.previousUrl.
Hello,
I'm using authake (https://github.com/mtkocak/authake) and getting the
following error after successful login:
Anyone know how to resolve this?
*Warning* (2): array_merge(): Argument #1 is not an array
[*CORE/Cake/Routing/Router.php*, line *1119*]
Code Context
array_merge -