[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [bugs #10797] asyncservices broken
From: |
JM López-Cepero |
Subject: |
[Phpgroupware-tracker] [bugs #10797] asyncservices broken |
Date: |
Tue, 26 Oct 2004 06:22:21 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040808 Firefox/0.9.3 |
This mail is an automated notification from the bugs tracker
of the project: phpGroupWare.
/**************************************************************************/
[bugs #10797] Latest Modifications:
Changes by:
JM López-Cepero <address@hidden>
'Date:
mar 26/10/04 at 10:16 (GMT)
------------------ Additional Follow-up Comments ----------------------------
Thanks for your reply, but...
1) I have set every variable to what php-configuration advises (including the
dreaded register_globals) and tested with phpinfo that they are indeed well set
up, and the error still appears. The SMTP setup itself is fine; I can send
emails from the E-Mail app with no problem.
2) What I'm talking about is the 'Fatal error' (I can live with the notices).
Changing my errorlevel would get rid of the notices, but not of the fatal
error. Also, ignoring notices instead of fixing them (what they are warning
about is use of undefined literal constants as indices, I think, which is
deprecated in PHP4) does not seem like a good philosophy, but I'm no developer
to argue...
3) My config is a stock Fedora one with minimal changes and several rather
complex PHP applications run OK. I don't think it's that 'broken'. And I was
not suggesting phpgw was broken either - I love what I have seen of it, I just
found something that does not work as expected.
Thanks for your time - CP
/**************************************************************************/
[bugs #10797] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10797>
Project: phpGroupWare
Submitted by: JM López-Cepero
On: lun 25/10/04 at 17:25
Item Group: 0.9.16.003
Category: API - phpGWapi
Severity: 5 - Average
Priority: 7 - High
Resolution: None
Privacy: Public
Assigned to: None
Status: Open
Component Version: TGZ
Platform Version: GNU/Linux - RedHat/Fedora
Reproducibility: Every Time
Planned Release: None
Fixed Release:
Summary: asyncservices broken
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
Follow-up Comments
------------------
-------------------------------------------------------
Date: mar 26/10/04 at 10:16 By: JM López-Cepero <andvaranaut>
Thanks for your reply, but...
1) I have set every variable to what php-configuration advises (including the
dreaded register_globals) and tested with phpinfo that they are indeed well set
up, and the error still appears. The SMTP setup itself is fine; I can send
emails from the E-Mail app with no problem.
2) What I'm talking about is the 'Fatal error' (I can live with the notices).
Changing my errorlevel would get rid of the notices, but not of the fatal
error. Also, ignoring notices instead of fixing them (what they are warning
about is use of undefined literal constants as indices, I think, which is
deprecated in PHP4) does not seem like a good philosophy, but I'm no developer
to argue...
3) My config is a stock Fedora one with minimal changes and several rather
complex PHP applications run OK. I don't think it's that 'broken'. And I was
not suggesting phpgw was broken either - I love what I have seen of it, I just
found something that does not work as expected.
Thanks for your time - CP
-------------------------------------------------------
Date: mar 26/10/04 at 07:30 By: 0 <None>
Have a read of /path/to/phpgroupware/docs/php-configuration.txt
You error level is too high, which causes those message. It is your config
which is broken not phpgw.
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10797>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/