Switch to Customer

Moderator: crythias

Locked
cici6160
Znuny newbie
Posts: 24
Joined: 29 Sep 2011, 20:55
Znuny Version: 3.3.8

Switch to Customer

Post by cici6160 »

I just upgraded from OTRS 3.2 to v3.3.8 - I can no longer "Switch to Customer". When I click on the "switch to customer" link it simply takes me to the Customer Login Page. Anyone else experience this issue? I would appreciate any help in troubleshooting this problem. Thanks
OTRS 3.3.8 on CentOS 6.5 with MySQL database
cici6160
Znuny newbie
Posts: 24
Joined: 29 Sep 2011, 20:55
Znuny Version: 3.3.8

Re: Switch to Customer

Post by cici6160 »

solution (that worked for me):

navigate to to Admin section sysconfig-->core

Set "SwitchToCustomer" to NO and save settings. Then change it back to YES and save settings.
OTRS 3.3.8 on CentOS 6.5 with MySQL database
RomanSzabados
Znuny newbie
Posts: 1
Joined: 29 Apr 2016, 14:21
Znuny Version: 5.0.9
Real Name: Roman Szabados
Company: Maxi IT, s.r.o.

Re: Switch to Customer

Post by RomanSzabados »

This is a rather old thread, but i had the same problem with a different solution.
My OTRS is configured to serve on "/" rather than on "/otrs". It seems logical now, but before i had my "ScriptAlias" set to "/". Everything except "Switch to Customer" worked fine... The switch to customer link took me only to the login window after a redirect... And i have noticed this:

<IP> - - [29/Apr/2016:14:15:17 +0200] "GET /index.pl?Action=AdminCustomerUser;Subaction=Switch;ID=Demo;ChallengeToken=somestring;;OTRSAgentInterface=somestring HTTP/1.1" 302 6101 "https://hostname/index.pl?Action=AgentC ... somestring" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0"
<IP> - - [29/Apr/2016:14:15:19 +0200] "GET //customer.pl HTTP/1.1" 302 508 "https://hostname/index.pl?Action=AgentC ... somestring" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0"
<IP> - - [29/Apr/2016:14:15:19 +0200] "GET /customer.pl?Action=CustomerTicketOverview;Subaction=MyTickets HTTP/1.1" 200 4388 "https://hostname/index.pl?Action=AgentC ... somestring" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0"

It works now after setting the "ScriptAlias" set to "".
Locked