Jump to content

Cant "Act on Behalf of" Rate Topic   * * * * * 1 votes

 

Posted 02 April 2012 - 01:52 AM #1

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?
CS Cart 2.1.2
Apache version 2.2.21
PHP version 5.3.10

 

Posted 02 April 2012 - 03:39 AM #2

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.

Looking for high-quality, managed hosting environment for your USA/Canadian customers?

The Essential VPS package from ServINT provides everything a business owner needs to succeed.

Full disclosure: The above link provides credits towards my hosting account (not cash) so fair warning!


 

Posted 02 April 2012 - 07:47 AM #3

View PostJesseLeeStringer, on 02 April 2012 - 03:39 AM, said:

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.

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?
CS Cart 2.1.2
Apache version 2.2.21
PHP version 5.3.10

 
  • tbirnseth
  • Senior Member
  • Members
  • Join Date: 08-Nov 08
  • 5,277 posts

Posted 03 April 2012 - 07:47 AM #4

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

Authorized Reseller - Cart licenses: $305 (lowest reseller price)
Custom B2B Development, Consulting and Special Projects (get a quote).
Commercial addons to meet your business and operations needs.

http://www.ez-ms.com

 

Posted 04 April 2012 - 02:57 AM #5

View Posttbirnseth, on 03 April 2012 - 07:47 AM, said:

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

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.
CS Cart 2.1.2
Apache version 2.2.21
PHP version 5.3.10

 

Posted 04 April 2012 - 09:54 AM #6

View PostCosmeticTattooist, on 04 April 2012 - 02:57 AM, said:

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.

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.

Looking for high-quality, managed hosting environment for your USA/Canadian customers?

The Essential VPS package from ServINT provides everything a business owner needs to succeed.

Full disclosure: The above link provides credits towards my hosting account (not cash) so fair warning!


 
  • clips
  • Aged Resident Loon
  • Members
  • Join Date: 14-Jan 07
  • 1,162 posts

Posted 04 April 2012 - 02:21 PM #7

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.
Regards,
Jim
Currently using 2.2.5 Pro

 

Posted 13 April 2012 - 09:45 AM #8

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"
CS Cart 2.1.2
Apache version 2.2.21
PHP version 5.3.10

 
  • johnbol1
  • Senior Member
  • Members
  • Join Date: 23-Feb 10
  • 2,516 posts

Posted 13 April 2012 - 04:04 PM #9

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
www.hivis.co.uk the UK's online hivis safety marketplace

"Give me a man that tries and fails
than a man that never tries at all"

 

Posted 13 April 2012 - 11:45 PM #10

View Postjohnbol1, on 13 April 2012 - 04:04 PM, said:

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

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.

Looking for high-quality, managed hosting environment for your USA/Canadian customers?

The Essential VPS package from ServINT provides everything a business owner needs to succeed.

Full disclosure: The above link provides credits towards my hosting account (not cash) so fair warning!


 
  • termalert
  • Senior Member
  • Members
  • Join Date: 14-Jan 09
  • 185 posts

Posted 07 May 2013 - 05:08 AM #11

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.

 
  • termalert
  • Senior Member
  • Members
  • Join Date: 14-Jan 09
  • 185 posts

Posted 12 May 2013 - 03:52 AM #12

STOPPED WORKING AGAIN...lol