Hi!! i'm newbie in PHP's world and i trying execute a simple query with php 5 and interbase 7, but, when i execute $db = ADONewConnection('ibase'), get the next error:
PHP Fatal error: Class ADODB_Iterator contains 1 abstract methods and must therefore be declared abstract (Iterator::hasMore) in c:\PHP\adodb\adodb-iterator.inc.php on line 66
what's wrong?
Thanks. Bruno
This is related to the new PHP object model, see
Abstract functions (like Iterator::hasMore) CAN NOT be called, but they are listed so that people will extend the class and create their own function with that name, like:
class MyIterator extends Iterator function hasMore() { // Does whatever you code here, see notes from Iterator author } }
Contact whoever created that file, and ask them to either make the Iterator class abstract or get rid of the abstract functions. If the author makes the Iterator class abstract, you'll need to do something like I have above.
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php