Object Oriented Programming error

    Date: 08/28/07 (Web Development)    Keywords: php, html

    Hello everyone,

    I am using the Zend Framework for this site, but anyone who is familier with PHP should be able to help me. I am having an error message whenever I try to use the Zend_Auth component. I seem to be initializing something incorrectly.

    Go this page: http://www.grandillusion.tv/index/auth/login

    username: bob
    password: bob

    I get the error message:
    Fatal error: Argument 1 passed to Zend_Auth_Adapter_DbTable::__construct() must be an object of class Zend_Db_Adapter_Abstract,
    called in /home/content/g/r/a/grandillusion/html/application/controllers/AuthController.php on line 31 and
    defined in /home/content/g/r/a/grandillusion/html/library/Zend/Auth/Adapter/DbTable.php on line 112


    I can provide the source code for AuthController.php if you need to look at it.

    Source: http://community.livejournal.com/webdev/432601.html

« Needing some help with PHP... || The horrors of frames »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home