Not sure where to report this bug
| From: | Brian Abent | Date: | Thu, 14 Mar 2002 19:10:15 +0000 |
| Subject: | Not sure where to report this bug | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-4978@lists.php.net to get a copy of this message | ||
I have encountered the following problem:
Warning: Problem with method call - please report this bug in
/tiny/dev/brian/paperstyle/phplib/user.php on line 141
Here is where I am getting the error (the call to PEAR::isError($dbr)):
$query = "select ...";
$dbr = $this->db->query($query);
if (PEAR::isError($dbr)) {
return $dbr;
}
Here is the contents of $dbr:
db_error Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
[code] => -19
[message] => DB Error: no such field
[userinfo] => select
username,user_id,password,name_first,name_last,users.active from users
where ((upper(username) like upper('%brian%')) or (upper(name_last) like
upper('%brian%'))) [nativecode=ERROR: Attribute 'name_first' not found
]
[callback] =>
)
What other information is needed?