[kronolith] email reminder (again...)

Jan Schneider jan at horde.org
Tue May 25 04:28:20 PDT 2004


Well, looking at the line you reported in your error message, Mail_RFC822 is
calling PEAR::raiseError(). If raiseError() is undefined, even though
PEAR.php is included in the line before, something must have gone wrong
with this include.

Zitat von Daniel Eckl <daniel.eckl at gmx.de>:

> Hi Jan!
>
> Thanks for the hint, but the include_path in php.ini is set correctly
> to:
>
> # php -r 'phpinfo();' |grep include_path
> include_path => .:/usr/share/php => .:/usr/share/php
>
> and my pear repository is in /usr/share/php
>
> I run on PHP 4.3.4 and have an up-to-date pear.
>
> When reminders.php is run without any occuring events, there are no
> error messages on stdout/stderr/horde_log...
>
> Thanks,
> Daniel
>
> Zitat von Jan Schneider <jan at horde.org>:
>
>> Zitat von Daniel Eckl <daniel.eckl at gmx.de>:
>>
>>> Second problem:
>>> When the reminder is triggered, I don't get an email, but a php error
>>> message:
>>>
>>> PHP Fatal error:  Call to undefined function:  raiseerror() in
>>> /usr/share/php/Mail/RFC822.php on line 198
>>>
>>> Can somebody tell me what I'm misssing that the function call raiseerror
>>> failes?
>>
>> You don't set the correct include_path for PHP globally. As the reminder
>> script calls the PHP CLI that doesn't run in a web context, any settings in
>> httpd.conf or .htaccess don't work, you need to set the correct
>> include_path to your PEAR repository in php.ini (or php-cli.ini if you like
>> and have a recent PHP version).
>>
>> Jan.
>>
>> --
>> Do you need professional PHP or Horde consulting?
>> http://horde.org/consulting.php
>> --
>> Kronolith mailing list - Join the hunt: http://horde.org/bounties/#kronolith
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org
>
>
> --
> Kronolith mailing list - Join the hunt: http://horde.org/bounties/#kronolith
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org



Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting.php


More information about the kronolith mailing list