6.0.0-beta1
7/19/25

[#1393] Fatal error: Call to undefined function: getprintmode() in /horde/imp/lib/MIME/Viewer/plain.php on line 84
Summary Fatal error: Call to undefined function: getprintmode() in /horde/imp/lib/MIME/Viewer/plain.php on line 84
Queue IMP
Queue Version 4.0.2
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester viper (at) 2ghz (dot) net
Created 02/16/2005 (7458 days ago)
Due
Updated 03/09/2005 (7437 days ago)
Assigned 02/16/2005 (7458 days ago)
Resolved 02/17/2005 (7457 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/09/2005 06:29:34 PM joshua (at) qcsf (dot) com Comment #7 Reply to this comment
This looks good in HEAD to me. Thanks, guys.
02/23/2005 03:24:29 PM Jan Schneider Comment #6 Reply to this comment
RELENG is the wrong branch.
02/23/2005 02:32:29 PM derek (at) battams (dot) ca Comment #5 Reply to this comment
It might be worth noting that it is attempting to view an S/MIME 
message that is causing this error for me, but I do have OpenSSL 
support built into PHP.
02/23/2005 02:23:00 PM derek (at) battams (dot) ca Comment #4 Reply to this comment
I just tried to install the latest RELENG snapshot, plus the one from 
Feb 17 (the bug report says this was fixed on the 16th).  However, 
both snapshots produce other errors upon installation.  Is there a 
patch that will fix this bug in 4.0.2?



The error I'm now receiving after installing the snapshots is:



PHP Fatal error:  main() [<a href='function.require'>funct

ion.require</a>]: Failed opening required 
'/home/httpd/tools/horde-3.0.3/imp-REL

ENG/lib/../../lib/Browser.php' 
(include_path='.:/usr/lib/php:/usr/lib/php/Smarty

') in /home/httpd/tools/horde-3.0.3/imp-RELENG/lib/base.php on line 25,
02/17/2005 01:34:16 AM Jan Schneider Comment #3
State ⇒ Resolved
Reply to this comment
Fixed in CVS and 4.0.3.
02/17/2005 01:07:56 AM   New Attachment: e-mail.txt Download
 
02/16/2005 11:41:18 PM Jan Schneider Comment #2
Summary ⇒ Fatal error: Call to undefined function: getprintmode() in /horde/imp/lib/MIME/Viewer/plain.php on line 84
State ⇒ Feedback
Reply to this comment
Please upload the message source as an attachment.
02/16/2005 10:05:03 PM viper (at) 2ghz (dot) net Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ [imp] Error: Fatal error: Call to undefined function: getprintmode() in /horde/imp/lib/MIME/Viewer/plain.php on line 84
Queue ⇒ IMP
Reply to this comment
This error is displayed when trying to view S/MIME messages with no 
openssl compiled into PHP.



Here is the message source that causes the issues:



Return-Path: <imp-bounces@lists.horde.org>

Received: from vlad.horde.org (vlad.horde.org [199.175.137.148])

        by 2ghz.net(8.12.11/8.12.8) with ESMTP id j1G9FTMT014512

        for <viper@2ghz.net>; Wed, 16 Feb 2005 04:15:39 -0500

Received: from vlad.horde.org (localhost [127.0.0.1])

        by vlad.horde.org (Postfix) with ESMTP id 73BDB7BD;

        Wed, 16 Feb 2005 01:15:13 -0800 (PST)

X-Original-To: imp@lists.horde.org

Delivered-To: imp@lists.horde.org

Received: from localhost (localhost [127.0.0.1])

        by vlad.horde.org (Postfix) with ESMTP id 204FB78A

        for <imp@lists.horde.org>; Wed, 16 Feb 2005 01:15:08 -0800 (PST)

Received: from vlad.horde.org ([127.0.0.1])

        by localhost (vlad.horde.org [127.0.0.1]) (amavisd-new,

        port 10024) with LMTP id 90709-02 for <imp@lists.horde.org>;

        Wed, 16 Feb 2005 01:14:59 -0800 (PST)

Received: from rumms.uni-mannheim.de (rumms.uni-mannheim.de [134.155.50.52])

        by vlad.horde.org (Postfix) with ESMTP id F2BC85E6

        for <imp@lists.horde.org>; Wed, 16 Feb 2005 01:14:57 -0800 (PST)

Received: from [134.155.52.137] (mkraemer.rz.uni-mannheim.de [134.155.52.137])

        (authenticated bits=0)

        by rumms.uni-mannheim.de (8.13.1/8.13.1) with ESMTP id j1G9DQbI010986

        for <imp@lists.horde.org>; Wed, 16 Feb 2005 10:13:26 +0100 (MET)

Message-ID: <42130F16.9050802@rz.uni-mannheim.de>

Date: Wed, 16 Feb 2005 10:15:02 +0100

From: Markus Kraemer <markus.kraemer@rz.uni-mannheim.de>

Organization: =?ISO-8859-1?Q?Universit=E4t_Mannheim?=

User-Agent: Mozilla Thunderbird 1.0 (X11/20041207)

X-Accept-Language: en-us, en

MIME-Version: 1.0

Cc: imp@lists.horde.org

References: <2005215172827.254037@ltn-home>

In-Reply-To: <2005215172827.254037@ltn-home>

X-Virus-Scanned: by amavisd-new at lists.horde.org

Subject: [imp] Re: Fwd: imp4 compatilbility with php5

X-BeenThere: imp@lists.horde.org

X-Mailman-Version: 2.1.6b1

Precedence: list

Reply-To: markus.kraemer@rz.uni-mannheim.de

List-Id: IMP mailing list <imp.lists.horde.org>

List-Unsubscribe: <http://lists.horde.org/mailman/listinfo/imp>,

        <mailto:imp-request@lists.horde.org?subject=unsubscribe>

List-Archive: <http://lists.horde.org/archives/imp>

List-Post: <mailto:imp@lists.horde.org>

List-Help: <mailto:imp-request@lists.horde.org?subject=help>

List-Subscribe: <http://lists.horde.org/mailman/listinfo/imp>,

        <mailto:imp-request@lists.horde.org?subject=subscribe>

Content-Type: multipart/mixed; boundary="===============0389332608=="

Sender: imp-bounces@lists.horde.org

Errors-To: imp-bounces@lists.horde.org

X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on deathstar.2ghz.net

X-Spam-Level:

X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable

        version=3.0.1



This is a cryptographically signed message in MIME format.



--===============0389332608==

Content-Type: multipart/signed; protocol="application/x-pkcs7-signature";

        micalg=sha1; boundary="------------ms030201020806060206020505"



This is a cryptographically signed message in MIME format.



--------------ms030201020806060206020505

Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Content-Transfer-Encoding: 7bit



Hi Tom,



I used MMcache and his successor eAccelerator. I had the problem that

the cached files where corrupted after a Apache restart. Are u talking

about that issue? I solved my problem with placing all the cached files

in shared memory. What do you mean by using the loader itself instead of

the module??



Cheers,



Markus





Tom Whiting wrote:
I've been using IMP with php5 for a few months with no issues at all.
  > I believe there's an issue with IMP and php5 and Turcke MMcache,

  > ut all you have to do to get around that is use the loader itself,

  > not the module,



and you'll be fine.
would like to know if there is another page where the
compatibility of imp4 (h3) with php5 is confirmed.
We need to do this before updating our server to php5, so I would
appreciate every information on that. Best regards from Quito,
--------------ms030201020806060206020505

Content-Type: application/x-pkcs7-signature; name="smime.p7s"

Content-Transfer-Encoding: base64

Content-Disposition: attachment; filename="smime.p7s"

Content-Description: S/MIME Cryptographic Signature



MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIG0DCC

A2QwggLNoAMCAQICDgjaAAAAAio6MaMHtNiIMA0GCSqGSIb3DQEBBAUAMIG8MQswCQYDVQQG

EwJERTEQMA4GA1UECBMHSGFtYnVyZzEQMA4GA1UEBxMHSGFtYnVyZzE6MDgGA1UEChMxVEMg

VHJ1c3RDZW50ZXIgZm9yIFNlY3VyaXR5IGluIERhdGEgTmV0d29ya3MgR21iSDEiMCAGA1UE

CxMZVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMSBDQTEpMCcGCSqGSIb3DQEJARYaY2VydGlmaWNh

dGVAdHJ1c3RjZW50ZXIuZGUwHhcNMDQwODA0MTAxMTE2WhcNMDUwODA0MTAxMTE2WjBbMQsw

CQYDVQQGEwJERTEaMBgGA1UEAxMRTWFya3VzIEYuIEtyYWVtZXIxMDAuBgkqhkiG9w0BCQEW

IW1hcmt1cy5rcmFlbWVyQHJ6LnVuaS1tYW5uaGVpbS5kZTCBnzANBgkqhkiG9w0BAQEFAAOB

jQAwgYkCgYEA95OtZiIxO9ME4TCH3QKJVmdarSaIS1DKduJliwVd7dUbGcGG5fdqfEy+0JHe

nvP7iiaZC2PHEDfH9Vqip5Y7tCGKyfBQ0v2sqfHItl3m/lH3/avRc8Dvu5E9ClZfVDvm4Dwd

HP86GEW7lk4sQbuVx5rU9NXOQ+Spk6bdV4L6rfECAwEAAaOByDCBxTAMBgNVHRMBAf8EAjAA

MA4GA1UdDwEB/wQEA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

SIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCB4AYJ

KwYBBAGCNxAEMYHSMIHPMIG8MQswCQYDVQQGEwJERTEQMA4GA1UECBMHSGFtYnVyZzEQMA4G

A1UEBxMHSGFtYnVyZzE6MDgGA1UEChMxVEMgVHJ1c3RDZW50ZXIgZm9yIFNlY3VyaXR5IGlu

IERhdGEgTmV0d29ya3MgR21iSDEiMCAGA1UECxMZVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMSBD

QTEpMCcGCSqGSIb3DQEJARYaY2VydGlmaWNhdGVAdHJ1c3RjZW50ZXIuZGUCDgjaAAAAAio6

MaMHtNiIMIHiBgsqhkiG9w0BCRACCzGB0qCBzzCBvDELMAkGA1UEBhMCREUxEDAOBgNVBAgT

B0hhbWJ1cmcxEDAOBgNVBAcTB0hhbWJ1cmcxOjA4BgNVBAoTMVRDIFRydXN0Q2VudGVyIGZv

ciBTZWN1cml0eSBpbiBEYXRhIE5ldHdvcmtzIEdtYkgxIjAgBgNVBAsTGVRDIFRydXN0Q2Vu

dGVyIENsYXNzIDEgQ0ExKTAnBgkqhkiG9w0BCQEWGmNlcnRpZmljYXRlQHRydXN0Y2VudGVy

LmRlAg4I2gAAAAIqOjGjB7TYiDANBgkqhkiG9w0BAQEFAASBgPKhzR3S62Ou1GSw++h9dHlQ

gwbNHRiA4h7DvY4KiVvKzYYq+iCL1S7E5oAzje4DTHTfw1zm6xmvFFcn0yXgMaZzO5Tyhkzq

PRPOwJrSRgrGqiNebkdirKDjytfqb9mbUGTSsXQcaMdMHRVPi17+th4WIFF6feEH52M6gmLJ

/FhoAAAAAAAA

--------------ms030201020806060206020505--



--===============0389332608==

Content-Type: text/plain; charset="us-ascii"

MIME-Version: 1.0

Content-Transfer-Encoding: 7bit

Content-Disposition: inline



--

IMP mailing list - Join the hunt: http://horde.org/bounties/#imp

Frequently Asked Questions: http://horde.org/faq/

To unsubscribe, mail: imp-unsubscribe@lists.horde.org



--===============0389332608==--

Saved Queries