From owner-freebsd-questions Sun Jan 12 10:51:40 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DD0D37B401 for ; Sun, 12 Jan 2003 10:51:39 -0800 (PST) Received: from mail.bellavista.cz (mail.bellavista.cz [62.168.44.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 395DB43F3F for ; Sun, 12 Jan 2003 10:51:38 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by mail.bellavista.cz (Postfix) with ESMTP id A148669 for ; Sun, 12 Jan 2003 19:51:29 +0100 (CET) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 0BC3B2FDB10; Sun, 12 Jan 2003 19:51:28 +0100 (CET) Date: Sun, 12 Jan 2003 19:51:27 +0100 From: Roman Neuhauser To: freebsd-questions Subject: Horde: PHP 4.2.3 silently dies in imp/contacts.php Message-ID: <20030112185127.GG1196@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've asked about this on dev@lists.horde.org, but haven't received a reply yet, and this might be FreeBSD-related. I have a problem with PHP dying silently in IMP-3.1/Horde-2.1. I'm seeing this on two different boxes: 1. FreeBSD-4.7-RELEASE ports: apache-1.3.27, php-4.2.3, pear-Log-1.5 source: Horde-2.1, IMP-3.1, Turba-1.1 2. FreeBSD-4.7-STABLE ports: pear-Log-1.5 source: apache-1.3.26, php-4.3.0, Horde-2.1, IMP-3.1, Turba-1.1 roman@freepuppy ~/install/horde 1026:0 > grep -En '(\$Horde|->call)' imp-3.1/contacts.php 3: * $Horde: imp/contacts.php,v 2.39.2.5 2002/06/05 22:46:50 jan Exp $ 26:$source_list = $registry->call('contacts/sources'); 65:$results = $registry->call('contacts/search', $apiargs); It dies on line 65, the second call to $registry->call(), the script then doesn't output anything. "echo 'FOO'; exit;" put just befor the call *is* sent to the browser, if I move it below, I get no output again. Now, putting debugging echo's inside Registry::call() and Registry::callByPackage() gives me the output all the way to the return in Registry::call(); if I split the "return $this->callByPackage..." to "$foo = $this->callByPackage...; return $foo;", I get the output of those pesky "echo 'FOO'" I put between the callByPackage() call and the return. IOW, looks like it dies the very moment Registry::call() returns. This is what I get in access_log: 10.0.0.10 - - [10/Jan/2003:17:09:47 +0100] "GET /contacts.php?Horde=c9f260c9967132f9eb5f19e00804eafc HTTP/1.1" 200 5 Anyone seen this? -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html -- Horde developers mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: dev-unsubscribe@lists.horde.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message