Also, can you describe you PHP setup? Are you using an opcode cache or
something like zend optimizer?
-ralph
Hector Virgen wrote:
> Are you calling authenticate statically? If so, get the singleton
> instance and call it on that instead:
>
> $auth = Zend_Auth::getInstance();
> $auth->authenticate($adapter);
>
> --
> *Hector Virgen*
> Sr. Web Developer
> Walt Disney Parks and Resorts Online
> http://www.virgentech.com
>
>
>
> On Sun, Jul 25, 2010 at 2:00 AM, jiewmeng <jiewmeng@gmail.com
> <mailto:jiewmeng@gmail.com>> wrote:
>
> i am using a custom |Zend_Auth_Adapter| i implemented. code is here
> <http://pastebin.com/c6KtipqP>. when i do a
> |Zend_Auth::authenticate($adapter);|, i get "/Method "hasIdentity"
> does not exist and was not trapped in __call()/". i noticed that the
> problem comes from the class |Zend_Auth|. abt line 123
>
> |if ($this->hasIdentity()) {
> $this->clearIdentity();
> }|
>
> but the funny thing is just below that function, is |public function
> hasIdentity()| so the function exists definately??
>
> ------------------------------------------------------------------------
> View this message in context: Method "hasIdentity" does not exist
> and was not trapped in __call()
> <http://zend-framework-community.634137.n4.nabble.com/Method-hasIdentity-does-not-exist-and-was-not-trapped-in-call-tp2301470p2301470.html>
> Sent from the Zend Auth mailing list archive
> <http://zend-framework-community.634137.n4.nabble.com/Zend-Auth-f676055.html>
> at Nabble.com.
>
>
没有评论:
发表评论