resources.db.isDefaultTableAdapter = true
Am 25.11.2009 16:50, schrieb Jigal sanders:
doesn't work.
On Wed, Nov 25, 2009 at 4:49 PM, Andre Fernandes <fernandes.andre@gmail.com> wrote:
Correcting myself,
resourses.db.isDefaultTableAdapter = true
Try to insert at your INI file the following line:
Ignore the other mail answer...
Andre.
2009/11/25 Jigal sanders <jigalroecha@gmail.com>
Hello everyone.
I am following this tutorial. http://www.youtube.com/user/integral30#p/c/90503BB7541343E9/7/4oNo-l6c-H0
But i am getting an error:
Catchable fatal error: Argument 1 passed to Zend_Auth_Adapter_DbTable::__construct() must be an instance of Zend_Db_Adapter_Abstract, null given, called in K:\xampp\htdocs\nrka\application\controllers\AuthenticationController.php on line 44 and defined in K:\xampp\php\PEAR\Zend\Auth\Adapter\DbTable.php on line 128
And this is the method:
private function getAuthAdapter(){
$authAdapter = new Zend_Auth_Adapter_DbTable(Zend_Db_Table::getDefaultAdapter());
$authAdapter->setTableName('persons')
->setIdentityColumn('per_email')
->setCredentialColumnt('per_passoword')
->setCredentialTeatment("MD5");
return $authAdapter;
}
I have set the resources in my ini file:
resourses.db.adapter = mysqli
resourses.db.params.host = localhost
resourses.db.params.username = root
resourses.db.params.password =
resourses.db.params.dbname = zftutorial
That's going wrong?
--
André de Camargo Fernandes
--
Met vriendelijke groet,
Jigal Sanders
A.J. Ernststraat 739
1082 LK Amsterdam
Mobiel: 06-42111489
-- ------------------------------------------------------------ Christoph Rust Senior Software Developer von Affenfels GmbH Kronenstraße 40 D-70174 Stuttgart Telefon +49 (0) 711 305 890-36 Telefax +49 (0) 711 305 890-90 http://www.vonaffenfels.de | christoph.rust@vonaffenfels.de Sitz der Gesellschaft: Stuttgart Handelsregister Stuttgart HRB 728101 Geschäftsführer: Christian Jehle, Jürgen Knispel
没有评论:
发表评论