OTRS not loading CSS and Javascript files

English! place to talk about development, programming and coding
Post Reply
masoodfarooq91
Znuny newbie
Posts: 60
Joined: 03 Jul 2014, 11:20
Znuny Version: version3.3
Real Name: masood farooq malik
Company: expertflow

OTRS not loading CSS and Javascript files

Post by masoodfarooq91 »

I have installed OTRS on windows 7 and configured it with eclipse. When i ran Debug configuration, OTRS index page has been loaded in the browser BUT NO CSS AND JAVASCRIPT. Browser is showing this warning:

Browser Warning
The browser you are using is too old. OTRS runs with a huge lists of browsers, please upgrade to one of these. Please see the documentation or ask your admin for further information.

Here is eclipse console with errors highlighted in bold:

Found default config file
Server started on 5030
LOG: 5 5030-server: main.: starting handler: cgi
LOG: 5 5030-server: main.: starting handler: file
LOG: 4 5030-server: 0:0:0:0:0:0:0:1: new connection
LOG: 4 5030-server: 0:0:0:0:0:0:0:1: new connection
LOG: 3 5030-0:0:0:0:0:0:0:1-0: Request 24 GET /index.pl HTTP/1.1
LOG: 5 5030-0:0:0:0:0:0:0:1-0: main.: invoking handler: cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-0: suffix=.cgi,.pl root=C:/otrs/OTRS/bin/cgi-bin url: /index.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-0: Checking for suffix: .cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-0: looking for: C:\otrs\OTRS\bin\cgi-bin\index.pl.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-0: Checking for suffix: .pl
LOG: 5 5030-0:0:0:0:0:0:0:1-0: looking for: C:\otrs\OTRS\bin\cgi-bin\index.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-0: found: C:\otrs\OTRS\bin\cgi-bin\index.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-0: CGI output 14013 bytes.
LOG: 3 5030-0:0:0:0:0:0:0:1-0: request done
LOG: 4 5030-server: 0:0:0:0:0:0:0:1: new connection
LOG: 3 5030-0:0:0:0:0:0:0:1-0: Request 23 GET /otrs-web/skins/Agent/default/css-cache/CommonCSS_50de79706c67d21602fec876ad2b83db.css HTTP/1.1
LOG: 5 5030-0:0:0:0:0:0:0:1-0: main.: invoking handler: cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-0: suffix=.cgi,.pl root=C:/otrs/OTRS/bin/cgi-bin url: /otrs-web/skins/Agent/default/css-cache/CommonCSS_50de79706c67d21602fec876ad2b83db.css
LOG: 5 5030-0:0:0:0:0:0:0:1-0: Checking for suffix: .cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-0: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web.cgi
LOG: 3 5030-0:0:0:0:0:0:0:1-1: Request 24 GET /otrs-web/skins/Agent/default/css/thirdparty/ui-theme/jquery-ui.css HTTP/1.1
LOG: 5 5030-0:0:0:0:0:0:0:1-0: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-1: main.: invoking handler: cgi
LOG: 4 5030-server: 0:0:0:0:0:0:0:1: new connection
LOG: 5 5030-0:0:0:0:0:0:0:1-0: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-0: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-0: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css-cache.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-0: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css-cache\CommonCSS_50de79706c67d21602fec876ad2b83db.css.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-0: Checking for suffix: .pl
LOG: 5 5030-0:0:0:0:0:0:0:1-0: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-0: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-0: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-0: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-0: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css-cache.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-0: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css-cache\CommonCSS_50de79706c67d21602fec876ad2b83db.css.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-0: main.: invoking handler: file
LOG: 5 5030-0:0:0:0:0:0:0:1-1: suffix=.cgi,.pl root=C:/otrs/OTRS/bin/cgi-bin url: /otrs-web/skins/Agent/default/css/thirdparty/ui-theme/jquery-ui.css
LOG: 5 5030-0:0:0:0:0:0:0:1-1: Checking for suffix: .cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css\thirdparty.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css\thirdparty\ui-theme.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css\thirdparty\ui-theme\jquery-ui.css.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-1: Checking for suffix: .pl
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css\thirdparty.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css\thirdparty\ui-theme.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-1: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css\thirdparty\ui-theme\jquery-ui.css.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-1: main.: invoking handler: file
LOG: 5 5030-0:0:0:0:0:0:0:1-0: file.: Looking for file: (C:/otrs/OTRS/bin/cgi-bin)(\otrs-web\skins\Agent\default\css-cache\CommonCSS_50de79706c67d21602fec876ad2b83db.css)
LOG: 4 5030-0:0:0:0:0:0:0:1-0: file.: no such file: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css-cache\CommonCSS_50de79706c67d21602fec876ad2b83db.css
LOG: 3 5030-0:0:0:0:0:0:0:1-0: Error: 404 Not Found: /otrs-web/skins/Agent/default/css-cache/CommonCSS_50de79706c67d21602fec876ad2b83db.css

