index.pl Fehler nach Migration von 5.0.42 auf 6.0.31

Hilfe zu OTRS Problemen aller Art
Post Reply
lmatt
Znuny newbie
Posts: 8
Joined: 01 Jun 2022, 14:00
Znuny Version: Znuny
Real Name: Lorenz

index.pl Fehler nach Migration von 5.0.42 auf 6.0.31

Post by lmatt »

Hallo zusammen,

nach erfolgreicher Migration von 5.0.42 auf 6.0.31 kommen folgende Fehler beim Aufruf von "https://www.xxx.xxx/otrs/index.pl":

Code: Select all

Namespace Core.App could not be initialized, because Core.Exception could not be found.

Code: Select all

Namespace Core.AJAX could not be initialized, because Core.Exception could not be found.

Code: Select all

Namespace Core.UI.Datepicker could not be initialized, because jQuery UI datepicker could not be found.

Code: Select all

Namespace Core.UI.DnD could not be initialized, because jQuery UI sortable could not be found.

Code: Select all

Namespace Core.UI.Dialog could not be initialized, because jQuery UI draggable could not be found.

Code: Select all

Namespace Core.Form.Validate could not be initialized, because Core.UI.Accessibility could not be found.

Code: Select all

Namespace Core.Agent could not be initialized, because Core.Form.Validate could not be found.
Außerdem ist der Button "Anmeldung" ausgegraut und ohne Funktion... Anmeldung nicht möglich.

Kann hierzu jemand etwas sagen?
Vielen Dank
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: index.pl Fehler nach Migration von 5.0.42 auf 6.0.31

Post by root »

Hi,

Browsercache einmal leeren, evtl. werden noch alte JS Dateien geladen.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
lmatt
Znuny newbie
Posts: 8
Joined: 01 Jun 2022, 14:00
Znuny Version: Znuny
Real Name: Lorenz

Re: index.pl Fehler nach Migration von 5.0.42 auf 6.0.31

Post by lmatt »

root wrote: 08 Jun 2022, 11:47 Hi,

Browsercache einmal leeren, evtl. werden noch alte JS Dateien geladen.

- Roy
Hi,
danke für die Antwort.. daran liegt es leider nicht.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: index.pl Fehler nach Migration von 5.0.42 auf 6.0.31

Post by root »

Hi,

einmal in die Kernel/Config.pm diese Zeile einbauen:

Code: Select all

$Self->{'Loader::Enabled::JS'} =  '0';
Danach die Loginseite neu laden und in der Browserkonsole prüfen welche Javascript-Dateien nicht geladen werden können.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
lmatt
Znuny newbie
Posts: 8
Joined: 01 Jun 2022, 14:00
Znuny Version: Znuny
Real Name: Lorenz

Re: index.pl Fehler nach Migration von 5.0.42 auf 6.0.31

Post by lmatt »

root wrote: 08 Jun 2022, 12:14 Hi,

einmal in die Kernel/Config.pm diese Zeile einbauen:

Code: Select all

$Self->{'Loader::Enabled::JS'} =  '0';
Danach die Loginseite neu laden und in der Browserkonsole prüfen welche Javascript-Dateien nicht geladen werden können.

- Roy
Hi,
folgendes wird in der Browserkonsole eingezeigt:

Code: Select all

jquery.js:1          Failed to load resource: the server responded with a status of 404 (Not Found)
jquery-ui.js:1          Failed to load resource: the server responded with a status of 404 (Not Found)
stacktrace.js:1          Failed to load resource: the server responded with a status of 404 (Not Found)
jquery.validate.js:1          Failed to load resource: the server responded with a status of 404 (Not Found)
jquery.jstree.js:1          Failed to load resource: the server responded with a status of 404 (Not Found)
jquery-browser-detection.js:6 Uncaught ReferenceError: jQuery is not defined
    at jquery-browser-detection.js:6:1
jquery.ui.touch-punch.js:11 Uncaught ReferenceError: jQuery is not defined
    at jquery.ui.touch-punch.js:11:1083
pubsub.js:76 Uncaught ReferenceError: jQuery is not defined
    at pubsub.js:76:4
Core.Exception.js:173 Uncaught TypeError: Cannot read properties of undefined (reading 'RegisterNamespace')
    at Core.Exception.js:173:15
    at Core.Exception.js:176:2
Core.Debug.js:121 Uncaught Namespace Core.App could not be initialized, because Core.Exception could not be found.
Core.App.Responsive.js:257 Uncaught TypeError: Cannot read properties of undefined (reading 'RegisterNamespace')
    at Core.App.Responsive.js:257:15
    at Core.App.Responsive.js:261:2
Core.Debug.js:121 Uncaught Namespace Core.AJAX could not be initialized, because Core.Exception could not be found.
Core.UI.js:980 Uncaught TypeError: Cannot read properties of undefined (reading 'RegisterNamespace')
    at Core.UI.js:980:15
    at Core.UI.js:983:2
Core.UI.InputFields.js:2470 Uncaught ReferenceError: $ is not defined
    at Core.UI.InputFields.js:2470:5
    at Core.UI.InputFields.js:2489:2
