Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Act on the behalf of  (Read 5018 times)

Offline Nuno Neff

  • Full Member
  • ***
  • Posts: 246
  • Karma: +28/-10
    • View Profile
Act on the behalf of
« on: February 11, 2025, 07:36:21 AM »
Hello my act on the behalf of is not working, i am using abantecart 1.4 with php 8.3

When i click on the icon act on the behalf of it opens a page with the notice

Notice: Impersonate mode for customer "customer*****" by "admin"

But when i click on anything (Edit account details - Change password - Manage Address Book - My wish list - Order history - Transaction history -
Downloads - Notifications)  it doesnt work and opens page account/login

I installed version 1.4.1 to see if it was something from abantecart but it's still the same.

I tried it on your demo and everything works fine, what could it be?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6084
  • Karma: +284/-2
    • View Profile
Re: Act on the behalf of
« Reply #1 on: February 11, 2025, 08:35:27 AM »
Hello.
You might be accessing your admin panel using a different store URL than the one set in your settings. To resolve this, close all AbanteCart windows and clear your browser cache to ensure new cookies are generated when you log in again.

Offline Nuno Neff

  • Full Member
  • ***
  • Posts: 246
  • Karma: +28/-10
    • View Profile
Re: Act on the behalf of
« Reply #2 on: February 11, 2025, 08:53:42 AM »
I just did that and problem continues...

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6084
  • Karma: +284/-2
    • View Profile
Re: Act on the behalf of
« Reply #3 on: February 11, 2025, 09:24:23 AM »
I just did that and problem continues...
Please try in another browser

Offline Nuno Neff

  • Full Member
  • ***
  • Posts: 246
  • Karma: +28/-10
    • View Profile
Re: Act on the behalf of
« Reply #4 on: February 11, 2025, 09:32:13 AM »
I was on Edge and i tried it on Chrome but the same happens.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2110
  • Karma: +332/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Act on the behalf of
« Reply #5 on: February 11, 2025, 10:18:52 AM »
Hi, you can try to delete all cookies of your domain (see developer tools).
Logout from admin and storefront and then delete all cookies.
Also check what cookie with "AC_SF_" prefix value when you click on act_on_behalf button and after click on link on storefront.
If you have https enabled on your host - use it to login into admin side.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline Nuno Neff

  • Full Member
  • ***
  • Posts: 246
  • Karma: +28/-10
    • View Profile
Re: Act on the behalf of
« Reply #6 on: February 11, 2025, 10:41:55 AM »
ok, i think it's some extension because i've cloned my site and it's working, so now i have to activate extension by extension to see which one is screwing up with all this.

Offline Nuno Neff

  • Full Member
  • ***
  • Posts: 246
  • Karma: +28/-10
    • View Profile
Re: Act on the behalf of
« Reply #7 on: February 11, 2025, 02:19:27 PM »
I tried disabling all the extensions to see if any were interfering with Abantecart working properly but I couldn't find the problem. If anyone ever has this problem, just do as I did. At least it worked for me, I had to clone my site to another domain and then clone it back to my domain and that was it.

Working ;)

Offline Twinklekapoor

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-1
    • View Profile
Re: Act on the behalf of
« Reply #8 on: February 22, 2025, 12:03:30 AM »
It seems like a session or permission issue specific to your installation. Try clearing your browser cache and AbanteCart cache, then check if PHP session handling is working correctly. Also, verify if any custom modifications or extensions are interfering with the impersonation feature.

 

Powered by SMFPacks Social Login Mod