Re: Weird bug with HTML_QuickForm

From: Date: Mon, 14 Mar 2005 19:43:26 +0000
Subject: Re: Weird bug with HTML_QuickForm
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18031@lists.php.net to get a copy of this message
On Tue, 08 Mar 2005 14:35:27 -0600, daneel <daneel@epseelon.org> wrote: > Hi, > > I'm having trouble with a weird bug I don't understand. When I submit a > form on my own local server, everything works just fine but when I do it > on my remote server I get the following error > * > Fatal error*: Call to a member function on a non-object in *[my remote > path]/lib/PEAR/HTML/QuickForm/group.php* on line *400 > > *I've synchronized all my files just to be sure but it didn't change > anything... > Do you have an idea of where the problem could come from ? > This probably means you're getting an error back somewhere. The easiest thing to do to see your error is: PEAR::setErrorHandling(PEAR_ERROR_DIE); before you create the form. You can also use PEAR_ERROR_CALLBACK to display more info if DIE doesn't give you enough. You can also check for errors in your script itself: if (PEAR::isError($el)) { die($el->getMessage()); } -- Justin Patrin

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