Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Moderator: crythias

Post Reply
dasDing
Znuny newbie
Posts: 54
Joined: 12 Nov 2013, 19:27
Znuny Version: 4.0.x Linux

Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Post by dasDing »

Hi all,

I have this error message in my log and can not open by example http://abc/otrs/index.pl?Action=AgentPreferences

Module Kernel/Output/HTML/PreferencesGeneric.pm not in @INC (/usr/Custom /usr/Kernel/cpan-lib /usr /usr/sbin/../../Custom /usr/sbin/../../Kernel/cpan-lib /usr/sbin/../.. /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . /etc/apache2)

I do not get any "Error details" when I am open http://abc/otrs/index.pl?Action=AgentPreferences

I think that the path of the pm-file is wrong: Kernel/Output/HTML/PreferencesGeneric.pm There is missing a "/" between Preferences and Gneric
How do I get it in there?

Thanks
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Post by crythias »

it means what it says:
otrs/Kernel/Output/HTML/PreferencesGeneric.pm doesn't exist.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Post by RStraub »

I guess you migrated to 5.x ?

Seems quite a vew people have this problem. It seems to happen if some sysconfig entries got customized and not properly migrated. Try looking in your ~home/Kernel/Config/ZZZ* Files if you find the entry searching for "PreferencesGeneric.pm" and change that setting in the sysconfig.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
dasDing
Znuny newbie
Posts: 54
Joined: 12 Nov 2013, 19:27
Znuny Version: 4.0.x Linux

Re: Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Post by dasDing »

Thank you both. I think that is a good hint.
I did not find this entry.

I have upgrade to 5.0.1
Julian0o
Znuny newbie
Posts: 55
Joined: 14 May 2014, 13:28
Znuny Version: 5.0.7

Re: Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Post by Julian0o »

I had the same problems after upgrading from 3.3.15 to 5.0.7 (because of kix).

You have to search the ZZZAuto File for the .pm file and reset this configuration in sysconfig. Seems that the rebuild Config does not work for everything ;)
OTRS 5.x & KIX4OTRS
pyperdown
Znuny newbie
Posts: 6
Joined: 31 Aug 2016, 01:31
Znuny Version: 5.0.14
Real Name: Jefferson Davis
Company: Standard School District

Re: Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Post by pyperdown »

Where is this set in sysconfig? I'm late to the 5.0.x party.
pyperdown
Znuny newbie
Posts: 6
Joined: 31 Aug 2016, 01:31
Znuny Version: 5.0.14
Real Name: Jefferson Davis
Company: Standard School District

Re: Module Kernel/Output/HTML/PreferencesGeneric.pm not in

Post by pyperdown »

SOLVED

Module path was wrong in ZZZAuto.pm

Changed

Code: Select all

 'Module' => 'Kernel::Output::HTML::PreferencesGeneric',

to

Code: Select all

'Module' => 'Kernel::Output::HTML::Preferences::Generic',
I have a feeling I'm not quite done finding some of this type of issue.

FWIW I found nothing of this nature in sysconfig, which is not to discount my own impatience.
Post Reply