Cant "Act on Behalf of"

I have recently experienced a problem where I cant use the “act on behalf of” link in the admin panel to be able to view the front end of the store as if I am one of my customers. Nor can I use the the “view the page as if logged in as the administrator” link when veiwing products and content.



If I use either of those links it just takes me to the front page of the store and I am not logged in and cannot view the information as I should be able to if logged in either as the customer or the administrator.



Any thoughts on what the issue might be?

Mod Security is installed on your server, you need to apply a CS-Cart related whitelist.

Your webhost will need to provide you this service.

[quote name='JesseLeeStringer' timestamp='1333337951' post='134163']

Mod Security is installed on your server, you need to apply a CS-Cart related whitelist.

Your webhost will need to provide you this service.

[/quote]



Thanks for the reply, I have mentioned your suggestion to my host who say that they;

“had the mod_security logs open and as they replicated the issue, nothing came through at all”



Any other suggestions?

I have the same issue and I do NOT run mod_security on my servers. I thought is was just me! :-)

[quote name=‘tbirnseth’ timestamp=‘1333439253’ post=‘134201’]

I have the same issue and I do NOT run mod_security on my servers. I thought is was just me! :-)

[/quote]



CS-Cart support have suggest that it may relate to suhosin module on our host server and I am currently working on trying to isolate the fault.



Edit: I have disabled suhosin module and I still cannot act on behalf of a user.

[quote name='CosmeticTattooist' timestamp='1333508251' post='134262']

CS-Cart support have suggest that it may relate to suhosin module on our host server and I am currently working on trying to isolate the fault.



Edit: I have disabled suhosin module and I still cannot act on behalf of a user.

[/quote]



With suhosin, most of the default setting will provide encrypted cookie sessions. Disabling suhosin won't be of much use to you honestly. If you must, recompile apache without suhosin, with mod_security.

We don't really use it much, but “act on behalf of” works fine for us. We are using 2.2.4 and both the community version and pro work fine. This is also on 2 different servers with 2 different host.

Some feedback to the community on this issue.

I have to commend Natalia from CS-cart support for her patience and help with isolating the cause of this issue.

I can confirm that the problem did indeed relate to suhosin module in particular it is the session encrypt setting in the module that is causing the issue, isolation took some time but the fix is quite straigh forward.

All that is required is to add the following line of code without the quotes to your php.ini file in your www directory

“suhosin.session.encrypt = Off”

I have a similar issue but it happens with just one user.When I try to act on behalf of I just get erro occured in corner of screen. This user has over 800 orders in his order list so i deleted a load of them in case this was holding it up but still the same and also when the customer (just this one) tries to add to basket it just times out?

Any info appreciated.

( I have submitted a ticket but it is Friday 4pm local UK )

John

[quote name='johnbol1' timestamp='1334333058' post='134758']

I have a similar issue but it happens with just one user.When I try to act on behalf of I just get erro occured in corner of screen. This user has over 800 orders in his order list so i deleted a load of them in case this was holding it up but still the same and also when the customer (just this one) tries to add to basket it just times out?

Any info appreciated.

( I have submitted a ticket but it is Friday 4pm local UK )

John

[/quote]



If you've ever had session encryption, then the customer will need to clear their cookies.

Cookie will validate with CS-Cart, partially which leads to the issue mentioned.



J.

Mine didn't work on my installed cart because

( I assume ) the admin didn't have All privileges.

I edited the Administrator to have ALL privileges

and BINGO !! Act on behalf worked.

STOPPED WORKING AGAIN…lol

BUMP !!

I just spent an hour on the phone with a customer which could have

been about 5 minutes if I could have 'acted on her behalf'.

Sorry guys but I will be bumping this regularly.

This isn't the place to report bugs. You should either report your issue through the bug-tracker or contact the helpdesk through your helpdesk account.



If you bump needlessly without regard for others, then you're going to find a similar regard in any future questions/issues you request of this community. Just my personal perspective but I believe it is shared by other “regulars” here.

Well…it's been over a year since this 'bug?' was first reported.

Are you saying that the issue hasn't been addressed because

it was reported in the wrong section of the forum ?

[list]

[]Hang on tbirnseth.

[
]This IS in the right section.

[/list]

It's the right section to get help from the community for issues and troubleshooting, but if it's clearly a bug in the cart then there is a bug tracker for that.

I don't think that threatening to keep bumping a thread because someone's not getting their issue resolved is appropriate. Just my opinion.

I am not wishing to make Cscart look unattractive to visitors but too

many concerns are simply not being addressed ( apart from

being politely told where to go ).

CScart is still the best value for money that I have used ( and

I have used heaps ).

Hi,

I have uploaded Multivendor version 4.6.3 SP1 on a godaddy server and now am not able to act on behalf of the vendor. Act on behalf of customer is working fine. The server doesn't have mod_security enabled. Any suggestions?