LOG: 3 5030-0:0:0:0:0:0:0:1-0: request done
LOG: 4 5030-0:0:0:0:0:0:0:1-0: socket close
LOG: 5 5030-0:0:0:0:0:0:0:1-1: file.: Looking for file: (C:/otrs/OTRS/bin/cgi-bin)(\otrs-web\skins\Agent\default\css\thirdparty\ui-theme\jquery-ui.css)
LOG: 4 5030-0:0:0:0:0:0:0:1-1: file.: no such file: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css\thirdparty\ui-theme\jquery-ui.css
LOG: 3 5030-0:0:0:0:0:0:0:1-1: Error: 404 Not Found: /otrs-web/skins/Agent/default/css/thirdparty/ui-theme/jquery-ui.css

LOG: 3 5030-0:0:0:0:0:0:0:1-2: Request 24 GET /otrs-web/js/js-cache/CommonJS_c48c215171e7aad5e1f40ccf87b657e1.js HTTP/1.1
LOG: 5 5030-0:0:0:0:0:0:0:1-2: main.: invoking handler: cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-2: suffix=.cgi,.pl root=C:/otrs/OTRS/bin/cgi-bin url: /otrs-web/js/js-cache/CommonJS_c48c215171e7aad5e1f40ccf87b657e1.js
LOG: 5 5030-0:0:0:0:0:0:0:1-2: Checking for suffix: .cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-2: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-2: LOG: 4 5030-server: 0:0:0:0:0:0:0:1: new connection
LOG: 3 5030-0:0:0:0:0:0:0:1-1: request done
LOG: 4 5030-0:0:0:0:0:0:0:1-1: socket close
LOG: 3 5030-0:0:0:0:0:0:0:1-3: Request 24 GET /otrs-web/js/js-cache/ModuleJS_14d400d8ffccde24bb97a411ed932195.js HTTP/1.1
looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\js.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-3: main.: invoking handler: cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-2: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\js\js-cache.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-2: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\js\js-cache\CommonJS_c48c215171e7aad5e1f40ccf87b657e1.js.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-2: Checking for suffix: .pl
LOG: 5 5030-0:0:0:0:0:0:0:1-2: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-2: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\js.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-2: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\js\js-cache.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-2: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\js\js-cache\CommonJS_c48c215171e7aad5e1f40ccf87b657e1.js.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-2: main.: invoking handler: file
LOG: 5 5030-0:0:0:0:0:0:0:1-2: file.: Looking for file: (C:/otrs/OTRS/bin/cgi-bin)(\otrs-web\js\js-cache\CommonJS_c48c215171e7aad5e1f40ccf87b657e1.js)
LOG: 4 5030-0:0:0:0:0:0:0:1-2: file.: no such file: C:\otrs\OTRS\bin\cgi-bin\otrs-web\js\js-cache\CommonJS_c48c215171e7aad5e1f40ccf87b657e1.js
LOG: 3 5030-0:0:0:0:0:0:0:1-2: Error: 404 Not Found: /otrs-web/js/js-cache/CommonJS_c48c215171e7aad5e1f40ccf87b657e1.js

