News:

AbanteCart v1.4.2 is released.

Main Menu

Act on behalf of customer not working

Started by buddahboy, January 31, 2014, 04:09:40 PM

Previous topic - Next topic

llegrand

#15
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

Basara

Quote from: abantecart on February 02, 2014, 05:49:04 PM
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

It must be do to the upgrade, it worked in 1.1.7

llegrand

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

Quote from: llegrand 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

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.

llegrand

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

Ah, gotcha, I had it wrong. I leave it in the capable hands of the core guys!

llegrand

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


DavidLIR

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

junkyard

   Public function actonbehalf() is called from:
~/public_html/admin/controller/pages/sale/customer_transaction.php
~/public_html/admin/controller/pages/sale/customer.php

llegrand

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

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.

helperbee

Was this ever resolved? I'm having the same issue. I can't use "Act on Behalf" to help a new customer.

Basara

Quote from: helperbee 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.

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

Forum Rules Code of conduct
AbanteCart.com 2010 -