Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2003 19:51:27 +0100
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Horde: PHP 4.2.3 silently dies in imp/contacts.php
Message-ID:  <20030112185127.GG1196@freepuppy.bellavista.cz>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030112185127.GG1196>