LOG: 3 5030-0:0:0:0:0:0:0:1-2: request done
LOG: 4 5030-0:0:0:0:0:0:0:1-2: socket close
LOG: 5 5030-0:0:0:0:0:0:0:1-3: suffix=.cgi,.pl root=C:/otrs/OTRS/bin/cgi-bin url: /otrs-web/js/js-cache/ModuleJS_14d400d8ffccde24bb97a411ed932195.js
LOG: 5 5030-0:0:0:0:0:0:0:1-3: Checking for suffix: .cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-3: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-3: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\js.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-3: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\js\js-cache.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-3: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\js\js-cache\ModuleJS_14d400d8ffccde24bb97a411ed932195.js.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-3: Checking for suffix: .pl
LOG: 5 5030-0:0:0:0:0:0:0:1-3: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-3: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\js.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-3: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\js\js-cache.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-3: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\js\js-cache\ModuleJS_14d400d8ffccde24bb97a411ed932195.js.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-3: main.: invoking handler: file
LOG: 5 5030-0:0:0:0:0:0:0:1-3: file.: Looking for file: (C:/otrs/OTRS/bin/cgi-bin)(\otrs-web\js\js-cache\ModuleJS_14d400d8ffccde24bb97a411ed932195.js)
LOG: 4 5030-0:0:0:0:0:0:0:1-3: file.: no such file: C:\otrs\OTRS\bin\cgi-bin\otrs-web\js\js-cache\ModuleJS_14d400d8ffccde24bb97a411ed932195.js
LOG: 3 5030-0:0:0:0:0:0:0:1-3: Error: 404 Not Found: /otrs-web/js/js-cache/ModuleJS_14d400d8ffccde24bb97a411ed932195.js

LOG: 3 5030-0:0:0:0:0:0:0:1-3: request done
LOG: 4 5030-0:0:0:0:0:0:0:1-3: socket close
LOG: 3 5030-0:0:0:0:0:0:0:1-4: Request 24 GET /otrs-web/skins/Agent/default/css-cache/CommonCSS_50de79706c67d21602fec876ad2b83db.css HTTP/1.1
LOG: 5 5030-0:0:0:0:0:0:0:1-4: main.: invoking handler: cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-4: suffix=.cgi,.pl root=C:/otrs/OTRS/bin/cgi-bin url: /otrs-web/skins/Agent/default/css-cache/CommonCSS_50de79706c67d21602fec876ad2b83db.css
LOG: 5 5030-0:0:0:0:0:0:0:1-4: Checking for suffix: .cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-4: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-4: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-4: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-4: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-4: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css-cache.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-4: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css-cache\CommonCSS_50de79706c67d21602fec876ad2b83db.css.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-4: Checking for suffix: .pl
LOG: 5 5030-0:0:0:0:0:0:0:1-4: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-4: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-4: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-4: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-4: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css-cache.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-4: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css-cache\CommonCSS_50de79706c67d21602fec876ad2b83db.css.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-4: main.: invoking handler: file
LOG: 5 5030-0:0:0:0:0:0:0:1-4: file.: Looking for file: (C:/otrs/OTRS/bin/cgi-bin)(\otrs-web\skins\Agent\default\css-cache\CommonCSS_50de79706c67d21602fec876ad2b83db.css)
LOG: 4 5030-0:0:0:0:0:0:0:1-4: file.: no such file: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\css-cache\CommonCSS_50de79706c67d21602fec876ad2b83db.css
LOG: 3 5030-0:0:0:0:0:0:0:1-4: Error: 404 Not Found: /otrs-web/skins/Agent/default/css-cache/CommonCSS_50de79706c67d21602fec876ad2b83db.css

LOG: 3 5030-0:0:0:0:0:0:0:1-4: request done
LOG: 4 5030-0:0:0:0:0:0:0:1-4: socket close
LOG: 4 5030-server: 0:0:0:0:0:0:0:1: new connection
LOG: 3 5030-0:0:0:0:0:0:0:1-5: Request 24 GET /otrs-web/skins/Agent/default/img/logo_bg.png HTTP/1.1
LOG: 5 5030-0:0:0:0:0:0:0:1-5: main.: invoking handler: cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-5: suffix=.cgi,.pl root=C:/otrs/OTRS/bin/cgi-bin url: /otrs-web/skins/Agent/default/img/logo_bg.png
LOG: 5 5030-0:0:0:0:0:0:0:1-5: Checking for suffix: .cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-5: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-5: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-5: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-5: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-5: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\img.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-5: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\img\logo_bg.png.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-5: Checking for suffix: .pl
LOG: 5 5030-0:0:0:0:0:0:0:1-5: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-5: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-5: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-5: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-5: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\img.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-5: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\img\logo_bg.png.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-5: main.: invoking handler: file
LOG: 5 5030-0:0:0:0:0:0:0:1-5: file.: Looking for file: (C:/otrs/OTRS/bin/cgi-bin)(\otrs-web\skins\Agent\default\img\logo_bg.png)
LOG: 4 5030-0:0:0:0:0:0:0:1-5: file.: no such file: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\img\logo_bg.png

