Mon 25 Oct 2004 05:25:54 PM UTC, original submission:
I have recently installed phpgw 0.9.16.003 and set it up as described in the web page documentation. Everything seems to be working fine except for the asynchronous services. The crontab is correctly set up and asyncservices is called OK, but if I add the TestJob I get the following PHP output:
PHP Notice: Use of undefined constant MCRYPT_TRIPLEDES - assumed 'MCRYPT_TRIPLEDES'
in /var/www/phpgroupware/phpgwapi/inc/common_functions.inc.php on line 533
PHP Notice: Use of undefined constant MCRYPT_MODE_CBC - assumed 'MCRYPT_MODE_CBC'
in /var/www/phpgroupware/phpgwapi/inc/common_functions.inc.php on line 533
PHP Notice: Undefined index: HTTP_HOST in
/var/www/phpgroupware/phpgwapi/inc/class.sessions.inc.php on line 419
PHP Fatal error: Call to a member function on a non-object in
/var/www/phpgroupware/email/inc/class.mail_msg_base.inc.php on line 888
The notices are there whenever I run the script (they are rather annoying, by the way), but the fatal error only appears when an e-mail was supposed to be sent. It seems that the email sending method is correctly invoked.
The offending line (really 887) is
$this->so->prep_db_session_compat('begin_request LINE '.__LINE__);
Maybe the $this->so is not initialized properly when the line is reached?
My setup: Apache 2.0.51, php 4.3.8 (module), mysql 3.23.58 (all the db stuff seems to be working fine).
Thanks for your time. I have found a few similar errors by searching in forums/google/bugs, but none had any valid solution.
Best regards - CP
|