On Tue, May 19, 2009 at 8:24 PM, Ivan Wills <span dir="ltr">&lt;<a href="mailto:ivan.wills@gmail.com">ivan.wills@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<font size="2">I tried that but still get the same error. It looks like the user_model is not being picked up by Catalyst::Authentication::Store::DBIx::Class. I also tried getting Catalyst::Runtime 5.80004 but that hasn&#39;t helped.<br>

<br>Ivan<br><br></font><div class="gmail_quote"></div></blockquote><div><br>I think there are a few problems... one, the documentation for Catalyst::Authentication::Store::DBIx::Class uses the deprecated &#39;authentication&#39; configuration key.  If you have something else that uses the current &#39;Plugin::Authentication&#39; key that will take precedence (and I&#39;m not sure if they&#39;re merged).<br>
<br>So, make sure that all your config for authentication uses the &#39;Plugin::Authentication&#39; key (__PACKAGE__-&gt;config( &#39;Plugin::Authentication&#39; =&gt; { ... } ) and then move to #2:<br><br>Something else is setting user_model to DB::User -- as the original error message indicates that is the resultset being requested from configuration.  <br>
<br>Do a grep through your config for &quot;user_model&quot; and also run a request with ?dump_info=1 appended to get the forced Debug screen. While running the server under debug mode, just <a href="http://localhost:3000/?dump_info=1">http://localhost:3000/?dump_info=1</a> should be sufficient.  The ?dump_info=1 technique will only work on actions that find their way to ActionClass(&#39;RenderView&#39;), if you are using REST or a custom end action you may not get the debug screen.<br>
<br>The ?dump_info will get your config the way Catalyst sees it, which is better than what you may guess it is ;)<br><br>-J<br><br></div></div>