Attachment opens login page

Moderator: crythias

Post Reply
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

Attachment opens login page

Post by srivatsatatti »

Whenever an agent tries to open an attachment file, a new window with login (index.pl) screen gets open.

Any idea on this

Using OTRS-3.0.11
RHEL
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

Re: Attachment opens login page

Post by srivatsatatti »

and same for stats when report is of print format.
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

Re: Attachment opens login page

Post by srivatsatatti »

Guess its a serious problem, Can any one help pls...

At customer portal even when customer tries to read the articlet the .pl file is executing (customer.pl).

If i check the URL its showing as http://[servername]/otrs/index.pl/filename.txt?Action=Attachment;ArticleID=520;Fileid=2
and so its executing index.pl/customer.pl displaying login screen again.Is this correct?

Any help would be much appreciated.
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Attachment opens login page

Post by jojo »

check your webserver log, restart apache if needed
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

Re: Attachment opens login page

Post by srivatsatatti »

The error log shows
Mon Feb 13 17:16:18 2012] ArticleAttachmentDownload.pm: Subroutine new redefined at /opt/otrs//Kernel/Output/HTML/ArticleAttachmentDownload.pm line 20.
[Mon Feb 13 17:16:18 2012] ArticleAttachmentDownload.pm: Subroutine Run redefined at /opt/otrs//Kernel/Output/HTML/ArticleAttachmentDownload.pm line 34.
[Mon Feb 13 17:16:18 2012] ArticleAttachmentHTMLViewer.pm: Subroutine new redefined at /opt/otrs//Kernel/Output/HTML/ArticleAttachmentHTMLViewer.pm line 20.
[Mon Feb 13 17:16:18 2012] ArticleAttachmentHTMLViewer.pm: Subroutine Run redefined at /opt/otrs//Kernel/Output/HTML/ArticleAttachmentHTMLViewer.pm line 34.
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Attachment opens login page

Post by jojo »

thats just an info, not an error
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

Re: Attachment opens login page

Post by srivatsatatti »

Restarted apache but doesn't work. Issues is the same
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Attachment opens login page

Post by jojo »

check again your logs, check if somebody changed something in the code
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

Re: Attachment opens login page

Post by srivatsatatti »

No Nothing has been changed
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
Post Reply