LOG: 3 5030-0:0:0:0:0:0:0:1-5: Error: 404 Not Found: /otrs-web/skins/Agent/default/img/logo_bg.png
LOG: 3 5030-0:0:0:0:0:0:0:1-5: request done
LOG: 4 5030-0:0:0:0:0:0:0:1-5: socket close
LOG: 4 5030-server: 0:0:0:0:0:0:0:1: new connection
LOG: 3 5030-0:0:0:0:0:0:0:1-6: Request 24 GET /otrs-web/skins/Agent/default/img/icons/product.ico HTTP/1.1
LOG: 5 5030-0:0:0:0:0:0:0:1-6: main.: invoking handler: cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-6: suffix=.cgi,.pl root=C:/otrs/OTRS/bin/cgi-bin url: /otrs-web/skins/Agent/default/img/icons/product.ico
LOG: 5 5030-0:0:0:0:0:0:0:1-6: Checking for suffix: .cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-6: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-6: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-6: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-6: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-6: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\img.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-6: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\img\icons.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-6: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\img\icons\product.ico.cgi
LOG: 5 5030-0:0:0:0:0:0:0:1-6: Checking for suffix: .pl
LOG: 5 5030-0:0:0:0:0:0:0:1-6: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-6: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-6: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-6: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-6: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\img.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-6: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\img\icons.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-6: looking for: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\img\icons\product.ico.pl
LOG: 5 5030-0:0:0:0:0:0:0:1-6: main.: invoking handler: file
LOG: 5 5030-0:0:0:0:0:0:0:1-6: file.: Looking for file: (C:/otrs/OTRS/bin/cgi-bin)(\otrs-web\skins\Agent\default\img\icons\product.ico)
LOG: 4 5030-0:0:0:0:0:0:0:1-6: file.: no such file: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\img\icons\product.ico
LOG: 3 5030-0:0:0:0:0:0:0:1-6: Error: 404 Not Found: /otrs-web/skins/Agent/default/img/icons/product.ico

LOG: 3 5030-0:0:0:0:0:0:0:1-6: request done
LOG: 4 5030-0:0:0:0:0:0:0:1-6: socket close



NOTE: When i run OTRS with directly with OTRS agent interface shortcut, it runs fine, problem is when i run it with eclipse debug configuration

I have searched this forum and found some similar posts, but no on has solved my problem....
I have tried running these files,

"perl $OTRS_PATH/bin/otrs.DeleteCache.pl
perl $OTRS_PATH/bin/otrs.LoaderCache.pl"

but no result...............!!!!
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS not loading CSS and Javascript files

Post by reneeb »

masoodfarooq91 wrote: LOG: 5 5030-0:0:0:0:0:0:0:1-5: file.: Looking for file: (C:/otrs/OTRS/bin/cgi-bin)(\otrs-web\skins\Agent\default\img\logo_bg.png)
LOG: 4 5030-0:0:0:0:0:0:0:1-5: file.: no such file: C:\otrs\OTRS\bin\cgi-bin\otrs-web\skins\Agent\default\img\logo_bg.png
This path is wrong. It should result in C:\otrs\OTRS\var\httpd\htdocs\skins\Agent\default\img\logo_bg.png So you should check how you can configure Eclipse to provide the correct path.
NOTE: When i run OTRS with directly with OTRS agent interface shortcut, it runs fine, problem is when i run it with eclipse debug configuration
What is the "eclipse debug configuration". You should provide more information about how you configured eclipse.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
masoodfarooq91
Znuny newbie
Posts: 60
Joined: 03 Jul 2014, 11:20
Znuny Version: version3.3
Real Name: masood farooq malik
Company: expertflow

Re: OTRS not loading CSS and Javascript files

Post by masoodfarooq91 »

i have followed these steps in configuring eclipse:
1. downloaded eclipse.
2. installed epic plugin
3. File -> New -> Project Perl, in the next dialog box to set the Project name to OTRS, removed the check from Use default location and set the Location field with the path C: \OTRS \ OTRS.
4. in Eclipse created a new Debug Configuration in the following way:
- Activated the menu item Run -> Debug Configurations;
- In the Main tab of the dialog box, set the name of the configuration (eg OTRS) and select the project you just created OTRS;
- In the Web Server tab set the fields HTML Root Directory and CGI Root Directory with the path C: \ OTRS \ OTRS \ bin \ cgi-bin and the field Startup HTML File with the pathname C: \ OTRS \ OTRS \ bin \ cgi-bin \ index.pl;

