AW: mail-filter.php and postfix

"Jens Hansen" <[email protected]> Thu, 27 Jan 2005 14:13:23 +0100
Newsgroups gmane.comp.horde.whups
Message-ID <[email protected]>
I have installed a CLI version of php now. 

# php -v
PHP 4.3.10 (cli) (built: Jan 27 2005 14:05:42)

Now i get 

Fatal error: Call to undefined function:  notify() in
/srv/www/htdocs/horde/whups/lib/Ticket.php on line 78

Jens
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im
Auftrag von Jens Hansen
Gesendet: Donnerstag, 27. Januar 2005 08:27
An: [email protected]
Betreff: RE: [whups] mail-filter.php and postfix

Chuck, 

you are right, i am using the cgi version.

# php -v
PHP 4.3.3 (cgi) (built: Jan 12 2005 16:09:33) 

i just started reading about the differences, but I don't have the CLI
version installed.

Jens

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Chuck Hagenbuch
Sent: Wednesday, January 26, 2005 11:28 PM
To: [email protected]
Subject: RE: [whups] mail-filter.php and postfix

Quoting Jens Hansen <[email protected]>:

> It does, when i put the exit before the loop it exits the scripts. I 
> can
put
> it even in the loop. But as soon as the exit is after the loop, i get 
> the error message.

Is it possible you're using a CGI binary, not a CLI binary? (probably not,
since mail-filter checks runningFromCLI(), but worth checking).

-chuck

--
"But she goes not abroad in search of monsters to destroy." - John Quincy
Adams
--
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail:
[email protected]


--
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail:
[email protected]


-- 
Whups mailing list - Join the hunt: http://horde.org/bounties/#whups
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]