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

2015-04-09 Thread David Boyes
> this is very interesting. Would you be willing to share your code? 

That's why I asked. 8-) I'm tired of maintaining the patches separately. 

Let me see how much work it would be to refit to the current source tree and 
chop out some of the more aggressive bits (or move the per-node cache to 
/var/otrs or something that's supposed to be node-local and always build the 
local piece from the database on startup). Also no point in giving you stuff 
that applies to early 3.x tree. 

> Making OTRS better cluster-able is definitely a goal for us.

Yay. 
___
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


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

2015-04-09 Thread Martin Gruner
Hi David,

this is very interesting. Would you be willing to share your code? I'd
be interested at least in the SysConfig -> DB part.
Making OTRS better cluster-able is definitely a goal for us.

Regards, mg

Am 09.04.15 um 14:38 schrieb David Boyes:
>> Which ' local file system'  references are you talking about?
> 
> Any time the code refers to a file on disk for configuration or operational 
> information instead of the database. My goal was to have the entire OTRS 
> system code (with the exception of the data it operates on) to be read-only. 
> I operate environments where truly read-only code can be efficiently 
> physically shared, and I wanted to take advantage of that. 
> 
>> There are just a few places where OTRS uses local file systems (session
>> storage, attachments, VirtualFS which is used by Change
>> Management) and all these also have options to use a database backend.
>> Apart from that, there is the loader cache for which there is the 
>> '--generate'
>> option now.
>> There is also the SysConfig which is stored in a file on disk.
> 
> Yes. Recent versions of the OTRS code are much, much better about not storing 
> node-specific code elements in external disk files (thank you!), which is why 
> I said my code would need updating. You weren't as careful about that in 
> earlier releases.
>  
>>  Did you store the minified JS and CSS files in the database? And the
>> SysConfig values? that's nice but it might be a little bit over-engineered. 
> 
> OK. If it's not useful, then no harm done. I think at least the parts that 
> move sysconfig data into the database would be useful (one of the most common 
> problems I see here is caused by not regenerating that cache file), but no 
> big deal. 
> 
>> Also,
>> the vast majority of OTRS users will not need clustered setups, and will use
>> vertical scaling  - bigger machines - or maybe break out the database server
>> to a separate machine, and avoid all headaches that come with multiple
>> master nodes.
> 
> Here I would disagree. As people virtualize more and more of their 
> infrastructure, there is significant hard data that small numbers of bigger 
> machines perform much more poorly than multiple smaller machines and are much 
> harder to tune for performance. It takes a lot more work for a hypervisor to 
> manage a few big machines than multiple smaller machines (especially on Intel 
> architectures which are not optimized for this kind of thing). Consider page 
> table mapping, swap infrastructure for large VMs and balancing in-memory vs 
> file caching for big machines when you need to bring substantial numbers of 
> pages in and out before a machine can be dispatched efficiently. It really 
> does work out better in terms of system overhead in a shared resource 
> environment to have a horizontally scalable design than a vertically scaled 
> one. You also gain a measure of HA design that allows concurrent maintenance 
> if done properly (another common problem seen here is not having a way to do 
> rolling up
>  grades to avoid outages, which really needs to be present for 
> enterprise-grade services). 
> 
> Definitely break out the database server in any case, but I'd argue much more 
> strongly for well-behaved cluster performance than just throwing hardware at 
> the problem. Horizontal and vertical scaling aren't mutually exclusive if you 
> design for them properly. 
> 
> ___
> 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
> 

-- 
Martin Gruner
Senior Developer R&D

OTRS AG
Bahnhofplatz 1a
94315 Straubing

T: +49 (0)6172 681988 0
F: +49 (0)9421 56818 18
I:  www.otrs.com/

Geschäftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751,
USt-Nr.: DE256610065
Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: André
Mindermann (Vorsitzender), Christopher Kuhn, Sabine Riedel