then i ran this configuation, the login page opened in the browser with the following URL:
http://localhost:5034/index.pl

NOte: "When i directly open OTRS with the url 'http://localhost/otrs/index.pl' it opens fine, but i want to open it with eclipse debug configuration in order to debug it"
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS not loading CSS and Javascript files

Post by reneeb »

HTML Root Directory is C:\OTRS\OTRS\var\httpd\htdocs\
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
masoodfarooq91
Znuny newbie
Posts: 60
Joined: 03 Jul 2014, 11:20
Znuny Version: version3.3
Real Name: masood farooq malik
Company: expertflow

Re: OTRS not loading CSS and Javascript files

Post by masoodfarooq91 »

No it is giving error if i change directory to
C:\OTRS\OTRS\var\httpd\htdocs\
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS not loading CSS and Javascript files

Post by reneeb »

Which errors?

The directory I mentioned *is* the HTML document root. If that doesn't work with eclipse, you might have to change some other settings (Maybe you can/have to define an alias)...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
masoodfarooq91
Znuny newbie
Posts: 60
Joined: 03 Jul 2014, 11:20
Znuny Version: version3.3
Real Name: masood farooq malik
Company: expertflow

Re: OTRS not loading CSS and Javascript files

Post by masoodfarooq91 »

look at the error in the attached image.....!!!!


With the previous settings which i mentioned earlier, there wasnt any error, except CSS and JS were not loading
You do not have the required permissions to view the files attached to this post.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS not loading CSS and Javascript files

Post by reneeb »

use just "index.html" as the startup file, not the absolute path...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
masoodfarooq91
Znuny newbie
Posts: 60
Joined: 03 Jul 2014, 11:20
Znuny Version: version3.3
Real Name: masood farooq malik
Company: expertflow

Re: OTRS not loading CSS and Javascript files

Post by masoodfarooq91 »

Now the error becomes
" HTML Startup File is invalid"
masoodfarooq91
Znuny newbie
Posts: 60
Joined: 03 Jul 2014, 11:20
Znuny Version: version3.3
Real Name: masood farooq malik
Company: expertflow

Re: OTRS not loading CSS and Javascript files

Post by masoodfarooq91 »

i dont think the error lies here,,, Its something else, i dont know what but i think its somewhere else!
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: OTRS not loading CSS and Javascript files

Post by crythias »

Why do you need to use an IDE? You're spending so much time getting the IDE working ... how is that making your work productive?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
masoodfarooq91
Znuny newbie
Posts: 60
Joined: 03 Jul 2014, 11:20
Znuny Version: version3.3
Real Name: masood farooq malik
Company: expertflow

Re: OTRS not loading CSS and Javascript files

Post by masoodfarooq91 »

its not... its costing me too much.... Well if i dont set my IDE then how can I understand the flow of code? I want to understand the eisting code and then i want to do sme customizations.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: OTRS not loading CSS and Javascript files

Post by crythias »

How can you understand the flow of code?
How would the IDE help?

How about asking questions related to your goals for programming.
Also, check out the readme viewtopic.php?f=60&t=16544
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
masoodfarooq91
Znuny newbie
Posts: 60
Joined: 03 Jul 2014, 11:20
Znuny Version: version3.3
Real Name: masood farooq malik
Company: expertflow

Re: OTRS not loading CSS and Javascript files

Post by masoodfarooq91 »

i was hoping i can use a debug point to see from where the code execution starts, and then step by step understand how to code is running.
Because at this time, the code is not making any sense to me.
How can i undertand the code and decide how and where to do changes for customization?
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: OTRS not loading CSS and Javascript files

Post by crythias »

masoodfarooq91 wrote:How can i undertand the code and decide how and where to do changes for customization?
I don't know how (better) to answer your question. If you're reliant on an IDE to provide you with the answer, and can't figure this out by browsing folders or grep or perldoc or the documentation I've previous linked to, or searching the forums, or asking the specific question related to a change you're trying to make, but rather relying on the quirkiness of a glorified text editor to provide you with those answers, you're looking at the wrong end of the stick.

If the tool isn't working for you, it's time to find a different tool.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Post Reply