Internal Server Error - customer.pl No UserObject! (solved)

Hilfe zu Znuny Problemen aller Art
Locked
erenk
Znuny newbie
Posts: 30
Joined: 12 May 2014, 15:41
Znuny Version: 4.0.4

Internal Server Error - customer.pl No UserObject! (solved)

Post by erenk »

I had 3.2.4 OTRS installed on CentOS 6.5. I updated OTRS to 3.3.6 and got an error on the customer.pl frontend -> Internal Server Error
I checked the log files and it shows -> No UserObject! at /opt/otrs//Kernel/System/Auth/LDAP.pm line 25.\n
Then I found on Otterhub the same error, but it didn't helped. The solution posted the user "crythias" and it didn't worked ->

bad: $Self->{'Customer::AuthModule'} = 'Kernel::System::Auth::LDAP';
good: $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';

<-

I tried this but without luck :-(.

Can someone help me?

PS: I am new to CentOS and OTRS.
Last edited by erenk on 11 Mar 2015, 17:18, edited 1 time in total.
OTRS 4.0.4 - CentOS 6.5 - PostgreSQL 8.4.20
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Internal Server Error - customer.pl No UserObject!

Post by reneeb »

Did you restart the webserver? Did the error message change?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
erenk
Znuny newbie
Posts: 30
Joined: 12 May 2014, 15:41
Znuny Version: 4.0.4

Re: Internal Server Error - customer.pl No UserObject!

Post by erenk »

reneeb wrote:Did you restart the webserver? Did the error message change?
Yes I restared the webserver but the error message is still the same.
OTRS 4.0.4 - CentOS 6.5 - PostgreSQL 8.4.20
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Internal Server Error - customer.pl No UserObject!

Post by reneeb »

Can you post the complete error message (there should be a stracktrace so that one can see which line of code called which function)?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
erenk
Znuny newbie
Posts: 30
Joined: 12 May 2014, 15:41
Znuny Version: 4.0.4

Re: Internal Server Error - customer.pl No UserObject!

Post by erenk »

reneeb wrote:Can you post the complete error message (there should be a stracktrace so that one can see which line of code called which function)?
So I am new to Linuxworld and OTRS. Could you please explain me how to use stacktrace? I only have the logs and it says

[Tue May 13 11:07:16 2014] [error] [Tue May 13 11:07:16 2014] -e: No UserObject! at /opt/otrs//Kernel/System/Auth/LDAP.pm line 25.\n

And I also checked the line 25 in LDAP.pm and there is this:

Code: Select all

    # check needed objects
     24     for (qw(LogObject ConfigObject DBObject UserObject GroupObject EncodeObject)) {
     25         $Self->{$_} = $Param{$_} || die "No $_!";
}
ErenK
OTRS 4.0.4 - CentOS 6.5 - PostgreSQL 8.4.20
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Internal Server Error - customer.pl No UserObject!

Post by reneeb »

Sorry, for those errors OTRS doesn't print a stacktrace...

Currently I have no idea what's going on.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
erenk
Znuny newbie
Posts: 30
Joined: 12 May 2014, 15:41
Znuny Version: 4.0.4

Re: Internal Server Error - customer.pl No UserObject!

Post by erenk »

reneeb wrote:Sorry, for those errors OTRS doesn't print a stacktrace...

Currently I have no idea what's going on.

Ok, thanks anyway for your reply.

Can somebody else help?
OTRS 4.0.4 - CentOS 6.5 - PostgreSQL 8.4.20
Locked