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

Support AbanteCart eCommerce

Author Topic: Act on behalf of customer not working  (Read 22999 times)

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Re: Act on behalf of customer not working
« Reply #15 on: February 02, 2014, 07:14:01 PM »
yes,  in my case customer is ON  and approved -
I will run some more test scenarios later today or tomorrow and maybe make a video so you can see what we're seeing.
Lee

Update- after testing:
I made a new customer with no completed order - and it works as it should.   The other customer was made on v 1.1.7,  and it still has issues.  So my "theory" now says maybe it has something to do with customers created previous to 1.1.8.

Ron - can you test that on your dev system - make a new test customer on 1.1.8 and see if it behaves correctly?
Gordon - I am not sure if your customer was created prior to 1.1.8 update, if so try it with a 1.1.8 test customers.

Thanks guys.  Lee

An update to the above -  sad to say that it worked correctly on the first visit.  BUT if I go back a second time after closing
the results are the same it takes me to the account login page.  ???

Abantecart - this is all on my dev site - if you would like to see for yourself I'll be happy to give you access for a firsthand peek - just let me know.
Lee
« Last Edit: February 02, 2014, 10:12:06 PM by llegrand »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5791
  • Karma: +274/-2
    • View Profile
Re: Act on behalf of customer not working
« Reply #16 on: February 03, 2014, 04:21:36 AM »
Are you guys sure that customer's account you have problem with is with status ON (enabled)?
I can get what you explain ONLY if account is disabled (OFF). This would be expected behavior.

Unfortunately, I can not replicate the problem you explain. I want to see what you guys see.

Same on my side. If NO transaction I`m still able to 'Act on behalf' without any issues. Checked in latest FireFox & Chrome browsers
Maybe this is related to servers on only for 'upgraded cart from 1.1.7 to 1.1.8'?

gordontaylor

  • Guest
Re: Act on behalf of customer not working
« Reply #17 on: February 03, 2014, 08:55:02 AM »
It must be do to the upgrade, it worked in 1.1.7

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Re: Act on behalf of customer not working
« Reply #18 on: February 03, 2014, 12:06:04 PM »
Abantecart Admins -  what file handles the act on behalf transactions?   I would like to upload that file to the problem site and see if that solves the issue.

Thanks - Lee

gordontaylor

  • Guest
Re: Act on behalf of customer not working
« Reply #19 on: February 03, 2014, 03:10:44 PM »
Abantecart Admins -  what file handles the act on behalf transactions?   I would like to upload that file to the problem site and see if that solves the issue.

Thanks - Lee

Lee reports to me privately, that with 1.1.8 installed on a different server she has works as the admins are seeing the issue....which is NO issue. Therefore one must conclude that it's a server issue with the php configuration perhaps.

At any rate, it's NOT a big deal, just a quirk we were trying to get sorted out. If it won't work on my hosting company, that is on me....not AbanteCart.

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Re: Act on behalf of customer not working
« Reply #20 on: February 03, 2014, 06:39:36 PM »
Gordon,  I didn't reach that conclusion.  To prove my point to myself I just completed uploading a fresh install to the same "problem" server with a new installation on a sub-domain.

It does not have the issue -  act on behalf works as it is suppose to.  Since the upgrade on another server also didn't have the issue my conclusion is that my issue is there is a corruption in the file that handles.

So I am back to asking the Admins - what file(s) effect 'act on the behalf'   or what the other suggestion to replace files.

Thanks
Lee

gordontaylor

  • Guest
Re: Act on behalf of customer not working
« Reply #21 on: February 03, 2014, 07:36:31 PM »
Ah, gotcha, I had it wrong. I leave it in the capable hands of the core guys!

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Re: Act on behalf of customer not working (after much testing!)
« Reply #22 on: February 04, 2014, 03:45:26 PM »
Ok,  I do believe it is a matter of a corruption during the update.   After extensive testing for 2 days and many installations of 1.1.8 and 1.1.7  all on the same server and using subdomains for fresh installs so we could eliminate the server issue as the problem. 
No chagnes have been made to the server setup during any of this testing.

Here's my results:
1,  the original site with 1.1.8 update applied to 1.1.7 will not function on the act on behalf
2.  a fresh install of 1.1.8 on new subdomain - did not fail on first try,  but after using act on behalf once it locks up and will not function again.
3.  a fresh install of 1.1.7 on another new subdomain -  worked flawlessly time after time.
4.  an update of site #3 from 1.1.7 to 1.1.8  works as expected.


So if you will provide me with the files that effect act on behalf - I will reload them to the original site and verify this is the fix so perhaps the others with this issue can get a resolve also.

thanks
Lee

gordontaylor

  • Guest
Re: Act on behalf of customer not working
« Reply #23 on: February 04, 2014, 04:09:06 PM »
Good job Lee, persistence pays off!

Offline DavidLIR

  • Jr. Member
  • **
  • Posts: 86
  • Karma: +7/-0
    • View Profile
    • Love is Real
Re: Act on behalf of customer not working
« Reply #24 on: February 04, 2014, 08:06:52 PM »
Thanks for the discussion, Lee, Buddhaboy, Gordon,

I am also getting the same response the 3 of you are getting. And to add my 2 cents to the pot...I agree that this is very necessary for helping a customer who is needing help in perhaps getting their first order done correctly!

Love is Real....All Else is Illusion

Offline junkyard

  • Full Member
  • ***
  • Posts: 127
  • Karma: +25/-0
    • View Profile
Re: Act on behalf of customer not working
« Reply #25 on: February 05, 2014, 12:41:07 PM »
   Public function actonbehalf() is called from:
~/public_html/admin/controller/pages/sale/customer_transaction.php
~/public_html/admin/controller/pages/sale/customer.php

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Re: Act on behalf of customer not working
« Reply #26 on: February 05, 2014, 04:52:32 PM »
thanks for the files Junkyard -  just finished changing out those two files from the one working test site to a not-working test site -  didn't seem to change anything - I did remember to clear caches, etc.

So either my thoughts on a file corruptions are wrong - or ?  So I think I will just start working thru the files one at a time from the one test site that does work correctly and see if I can hit the offender.  I'll report back when I've finished. 

Lee

gordontaylor

  • Guest
Re: Act on behalf of customer not working
« Reply #27 on: February 05, 2014, 05:10:22 PM »
I've had a few things acting a little weird with regard to customer stuff.

i.e. A dummy account that worked just fine on 1.1.7 gave some weird errors when trying to log into it as a CX.

1st time trying to log in I got a 500 internal server error. Hit the back button then hit submit again and it logged in just fine, and every time after that.

Tired a second account and same thing happened.

Offline helperbee

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +2/-0
    • View Profile
Re: Act on behalf of customer not working
« Reply #28 on: February 02, 2016, 01:50:30 AM »
Was this ever resolved? I'm having the same issue. I can't use "Act on Behalf" to help a new customer.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5791
  • Karma: +274/-2
    • View Profile
Re: Act on behalf of customer not working
« Reply #29 on: February 02, 2016, 03:23:13 AM »
Was this ever resolved? I'm having the same issue. I can't use "Act on Behalf" to help a new customer.

Hello. This is old topic. Current AbanteCart version is 1.2.5
What AbanteCart version you have?

 

Powered by SMFPacks Social Login Mod