Frage zu diesem Error_code aus PEAR::DB
Achim
- php
Hallo,
kann mir emand helfen diese Error-Ausgabe zu erklären
Das Ganze erfolgt mir nach dem
$this->dbcon->execute
bei connect erhalte ich noch keinen fehler
Leider habe ich mit OOP recht wenig ahnung umd die folgende ausgabe zu
entschlüsseln um auf den fehler zu kommen
object(DB_Error)#5 (8) {
["error_message_prefix"]=>
string(0) ""
["mode"]=>
int(1)
["level"]=>
int(1024)
["code"]=>
int(-7)
["message"]=>
string(18) "DB Error: mismatch"
["userinfo"]=>
string(126) "select firstname, lastname, Firma, cust_nr, Postcode,City,
Telefon ,Mobil, id from costumers where firstname
like '%thom%'"
["backtrace"]=>
array(7) {
[0]=>
array(6) {
["file"]=>
string(30) "/usr/local/lib2/lib/php/DB.php"
["line"]=>
int(748)
["function"]=>
string(10) "PEAR_Error"
["class"]=>
string(8) "DB_Error"
["type"]=>
string(2) "->"
["args"]=>
array(5) {
[0]=>
string(18) "DB Error: mismatch"
[1]=>
int(-7)
[2]=>
int(1)
[3]=>
int(1024)
[4]=>
string(126) "select firstname, lastname, Firma, cust_nr,
Postcode,City, Telefon ,Mobil, id from costumers where firstname
like '%thom%'"
}
}
[1]=>
array(6) {
["file"]=>
string(32) "/usr/local/lib2/lib/php/PEAR.php"
["line"]=>
int(536)
["function"]=>
string(8) "DB_Error"
["class"]=>
string(8) "DB_Error"
["type"]=>
string(2) "->"
["args"]=>
array(4) {
[0]=>
int(-7)
[1]=>
int(1)
[2]=>
int(1024)
[3]=>
string(126) "select firstname, lastname, Firma, cust_nr,
Postcode,City, Telefon ,Mobil, id from costumers where firstname
like '%thom%'"
}
}
[2]=>
array(6) {
["file"]=>
string(37) "/usr/local/lib2/lib/php/DB/common.php"
["line"]=>
int(500)
["function"]=>
string(10) "raiseError"
["class"]=>
string(9) "DB_mysqli"
["type"]=>
string(2) "->"
["args"]=>
array(7) {
[0]=>
NULL
[1]=>
int(-7)
[2]=>
NULL
[3]=>
NULL
[4]=>
string(126) "select firstname, lastname, Firma, cust_nr,
Postcode,City, Telefon ,Mobil, id from costumers where firstname
like '%thom%'"
[5]=>
string(8) "DB_Error"
[6]=>
bool(true)
}
}
[3]=>
array(6) {
["file"]=>
string(37) "/usr/local/lib2/lib/php/DB/common.php"
["line"]=>
int(991)
["function"]=>
string(10) "raiseError"
["class"]=>
string(9) "DB_mysqli"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
int(-7)
}
}
[4]=>
array(6) {
["file"]=>
string(37) "/usr/local/lib2/lib/php/DB/common.php"
["line"]=>
int(949)
["function"]=>
string(19) "executeEmulateQuery"
["class"]=>
string(9) "DB_mysqli"
["type"]=>
string(2) "->"
["args"]=>
array(2) {
[0]=>
int(0)
[1]=>
array(1) {
[0]=>
bool(false)
}
}
}
[5]=>
array(6) {
["file"]=>
string(36) "/www2/htdocs/class/datenbank.inc.php"
["line"]=>
int(76)
["function"]=>
string(7) "execute"
["class"]=>
string(9) "DB_mysqli"
["type"]=>
string(2) "->"
["args"]=>
array(2) {
[0]=>
int(0)
[1]=>
array(1) {
[0]=>
bool(false)
}
}
}
[6]=>
array(6) {
["file"]=>
string(35) "/www2/htdocs/frames/cust_search.php"
["line"]=>
int(68)
["function"]=>
string(6) "select"
["class"]=>
string(7) "base_db"
["type"]=>
string(2) "->"
["args"]=>
array(2) {
[0]=>
&string(126) "select firstname, lastname, Firma, cust_nr,
Postcode,City, Telefon ,Mobil, id from costumers where firstname
like '%thom%'"
[1]=>
&array(1) {
[0]=>
bool(false)
}
}
}
}
["callback"]=>
NULL
}
Vielen Dank schonmal
Gruss Achim