Re: Authake error

2014-05-20 Thread Julio Rodriguez
*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,

Re: Authake error

2014-05-15 Thread Reuben
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

Re: Authake error

2014-05-15 Thread Reuben
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.

Authake error

2014-05-14 Thread Julio Rodriguez
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 -