-- Eddie Wilson <[EMAIL PROTECTED]> wrote
(on Tuesday, 07 August 2007, 12:50 PM -0700):
> 
> Is anyone using Framework on the i5?
> 
> I tried to run the zfgrid sample application on an i5 but ran into a few
> problems. First, there was a parenthesis missing at the end of line 298 of
> Zend/Db/Statement/Db2.php. Upon fixing that I received the following:
> 
> Catchable fatal error: Argument 1 passed to
> Zend_Db_Table_Abstract::setDefaultAdapter() must be an instance of
> Zend_Db_Adapter_Abstract, string given, called in
> /www/zendcore/htdocs/zfgrid/document_root/index.php on line 54 and defined
> in /usr/local/Zend/ZendFramework/library/Zend/Db/Table/Abstract.php on line
> 319

This indicates to me that Zend_Db::factory() didn't return an actual
adapter instance, but instead something else. I'd look at the value of
that and determine if perhaps you need to first fix the connection
settings you're using to connect to the database.

> I see that the ZF version that is part of Zend Core 2.0.1 download is
> 0.9.2-Beta (build 4420). Would it make sense to download ZF 1.0.1 and
> replace 0.9.2? Are there special requirements for the i5?

Absolutely you should do this. And, to my knowledge, there are no
special requirements for using ZF with i5; ZF is simply bundled with
Zend Core as a convenience.

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to