Hello, we just upgraded from 3.2.8 to 3.3.9, all Packages are on latest versions, FAQ module was also manually reinstalled twice, but we are still getting error, after agent opens Faq -> Explorer:
Core.UI.InitTableHead is not a function
(?)()@https://servicedesk.company.com/otrs/in ... orer:878:5
Core.App</TargetNS.Ready/<@https://servicedesk.company.com/otrs-we ... s:1254:173
x.Callbacks/c@https://servicedesk.company.com/otrs-we ... js:2:25959
x.Callbacks/p.fireWith@https://servicedesk.company.com/otrs-we ... js:2:26755
.ready@https://servicedesk.company.com/otrs-we ... .js:2:3320
q@https://servicedesk.company.com/otrs-we ... 4.js:2:715
FAQ is on 2.3.2, didn't find any other update...
Thank you for help
Peter
[SOLVED] After upgrade, FAQ: JavaScript error
Moderator: crythias
[SOLVED] After upgrade, FAQ: JavaScript error
Last edited by peters on 29 Sep 2014, 13:05, edited 1 time in total.
OTRS 5.0.15 on Centos 6 and Postgresql 9.1
Re: After upgrade, FAQ: JavaScript error
Seems to be a Java-Cache-Issue.
Did you restore the whole /var directory?
Did you restore the whole /var directory?
My english is better than your german 
"Produktiv": OTRS: 5.0.x, OTRS::ITSM 5.0.x
"Testing": OTRS 6 git
OS: Debian 8.0 (Jessie)
Apache2.4.10/MySQL 5.5.41

"Produktiv": OTRS: 5.0.x, OTRS::ITSM 5.0.x
"Testing": OTRS 6 git
OS: Debian 8.0 (Jessie)
Apache2.4.10/MySQL 5.5.41
Re: After upgrade, FAQ: JavaScript error
How do you mean restored from /var.?
I did an upgrade via rpm, running centos 6.5. I didn't restore any files in /var or /opt/otrs, as this should be handled by the upgrade process automatically.
Can the cache be deleted manually?
I did an upgrade via rpm, running centos 6.5. I didn't restore any files in /var or /opt/otrs, as this should be handled by the upgrade process automatically.
Can the cache be deleted manually?
OTRS 5.0.15 on Centos 6 and Postgresql 9.1
Re: After upgrade, FAQ: JavaScript error
Hi peters,
1. open a command prompt on the server
2. change the working directory to the bin/ directory of your OTRS installation
3. run the script otrs.LoaderCache.pl -o delete
4. run the script otrs.DeleteCache.pl
5. ensure that var/httpd/htdocs/js/js-cache/ directory is empty
1. open a command prompt on the server
2. change the working directory to the bin/ directory of your OTRS installation
3. run the script otrs.LoaderCache.pl -o delete
4. run the script otrs.DeleteCache.pl
5. ensure that var/httpd/htdocs/js/js-cache/ directory is empty
My english is better than your german 
"Produktiv": OTRS: 5.0.x, OTRS::ITSM 5.0.x
"Testing": OTRS 6 git
OS: Debian 8.0 (Jessie)
Apache2.4.10/MySQL 5.5.41

"Produktiv": OTRS: 5.0.x, OTRS::ITSM 5.0.x
"Testing": OTRS 6 git
OS: Debian 8.0 (Jessie)
Apache2.4.10/MySQL 5.5.41
Re: After upgrade, FAQ: JavaScript error
Hi Rooobaaat,
many thanks for pointing to the real cause. After deleting cache it still didn't work, then I realized that we are using custom Theme and I updated it right after OTRS upgrade. But then packages like FAQ and ITSM were updated, which copied new files into the Standard folder, and those files I was missing in our Theme.
After copying missing files, it works correctly.
Peter
many thanks for pointing to the real cause. After deleting cache it still didn't work, then I realized that we are using custom Theme and I updated it right after OTRS upgrade. But then packages like FAQ and ITSM were updated, which copied new files into the Standard folder, and those files I was missing in our Theme.
After copying missing files, it works correctly.
Peter
OTRS 5.0.15 on Centos 6 and Postgresql 9.1
Re: After upgrade, FAQ: JavaScript error
Did you consider the OTRS admin manual on http://otrs.github.io/doc/manual/admin/ ... hemes.html ?
My english is better than your german 
"Produktiv": OTRS: 5.0.x, OTRS::ITSM 5.0.x
"Testing": OTRS 6 git
OS: Debian 8.0 (Jessie)
Apache2.4.10/MySQL 5.5.41

"Produktiv": OTRS: 5.0.x, OTRS::ITSM 5.0.x
"Testing": OTRS 6 git
OS: Debian 8.0 (Jessie)
Apache2.4.10/MySQL 5.5.41