For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > October 2005 > DB Table troubles









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author DB Table troubles
Jay Callicott

2005-10-25, 3:56 am

Any idea why I'm getting this error? It sounds like it's not instantiating a DB object maybe but that doesn't make sense to me because I'm the DB & DB Table class in another application on the same server. Help!

Fatal error: Call to a member function on a non-object in /usr/local/lib/php/DB/Table.php on line 1032

Jay
Mark Wiesemann

2005-10-25, 7:56 am

"Jay Callicott" wrote:

> Any idea why I'm getting this error? It sounds like it's not
> instantiating a DB object maybe but that doesn't make sense to me
> because I'm the DB & DB Table class in another application on the
> same server. Help!
>
> Fatal error: Call to a member function on a non-object in
> /usr/local/lib/php/DB/Table.php on line 1032


You haven't said something about your code, so I can only assume that
you maybe use the wrong username and/or password. It might help to have
a look at $object->error ($object is the instance of the class that
extends DB_Table).

Mark
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com