Skip to content
Advertisement

Zend framework ‘Method “init” does not exist

JavaScript

When I submit POST I get Fatal error:

JavaScript

I try to disable layout with:

JavaScript

But also get same Fatal error.

I get an error in this line :

JavaScript

Where can be problem in my aplication ?

Advertisement

Answer

I think the error comes from the adapter you’re using. If you’re athenticating the user via a database table, I suggest you to use this code insatead :

JavaScript

You could also see this post or you may refer to the Database Table Authentication doc.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement