Configuring the othAuth Component for Cake 1.2 pre-Beta

Misc Add comments

I wanted the latest Cake-PHP dbo_source.php to use with MS SQL Server because there has been a ridiculous amount of recent bug fixes but when I updated I lost the othAuth component functionality.

I started by following the post here about using othAuth in 1.2 pre-beta but I was still getting some errors and ‘deprecated function’ warnings. What worked for me was not adding the line:

<code>
$this->othAuthRestrictions = Configure::read(’Routing.admin’);
</code>

in the beforeFilter() function in app_controller.php as recommended in the post.

I then did some cleaning to eliminate the warnings. The final code I used is here.

2 Responses to “Configuring the othAuth Component for Cake 1.2 pre-Beta”

  1. Guillermo Mansilla Says:

    Dind’t work.

  2. nuno Says:
    oO(What version of MS SQL Server are you using?)
WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in