Re: Re: Problem with DB

From: Date: Fri, 05 Dec 2003 20:54:22 +0000
Subject: Re: Re: Problem with DB
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9320@lists.php.net to get a copy of this message
First thing here is to turn on all errors (E_ALL) and see if anything comes up. You may also want to set the PEAR error handling to PEAR_ERROR_DIE. If neither of those works, use an error callback function. function showErr($err) { print_r($err); } set_function_handler('showErr'); while($row = ... James 'Chip' Kaufman wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 05 December 2003 14:37, Justin Patrin wrote:
There should be no problem at all with long fields. The Text fields in Mysql are far larger than 1K and I've sued them all right. You say that it never returns from the fetchRow(), does this mean that the script dies at this point or that the loop doesn't get run?
The script dies. If I put an echo statement before the fetchRow call, I see the echo output. If I put one after, I never see the output. The script dies somewhere in the bowels of PEAR::DB. I guess I'll start mucking about inside the DB code. - -- James 'Chip' Kaufman jkaufman@wamnetgov.com 952-346-3532 PGP key: 697D43DE -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/0OxdrlGDUWl9Q94RAlbkAJ42jKePYUgx7UBdVwEZV4sovXmjjwCg2/QP SdP329IlSzerDDJCAeMz8zk= =rDy+ -----END PGP SIGNATURE-----


« previous php.pear.general (#9320) next »