Schlanker, schneller und flacher denn je - OTRS 4! Und für alle, die
MEHR wollen: Entdecken Sie hier die OTRS Business Solution™ mit mehr
Business Features!
https://www.otrs.com/otrs-business-solution-fuer-besseren-kundenservice/?lang=de
___
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


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

2015-04-09 Thread David Boyes
> Which ' local file system'  references are you talking about?

Any time the code refers to a file on disk for configuration or operational 
information instead of the database. My goal was to have the entire OTRS system 
code (with the exception of the data it operates on) to be read-only. I operate 
environments where truly read-only code can be efficiently physically shared, 
and I wanted to take advantage of that. 

> There are just a few places where OTRS uses local file systems (session
> storage, attachments, VirtualFS which is used by Change
> Management) and all these also have options to use a database backend.
> Apart from that, there is the loader cache for which there is the '--generate'
> option now.
> There is also the SysConfig which is stored in a file on disk.

Yes. Recent versions of the OTRS code are much, much better about not storing 
node-specific code elements in external disk files (thank you!), which is why I 
said my code would need updating. You weren't as careful about that in earlier 
releases.
 
>  Did you store the minified JS and CSS files in the database? And the
> SysConfig values? that's nice but it might be a little bit over-engineered. 

OK. If it's not useful, then no harm done. I think at least the parts that move 
sysconfig data into the database would be useful (one of the most common 
problems I see here is caused by not regenerating that cache file), but no big 
deal. 

> Also,
> the vast majority of OTRS users will not need clustered setups, and will use
> vertical scaling  - bigger machines - or maybe break out the database server
> to a separate machine, and avoid all headaches that come with multiple
> master nodes.

Here I would disagree. As people virtualize more and more of their 
infrastructure, there is significant hard data that small numbers of bigger 
machines perform much more poorly than multiple smaller machines and are much 
harder to tune for performance. It takes a lot more work for a hypervisor to 
manage a few big machines than multiple smaller machines (especially on Intel 
architectures which are not optimized for this kind of thing). Consider page 
table mapping, swap infrastructure for large VMs and balancing in-memory vs 
file caching for big machines when you need to bring substantial numbers of 
pages in and out before a machine can be dispatched efficiently. It really does 
work out better in terms of system overhead in a shared resource environment to 
have a horizontally scalable design than a vertically scaled one. You also gain 
a measure of HA design that allows concurrent maintenance if done properly 
(another common problem seen here is not having a way to do rolling up
 grades to avoid outages, which really needs to be present for enterprise-grade 
services). 

Definitely break out the database server in any case, but I'd argue much more 
strongly for well-behaved cluster performance than just throwing hardware at 
the problem. Horizontal and vertical scaling aren't mutually exclusive if you 
design for them properly. 

___
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


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

2015-04-08 Thread Michiel Beijen
Hi David,

On Wed, Apr 8, 2015 at 9:24 PM, David Boyes  wrote:

> I have some updates that eliminate most of the local filesystem references, 
> but it would take some updating to get to the current release. I took the 
> approach of referencing blobs in a database table and adding a version number 
> column so that I can request the most current blob, then execute it.
>
> Would that be something useful?


Which ' local file system'  references are you talking about?
There are just a few places where OTRS uses local file systems
(session storage, attachments, VirtualFS which is used by Change
Management) and all these also have options to use a database backend.
Apart from that, there is the loader cache for which there is the
'--generate'  option now.
There is also the SysConfig which is stored in a file on disk.

 Did you store the minified JS and CSS files in the database? And the
SysConfig values? that's nice but it might be a little bit
over-engineered. Also, the vast majority of OTRS users will not need
clustered setups, and will use vertical scaling  - bigger machines -
or maybe break out the database server to a separate machine, and
avoid all headaches that come with multiple master nodes.
--
Michiel
___
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


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

