2 Errors need help with $Element.tabs is not a function

Moderator: crythias

Post Reply
JeffTech
Znuny newbie
Posts: 1
Joined: 26 Aug 2013, 18:21
Znuny Version: 3.2.7
Real Name: Jeff

2 Errors need help with $Element.tabs is not a function

Post by JeffTech »

I am a newbie to OTRS and have installed OTRS ITSM 3.2.7 and KIX4OTRS as well. KIXCore 2.0.1 and KIX4OTRS 5.0.1
I am running a windows 7 installation and using IIS.

I can enter a ticket through the customer login and save without any errors but opening a ticket or trying to create one through the phone or email ticket using the agent portal causes one of two errors.

FIRST ERROR:
"An error occurred! Do you want to see the complete error message?"

"Error during AJAX communication"

$Element.tabs is not a function

success()@http://localhost/otrs/index.pl?Action=A ... ID=22:1022
TargetNS.Ready/<@http://localhost/otrs-web/js/js-cache/C ... 78e.js:309
._Deferred/e.resolveWith@http://localhost/otrs-web/js/js-cache/C ... 478e.js:33
.ready@http://localhost/otrs-web/js/js-cache/C ... 478e.js:33
C@http://localhost/otrs-web/js/js-cache/C ... 478e.js:33

I get this error if I try to use the Queue view to view tickets.
SECOND ERROR:
"An error occurred! Do you want to see the complete error message?"

"Error during AJAX communication"
$(...).treeview is not a function

(?)()@http://localhost/otrs/index.pl?Action=A ... Queue:1482
TargetNS.Ready/<@http://localhost/otrs-web/js/js-cache/C ... 30d.js:309
._Deferred/e.resolveWith@http://localhost/otrs-web/js/js-cache/C ... 030d.js:33
.ready@http://localhost/otrs-web/js/js-cache/C ... 030d.js:33
C@@http://localhost/otrs-web/js/js-cache/C ... 030d.js:33


I have tried deleting the cache and restart the server but that does not seem to make any difference.

Would appreciate any help someone can give me as to how to resolve this.

When these errors occur the browser gets locked up.
Joachim
Znuny newbie
Posts: 3
Joined: 17 Dec 2012, 15:55
Znuny Version: 3.2.0 beta4

Re: 2 Errors need help with $Element.tabs is not a function

Post by Joachim »

Hi JeffTech
in my installation i got these errors too.
I opened an case at cape-it but their recommendation was that my installation is not supported.
They told me also that this issue is not well known.

my installation:
Windows Server 2012
MS SQL 2008
OTRS ITSM 3.2.7
KIX Core 2.0.1
KIX4OTRS 5.0.1

Installation and configuration of the IIS8.0 was done like described here:
http://wiki.otterhub.org/index.php?titl ... _and_IIS_7

Configuration of Perl was done like desribed here:
http://blogs.iis.net/wadeh/archive/2009 ... iis-7.aspx

My installation is for testing at the moment, so i reloaded my VMWare snapshot from before the KIX installation.

Regards
Joachim
Joachim
Znuny newbie
Posts: 3
Joined: 17 Dec 2012, 15:55
Znuny Version: 3.2.0 beta4

Re: 2 Errors need help with $Element.tabs is not a function

Post by Joachim »

Dear all,

i got an workarround from CapeIT:

change SysConfig-Key:
Frontend::Module###AgentTicketZoom
Loader hinzufügen
- thirdparty/jquery-ui-tabs-1.8.12/jquery.ui.tabs.js
- Core.KIX4OTRS.TicketZoomTabs.js
- Core.KIX4OTRS.CustomerDetails.js
- Core.Agent.TicketAction.js

Frontend::Module###AgentTicketQueue
Loader hinzufügen
- thirdparty/jquery-treeview-1.5pre/jquery-treeview.css
- thirdparty/jquery-treeview-1.5pre/jquery.treeview.js


Additionaly i changed my Active Perl config via PPM:
- uninstall PPM JSON XS
- install PPM JSON PP

Regards
Joachim
BIG_jan
Znuny advanced
Posts: 138
Joined: 05 Jun 2009, 11:32
Znuny Version: 3.3.8
Company: Netzlink Informationstechnik GmbH
Location: Wolfenbüttel,GER
Contact:

Re: 2 Errors need help with $Element.tabs is not a function

Post by BIG_jan »

I had an Error at a blank KIX install too, antd thanks to this post the error is gone now.

OTRS 3.2.13
KIXCore 2.0.4
Kix4OTRS 5.1.1

Changes in SysConfig
Frontend::Module###AgentTicketZoomTabArticle
add Core.KIX4OTRS.TicketZoomTabs.js as 'Loader' Type 'JS'

Frontend::Module###AgentITSMConfigItemZoom
add Core.KIX4OTRS.TicketZoomTabs.js as 'Loader' Type 'JS'

THX
Live: OTRS 3.3.8, ITSM 3.3.8, in vm
Test: otrs 3.3.8, ITSM

OS: RedHat 6.5 64Bit, Apache: 2.2.15, MySQL 5.5.38, Perl: 5.10.1, mod_Perl 2.0.4
BIG_jan
Znuny advanced
Posts: 138
Joined: 05 Jun 2009, 11:32
Znuny Version: 3.3.8
Company: Netzlink Informationstechnik GmbH
Location: Wolfenbüttel,GER
Contact:

Re: 2 Errors need help with $Element.tabs is not a function

Post by BIG_jan »

Damit ich es nicht vergesse:

File KIX4OTRSITSMConfigManagement/Kernel/Config/Files/KIX4OTRS_ITSMConfigItemZoom.xml

Alle Module aus Frontend::Module###AgentITSMConfigItemZoom müssen in der SysConfig auch hinterlegt werden / worden sein:

Code: Select all

<CSS>ITSM.Agent.Detail.css</CSS>
<CSS>ITSM.Agent.Default.css</CSS>
<CSS>ITSM.Print.css</CSS>
<CSS>KIX4OTRS.AgentITSMConfigItemZoomTab.css</CSS>
<JavaScript>thirdparty/jquery-tablesorter-2.0.5/jquery.tablesorter.js</JavaScript>
<JavaScript>thirdparty/jquery-ui-tabs-1.10.3/jquery.ui.tabs.js</JavaScript>
<JavaScript>Core.UI.Table.Sort.js</JavaScript>
<JavaScript>ITSM.Agent.Zoom.js</JavaScript>
<JavaScript>Core.KIX4OTRS.AgentITSMConfigItemZoomTabLinkGraph.js</JavaScript>
<JavaScript>Core.KIX4OTRS.TicketZoomTabs.js</JavaScript>
<JavaScript>Core.KIX4OTRS.ConfigItemZoomTabs.js</JavaScript>
einfach nachtragen, wenn nicht vorhanden
Live: OTRS 3.3.8, ITSM 3.3.8, in vm
Test: otrs 3.3.8, ITSM

OS: RedHat 6.5 64Bit, Apache: 2.2.15, MySQL 5.5.38, Perl: 5.10.1, mod_Perl 2.0.4
Post Reply