Core.Debug.js:121 Uncaught Namespace Core.UI.Datepicker could not be initialized, because jQuery UI datepicker could not be found.
Core.Debug.js:121 Uncaught Namespace Core.UI.DnD could not be initialized, because jQuery UI sortable could not be found.
Core.UI.Floater.js:262 Uncaught TypeError: Cannot read properties of undefined (reading 'RegisterNamespace')
    at Core.UI.Floater.js:262:15
    at Core.UI.Floater.js:265:2
Core.UI.Accessibility.js:107 Uncaught TypeError: Cannot read properties of undefined (reading 'RegisterNamespace')
    at Core.UI.Accessibility.js:107:15
    at Core.UI.Accessibility.js:110:2
Core.UI.RichTextEditor.js:423 Uncaught TypeError: Cannot read properties of undefined (reading 'RegisterNamespace')
    at Core.UI.RichTextEditor.js:423:15
    at Core.UI.RichTextEditor.js:426:2
Core.Debug.js:121 Uncaught Namespace Core.UI.Dialog could not be initialized, because jQuery UI draggable could not be found.
Core.UI.ActionRow.js:247 Uncaught TypeError: Cannot read properties of undefined (reading 'RegisterNamespace')
    at Core.UI.ActionRow.js:247:15
    at Core.UI.ActionRow.js:250:2
Core.UI.Popup.js:737 Uncaught TypeError: Cannot read properties of undefined (reading 'RegisterNamespace')
    at Core.UI.Popup.js:737:15
    at Core.UI.Popup.js:740:2
Core.UI.TreeSelection.js:597 Uncaught TypeError: Cannot read properties of undefined (reading 'RegisterNamespace')
    at Core.UI.TreeSelection.js:597:15
    at Core.UI.TreeSelection.js:600:2
Core.UI.Autocomplete.js:104 Uncaught ReferenceError: $ is not defined
    at Core.UI.Autocomplete.js:104:5
    at Core.UI.Autocomplete.js:274:2
Core.Form.js:34 Uncaught ReferenceError: $ is not defined
    at Core.Form.js:34:5
    at Core.Form.js:309:2
Core.Form.ErrorTooltips.js:86 Uncaught ReferenceError: $ is not defined
    at Core.Form.ErrorTooltips.js:86:27
    at Core.Form.ErrorTooltips.js:263:2
Core.Debug.js:121 Uncaught Namespace Core.Form.Validate could not be initialized, because Core.UI.Accessibility could not be found.
Core.Debug.js:121 Uncaught Namespace Core.Agent could not be initialized, because Core.Form.Validate could not be found.
Core.Agent.Search.js:680 Uncaught TypeError: Cannot read properties of undefined (reading 'RegisterNamespace')
    at Core.Agent.Search.js:680:15
    at Core.Agent.Search.js:683:2
Core.Agent.Responsive.js:23 Uncaught TypeError: Core.App.Subscribe is not a function
    at Core.Agent.Responsive.js:23:14
    at Core.Agent.Responsive.js:215:2
TranslationJS_de_80de39ea350ce00144c36234e652fc4f.js:2 Uncaught TypeError: Cannot read properties of undefined (reading 'Load')
    at TranslationJS_de_80de39ea350ce00144c36234e652fc4f.js:2:15
TemplateJS_dd88bfbe4b557f80a1a65b150417aec5.js:2 Uncaught TypeError: Cannot read properties of undefined (reading 'Load')
    at TemplateJS_dd88bfbe4b557f80a1a65b150417aec5.js:2:15
index.pl:256 Uncaught TypeError: Cannot read properties of undefined (reading 'ExecuteInit')
    at index.pl:256:11
index.pl:275 Uncaught TypeError: Core.App.Ready is not a function
    at index.pl:275:10
index.pl:287 Uncaught TypeError: Core.App.Ready is not a function
    at index.pl:287:10
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: index.pl Fehler nach Migration von 5.0.42 auf 6.0.31

Post by root »

Hi,

interessant wäre der Pfad zu den Dateien. Den sollte die Browswerkonsole im Netzwerk-Tab auch anzeigen. Meine Vermutung: es gibt angepasste System-Konfigurationen die noch den JQuery-Pfad (der die Version enthält) aus der 5 enthalten. In der Version 5 ist es 2.1.4 und bei der 6 ist es 3.5.1

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
lmatt
Znuny newbie
Posts: 8
Joined: 01 Jun 2022, 14:00
Znuny Version: Znuny
Real Name: Lorenz

Re: index.pl Fehler nach Migration von 5.0.42 auf 6.0.31

Post by lmatt »

root wrote: 08 Jun 2022, 14:20 Hi,

interessant wäre der Pfad zu den Dateien. Den sollte die Browswerkonsole im Netzwerk-Tab auch anzeigen. Meine Vermutung: es gibt angepasste System-Konfigurationen die noch den JQuery-Pfad (der die Version enthält) aus der 5 enthalten. In der Version 5 ist es 2.1.4 und bei der 6 ist es 3.5.1

- Roy
Hi,

folgenden Pfad bekomme ich angezeigt:
"otrs-web/js/thirdparty/jquery-2.1.4/jquery.js"

Also liegst du mit deiner Vermutung richtig..
Post Reply