Re: Internal Server Error: while adding a new user

Updated - the problem is with the CheckMXRecord setting in Config.pm. Set it like this: $Self->{CheckMXRecord} = 0; and it works fine. Now I can add users and get on with the game! ================= I'm seeing the same exact problem as Imran Ali is observing below. I've been through the logfile fix already. I am using Windows 2000 with Apache 1.3.28, mod_perl 1.0, MySQL 4.0.12, and ActivePerl 5.6.1.635. It looks like everything works except for adding users. ============= Daniel & Peter, thanks to your post(s), the missing temp dir issue is resolved. though still my Apache starts with this error: Use of uninitialized value in concatenation (.) or string at d:/otrs/Kernel/cpan-lib/CGI.pm line 35. also the problem of adding a user is still thr. though the error.log now displays following errors once i try to add new user. [Tue Jul 22 14:53:19 2003] nul: Use of uninitialized value in concatenation (.) or string at d:/otrs/Kernel/Output/HTML/Admin.pm line 840. [Tue Jul 22 14:53:50 2003] [error] connection failed at d:/otrs/Kernel/System/CheckItem.pm line 68 i chacked both the files and the relevent lines (which are causing errors) but couldn't make out much. below are the trouble maker lines: Admin.pm line 840: $PrefItem{'Option'} = "Ascii2Html(Text => $Param {$PrefKey}) .'">'; CheckItem.pm line 68: if (Email::Valid->address( -address => $Param{Address},.... Regards Imran Ali ================================================================ You'll need to set the LogModule::LogFile directive to point to a valid directory. Something like: $Self->{'LogModule::LogFile'} = 'D:/temp/otrs.log'; Or whatever location is applicable to your situation. (See Kernel/Config/Defaults.pm for where to find these options). Daniel ____________________ Jonathan Cutting Integrated Biosystems email :: jcutting@integratedbio.com phone :: 707.226.9300 x282 fax :: 707.226.9303 addr :: 445 Devlin Rd., Napa, CA 94558

in contrast to you Jonathan, my problem got solved by assigning $Self->
{CheckEmailAddresses} to 0 (default is 1) in default.pm. though the
comments for this command suggests that it checks the syntex of the email
address enterd but i think tht the errors i had is some thing to do with
the email configuration as the email address was valid. so which file(s)
do i have to look into for solving that?.
Thanks again to Daniel , Peter , Jonathan for thr posts.
Regards
Imran Ali
-----Original Message-----
From: "Jonathan Cutting"
Updated - the problem is with the CheckMXRecord setting in Config.pm. Set it like this:
$Self->{CheckMXRecord} = 0;
and it works fine. Now I can add users and get on with the game!
=================
I'm seeing the same exact problem as Imran Ali is observing below. I've been through the logfile fix already.
I am using Windows 2000 with Apache 1.3.28, mod_perl 1.0, MySQL 4.0.12, and ActivePerl 5.6.1.635.
It looks like everything works except for adding users.
=============
Daniel & Peter,
thanks to your post(s), the missing temp dir issue is resolved. though still my Apache starts with this error:
Use of uninitialized value in concatenation (.) or string at d:/otrs/Kernel/cpan-lib/CGI.pm line 35.
also the problem of adding a user is still thr. though the error.log now displays following errors once i try to add new user.
[Tue Jul 22 14:53:19 2003] nul: Use of uninitialized value in concatenation (.) or string at d:/otrs/Kernel/Output/HTML/Admin.pm line 840. [Tue Jul 22 14:53:50 2003] [error] connection failed at d:/otrs/Kernel/System/CheckItem.pm line 68
i chacked both the files and the relevent lines (which are causing errors) but couldn't make out much.
below are the trouble maker lines:
Admin.pm line 840: $PrefItem{'Option'} = "Ascii2Html(Text => $Param {$PrefKey}) .'">';
CheckItem.pm line 68: if (Email::Valid->address( -address => $Param{Address},....
Regards Imran Ali
================================================================
You'll need to set the LogModule::LogFile directive to point to a valid directory.
Something like: $Self->{'LogModule::LogFile'} = 'D:/temp/otrs.log';
Or whatever location is applicable to your situation. (See Kernel/Config/Defaults.pm for where to find these options).
Daniel
____________________ Jonathan Cutting Integrated Biosystems
email :: jcutting@integratedbio.com phone :: 707.226.9300 x282 fax :: 707.226.9303 addr :: 445 Devlin Rd., Napa, CA 94558
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hi all! On Wed, Jul 23, 2003 at 10:44:50AM +0500, Imran Ali wrote:
in contrast to you Jonathan, my problem got solved by assigning $Self-> {CheckEmailAddresses} to 0 (default is 1) in default.pm. though the comments for this command suggests that it checks the syntex of the email address enterd but i think tht the errors i had is some thing to do with the email configuration as the email address was valid. so which file(s) do i have to look into for solving that?.
The error message was: | [Tue Jul 22 14:53:50 2003] [error] connection failed at | d:/otrs/Kernel/System/CheckItem.pm line 68 Right? "CheckEmailAddresses" means to check used email addresses with rfc822 syntax and if there exists an mx (mail exchanger) dns entry. mx check requireds a working dns setup for external hosts on your machine (I think that's the problem). And "connection failed at d:/otrs/Kernel/System/CheckItem.pm line 68" means that your machine wasn't able to connect to your dns server (maybe dns isn't configured on your machine). "$Self->{CheckMXRecord} = 0;" should also help. PS: mx check is helpful to find spam email or emails with typos.
Thanks again to Daniel , Peter , Jonathan for thr posts.
Ohh ja, thanks to all! :)
Regards Imran Ali
-Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ --
participants (3)
-
Imran Ali
-
Jonathan Cutting
-
Martin Edenhofer