Re: [OTRS] JavaScriptError: Cannot call method 'Init' of undefined

Ali Umair <[email protected]> Wed, 08 Apr 2015 12:29:38 +0500
Newsgroups gmane.comp.otrs.devel
Message-ID <[email protected]>
Browser version is Firefox 13.0.1


On 4/8/2015 12:09 PM, Moritz Lenz wrote:
> On 04/08/2015 07:57 AM, Ali Umair wrote:
>> Hi,
>>
>> - Browser *(Client Browser firfox and chrome)*
>> - OS *(Client browser linx and OTRS running  on Linux)*
>> - OTRS Version *(3.0.6)*
>> - What Host (Linux, Win) *Host is linux*
>> - Webserver *(Apache)*
>> - Is anything in the logs (apache / nginx error log) and OTRS Log that
>> maybe related to you action
>> - when does the error occur?
>> *
>> When i hit on Login page.... Too Old browser message displayed
>
> Maybe the problem is actually what the error message says? Your 
> browsers are too old?
>
> You didn't include the browser versions.
>
> Cheers,
> Moritz
>
>> and on
>> alert bo javascript message displayed of "*TypeError: Cannot call method
>> 'Init' of undefined*" in common JS file
>>
>> In error log:*
>>
>> [Sat Mar 28 23:44:11 2015] [error] [;] File does not exist:
>> /opt/iplOTRS/var/httpd/htdocs/skins/Agent/default/css-cache/CommonCSS_f0d8130800dc2d7b6a226b692b4a8776.css, 
>>
>> referer:
>> https://support.innovative-pk.com/otrs/index.pl?Action=AgentTicketSearch;Subaction=Search;Profile=last-search;SortBy=Age;OrderBy=Down;TakeLastSearch=1;StartHit=1;TicketID=161936 
>>
>> [Sat Mar 28 23:44:13 2015] [error] [;] File does not exist:
>> /opt/iplOTRS/var/httpd/htdocs/js/js-cache/CommonJS_26da628935b53a24253a5f2450c56db2.js, 
>>
>> referer:
>> https://support.innovative-pk.com/otrs/index.pl?Action=AgentTicketSearch;Subaction=Search;Profile=last-search;SortBy=Age;OrderBy=Down;TakeLastSearch=1;StartHit=1;TicketID=161936 
>>
>> [Sat Mar 28 23:44:22 2015] [error] [;] File does not exist:
>> /opt/iplOTRS/var/httpd/htdocs/js/js-cache/CommonJS_26da628935b53a24253a5f2450c56db2.js, 
>>
>> referer: https://support.innovative-pk.com/otrs/index.pl
>>
>>
>> *In access log i get following msgs:*
>>
>> ; - - [29/Mar/2015:03:57:26 -0700] "GET /otrs/index.pl HTTP/1.1" 200
>> 10732 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101
>> Firefox/36.0"
>> ;2 - - [29/Mar/2015:03:57:27 -0700] "GET /" 200 275 "-" "-"
>> ; - - [29/Mar/2015:03:57:27 -0700] "GET
>> /otrs-web/js/js-cache/ModuleJS_262e1655ed48a1645e7d6aaa7eab7cd8.js
>> HTTP/1.1" 200 680 "https://support.innovative-pk.com/otrs/index.pl"
>> "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 
>> Firefox/36.0"
>> ; - - [29/Mar/2015:03:57:27 -0700] "GET
>> /otrs-web/js/js-cache/CommonJS_bb6e60a0b78bf3e1bd894440b20a34a8.js
>> HTTP/1.1" 200 300568 "https://support.innovative-pk.com/otrs/index.pl"
>> "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 
>> Firefox/36.0"
>> ; - - [29/Mar/2015:03:57:40 -0700] "GET
>> /otrs-web/skins/Agent/default/css-cache/CommonCSS_d2cb2cb04e61217e3345baf51d998492.css 
>>
>> HTTP/1.1" 404 283 "https://support.innovative-pk.com/otrs/index.pl"
>> "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 
>> Firefox/36.0"
>> ; - - [29/Mar/2015:03:57:40 -0700] "GET
>> /otrs-web/skins/Agent/default/css/thirdparty/ui-theme/jquery-ui.css
>> HTTP/1.1" 200 30158 "https://support.innovative-pk.com/otrs/index.pl"
>> "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 
>> Firefox/36.0"
>> ; - - [29/Mar/2015:03:57:40 -0700] "GET
>> /otrs-web/js/js-cache/CommonJS_dd46ed1a27280cd74ffde3b1f18acd58.js
>> HTTP/1.1" 404 263 "https://support.innovative-pk.com/otrs/index.pl"
>> "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 
>> Firefox/36.0"
>>
>>
>>
>> On 4/8/2015 10:43 AM, Johannes Nickel wrote:
>>> Hey,
>>>
>>> to help you we need some more information like:
>>> - Browser
>>> - OS
>>> - OTRS Version
>>> - What Host (Linux, Win)
>>> - Webserver
>>> - Is anything in the logs (apache / nginx error log) and OTRS Log that
>>> maybe related to you action
>>> - when does the error occur?
>>>
>>> regards
>>> Johannes
>>>
>>> 2015-04-08 7:10 GMT+02:00 Ali Umair <[email protected]
>>> <mailto:[email protected]>>:
>>>
>>>     Hi,
>>>         I am facing same issue in OTRS. Can anyone please guide how i
>>>     fix this issue?? Its humble request if someone help or guide me??
>>>
>>>     [ERROR] JavaScriptError: Cannot call method 'Init' of undefined
>>>         • 
>>> /otrs-web/js/js-cache/CommonJS_164eff894a813f6591b6435b5c04d077.js:212Uncaught 
>>> TypeError: Cannot call method 'Init' of undefined
>>>             • 
>>> TargetNS.HandleFinalError/otrs-web/js/js-cache/CommonJS_164eff894a813f6591b6435b5c04d077.js:212
>>>             • (anonymous 
>>> function)/otrs-web/js/js-cache/CommonJS_164eff894a813f6591b6435b5c04d077.js:546
>>>             • 
>>> c.b.extend.ready/otrs-web/js/js-cache/CommonJS_164eff894a813f6591b6435b5c04d077.js:37
>>>             • 
>>> c.t/otrs-web/js/js-cache/CommonJS_164eff894a813f6591b6435b5c04d077.js:37 
>>>
>>> /otrs-web/js/js-cache/CommonJS_164eff894a813f6591b6435b5c04d077.js:168[ERROR] 
>>> JavaScriptError: Cannot call method 'Init' of undefined
>>>         • 
>>> /otrs-web/js/js-cache/CommonJS_164eff894a813f6591b6435b5c04d077.js:212Uncaught 
>>> TypeError: Cannot call method 'Init' of undefined
>>>             • 
>>> TargetNS.HandleFinalError/otrs-web/js/js-cache/CommonJS_164eff894a813f6591b6435b5c04d077.js:212
>>>             • (anonymous 
>>> function)/otrs-web/js/js-cache/CommonJS_164eff894a813f6591b6435b5c04d077.js:546
>>>             • 
>>> c.b.extend.ready/otrs-web/js/js-cache/CommonJS_164eff894a813f6591b6435b5c04d077.js:37
>>>
>>>
>>>
>>>     --
>>>
>>>     --
>>>
>>>     *Best Regards*
>>>
>>>     *Ali Umair *
>>>
>>>
>>>
>>>
>>>
>>>     _______________________________________________
>>>     OTRS mailing list: dev - Webpage: http://otrs.org/
>>>     Archive: http://lists.otrs.org/pipermail/dev
>>>     To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> OTRS mailing list: dev - Webpage:http://otrs.org/
>>> Archive:http://lists.otrs.org/pipermail/dev
>>> To unsubscribe:http://lists.otrs.org/cgi-bin/listinfo/dev
>>
>>
>> -- 
>>
>> -- 
>>
>> *Best Regards*
>>
>> *Ali Umair | Software Engineer *
>> *i**2**c**Pakistan*| 04-Old FCC, Ferozepur Road, Lahore, PAKISTAN
>> Ph: 0092-42-111 000 911 X 171 | Cell: +92-334-4556898
>>
>>
>>
>>
>> _______________________________________________
>> OTRS mailing list: dev - Webpage: http://otrs.org/
>> Archive: http://lists.otrs.org/pipermail/dev
>> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
>>
>
>
> _______________________________________________
> OTRS mailing list: dev - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/dev
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev


-- 

-- 

*Best Regards*

*Ali Umair | Software Engineer *
*i**2**c**Pakistan*| 04-Old FCC, Ferozepur Road, Lahore, PAKISTAN
Ph: 0092-42-111 000 911 X 171 | Cell: +92-334-4556898

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev