Pop up windows are not closing

Moderator: crythias

Locked
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Pop up windows are not closing

Post by Gunjan »

Hi,

Please note that I am using otrs 3.3.10 and Now I am facing an issue. When user clicks on the tab 'close' or 'note' in ticket zoom view, the pop up page opens correctly and when user tries to submit the data, it is creating the entry in database but that pop up window is not closing. Can you please let me know what can be cause behind it? and I am not getting any logs for it.

Regards,
Gunjan
nd0
Znuny expert
Posts: 232
Joined: 24 Mar 2015, 16:53
Znuny Version: 5.0.14
Location: Colonia

Re: Pop up windows are not closing

Post by nd0 »

Before searching for an error in OTRS: JavaScript activated in users browsers?
LIVE: OTRS 5.0.14 || Debian || MySQL/LDAP
TEST: OTRS 5.0.14 || Debian || MySQL/LDAP
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Pop up windows are not closing

Post by Gunjan »

Yes It is enabled.
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Pop up windows are not closing

Post by Gunjan »

I am also getting an error for some days :
Can't locate Time/Piece.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs//Kernel/System/Stats/Static/StateAction.pm line 16.
I checked everything and but dont know how to fix it. Does this error affect the pop up window?
EXG133
Znuny expert
Posts: 217
Joined: 06 Aug 2012, 18:12
Znuny Version: 3.1.7 & 4.04

Re: Pop up windows are not closing

Post by EXG133 »

That's a message informing you that your perl installation does not find the Time::Piece module.

Run this command to check if your @INC includes the locations you think it should (should give the same result as in your error message):

perl -e "print \"@INC\""

If this is correct, try running /opt/otrs/bin/otrs.CheckModules.pl
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Pop up windows are not closing

Post by Gunjan »

Hi,

I got the following path
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5
which is same as mentioned in error.

I also ran the check module script and everything is fine there too. Please tell me the possible reason behind it.

Thank you
Gunjan
EXG133
Znuny expert
Posts: 217
Joined: 06 Aug 2012, 18:12
Znuny Version: 3.1.7 & 4.04

Re: Pop up windows are not closing

Post by EXG133 »

Run:

perldoc -l Time::Piece

It should return something like:

/usr/lib64/perl5/Time/Piece.pm
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Pop up windows are not closing

Post by Gunjan »

It is returning
No documentation found for "Time::Piece".
EXG133
Znuny expert
Posts: 217
Joined: 06 Aug 2012, 18:12
Znuny Version: 3.1.7 & 4.04

Re: Pop up windows are not closing

Post by EXG133 »

Either Time::Piece isn't installed (which seems strange because I think it's in the core installation for most distro's) or your Perl installation is screwed.

What does this say?

[blabla ~]$ locate Piece.pm
/usr/lib64/perl5/Time/Piece.pm
[blabla ~]$

If it returns nothing install Time::Piece using cpan , yum or whatever you're using as package manager.
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Pop up windows are not closing

Post by Gunjan »

It is returning as follow:
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Time/Piece.pm
EXG133
Znuny expert
Posts: 217
Joined: 06 Aug 2012, 18:12
Znuny Version: 3.1.7 & 4.04

Re: Pop up windows are not closing

Post by EXG133 »

Huh, that's not good. I'm not a Perl expert so I don't know why you have stuff installed in "5.8.8/x86_64-linux-thread-multi" if it's not in your @INC ...

I guess you can try adding that path "/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/" to PERL5LIB via SetEnv in Apache but I would *not* feel very safe with that Perl configuration. Perhaps someone with a better Perl config knowledge has a better suggestion.
Locked