2015-04-08 Thread David Boyes
> Especially for this scenario, since version 3.3.5 the otrs.LoaderCache.pl 
> script
> has the --generate option. Run it on both nodes; and you will be able to log 
> in
> just fine. You could call via a cron job or after installs and upgrades on 
> all your
> nodes.
> But as Johannes mentioned, to do a load balanced setup which actually
> makes sense, it takes a lot of thought and planning. It's not something that
> works out-of-the box with the default setup.

I have some updates that eliminate most of the local filesystem references, but 
it would take some updating to get to the current release. I took the approach 
of referencing blobs in a database table and adding a version number column so 
that I can request the most current blob, then execute it. 

Would that be something useful? 

== db

___
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


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

2015-04-08 Thread Michiel Beijen
Especially for this scenario, since version 3.3.5 the
otrs.LoaderCache.pl script has the --generate option. Run it on both
nodes; and you will be able to log in just fine. You could call via a
cron job or after installs and upgrades on all your nodes.
But as Johannes mentioned, to do a load balanced setup which actually
makes sense, it takes a lot of thought and planning. It's not
something that works out-of-the box with the default setup.

--
Michiel

On Wed, Apr 8, 2015 at 8:54 PM, Johannes Nickel
 wrote:
> There you have your problem. OTRS minimizes the JS and CSS Files, these
> files are generated via local scripts, each per machine. It's the same for
> the cache files and scripts. You can't yours simply load balance OTRS. There
> are several steps you have to look after.
>
> Regards
>
>
>
>
> On Wednesday, April 8, 2015, Ali Umair  wrote:
>>
>> My otrs application run on single node fine, but when run otrs application
>> on nodes two nodes for load balancing, after that i am getting this
>> exception on login page. I try to execute script of deletecache, loadcache
>> and rebuild config but error is still persist...
>>
>> Ali
>>
>> On 4/8/2015 12:34 PM, Renee B wrote:
>>
>> Did you upgrade your OTRS or is it the initial installation?
>>
>> On 08.04.2015 07:57, 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 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
>>
>>
>>
>>
>> --
>>
>> --
>>
>> 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


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

2015-04-08 Thread Johannes Nickel
There you have your problem. OTRS minimizes the JS and CSS Files, these
files are generated via local scripts, each per machine. It's the same for
the cache files and scripts. You can't yours simply load balance OTRS.
There are several steps you have to look after.

Regards



On Wednesday, April 8, 2015, Ali Umair  wrote:

>  My otrs application run on single node fine, but when run otrs
> application on nodes two nodes for load balancing, after that i am getting
> this exception on login page. I try to execute script of deletecache,
> loadcache and rebuild config but error is still persist...
>
> Ali
>
> On 4/8/2015 12:34 PM, Renee B wrote:
>
> Did you upgrade your OTRS or is it the initial installation?
>
> On 08.04.2015 07:57, 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 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
>
>
>
> --
>
> --
>
> *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

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

2015-04-08 Thread Ali Umair
My otrs application run on single node fine, but when run otrs 
application on nodes two nodes for load balancing, after that i am 
getting this exception on login page. I try to execute script of 
deletecache, loadcache and rebuild config but error is still persist...


Ali

On 4/8/2015 12:34 PM, Renee B wrote:

Did you upgrade your OTRS or is it the initial installation?

On 08.04.2015 07:57, 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 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





--

--

*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

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

2015-04-08 Thread Renee B
Did you upgrade your OTRS or is it the initial installation?

On 08.04.2015 07:57, 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 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
>
>

-- 
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de

___
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


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

2015-04-08 Thread Ali Umair

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 mailto:aum...@i2cinc.com>>:

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

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

2015-04-08 Thread Moritz Lenz

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 mailto:aum...@i2cinc.com>>:

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 *





__

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

2015-04-07 Thread Ali Umair

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 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 >:


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 uns

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

2015-04-07 Thread Johannes Nickel
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 :

>  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

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

2015-04-07 Thread Ali Umair

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