Zen Cart Logo
Forums / Addon Admin Tools / Login as Customer module [Support Thread]

Login as Customer module [Support Thread]

Views: 59,659

Results 61 to 80 of 241
6 Mar 2008, 7:30 AM
#61
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

Login as Customer module [Support Thread]

I'm running the ZENCART 1.3.8a no SSL and I think I have register globals off " not sure 100% though" and installed both of them with master password and with out and when I go to customers and click on Place Order I a quick page flashes with this line : You are logged in as.. Please wait.then it change to a blank page with a default text on :

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. ...........

Where could be the problem ?

Thank in advance

6 Mar 2008, 7:29 PM
#62
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

Re: Login as Customer module [Support Thread]

Thats the text that I get on the page that I come to when I click on Place Order:

Not Found
The requested URL /index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Can anyone help on how to fix this problem .. and I know now for sure that I have register globals off " :mellow:!!

7 Mar 2008, 10:49 AM
#63
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

Re: Login as Customer module [Support Thread]

:clap:I fixed it myself and it works now on my test Zencart,:wink: Thanks any way

16 Mar 2008, 4:50 PM
#64
dogtags avatar

dogtags

Totally Zenned

Join Date:
Nov 2003
Posts:
876
Plugin Contributions:
1

Re: Login as Customer module [Support Thread]

How did you fix it?

17 Mar 2008, 7:05 AM
#65
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

Re: Login as Customer module [Support Thread]

It's just I have 3 templates in my Zencart, So I had to put the related files into the active template, Thats all what I did and good luck for you:wink:

19 Mar 2008, 12:55 AM
#66
gtcman avatar

gtcman

New Zenner

Join Date:
Aug 2007
Posts:
35
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

I looked through this topic but couldn't find an answer. i downloaded the mod and it includes what it seems like a double of everything, two folders named the same except one has ...what folders exactly i need to upload to the server? both? if i do that then they'll overwrite each other!

19 Mar 2008, 11:46 AM
#67
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

Re: Login as Customer module [Support Thread]

I think what you need to do is just to upload each file to the right directory "not the folder" , you can change the name of the original file temporarily on the server "to something else, to keep it as backup", that’s what I normally do. Good luck :yes:

19 Mar 2008, 4:38 PM
#68
gtcman avatar

gtcman

New Zenner

Join Date:
Aug 2007
Posts:
35
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

Okay, thank you, it worked.

Here is what i found though an I think the developer needs to address this.

when i logged in as customer, added some items to the shopping cart, then closed the explorer window without logging out and back to the admin, then i highlighted another customer, clicked on the Place Order button, then logged in as that customer. and when i clicked on the shopping carts the items from the previous customer were in this customers shopping cart! it kind of makes sense because the user never logged out, but i think once you click on the Place Order, it should run a routine to log out first and then log in as the current selected customer.

Thanks anyway, its great Mod!

19 Mar 2008, 4:57 PM
#69
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Login as Customer module [Support Thread]

A properly built mod will not require you to upload individual files, especially if they are in a folder structure already. I presume the two folders are for alternative situations, and only one is intended to be used in any one case. The author could shed more light on this.

Keeping original files renamed in the original locations can sometimes be a problem, as some folders are auto-loading - every file in them will be used. In nearly all cases, if you use the template override system, the original copy of the file is safe in the /template_default/ folder so there is no need to save another copy.
If you are not using the override system, you are setting yourself up for a lot of grief when the next version comes out and you try to upgrade.

For a mod like this that deals with /admin/ files, you do need to replace the originals, so keeping a backup copy elsewhere would be good.

19 Mar 2008, 8:21 PM
#70
gtcman avatar

gtcman

New Zenner

Join Date:
Aug 2007
Posts:
35
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

Thanks for that info Glenn. what i do in my server is create folders called "BACK" one folder in each place where i update or replace files, so i put the originals there and upload the new ones in. i found out the hard way the importance of backing up my files, backing up does saves you allots time...

20 Mar 2008, 6:35 AM
#71
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Login as Customer module [Support Thread]

Sounds good - that would keep backup files from interfering with the current ones but easily accessible.

22 Mar 2008, 5:06 PM
#72
blazetamer avatar

blazetamer

New Zenner

Join Date:
Mar 2005
Location:
Kentucky
Posts:
15
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

I have ZC 1.37
Installed Log in as Customer with Master Pass
all works well up to the point of clicking the "Place Order" button from Admin
I then get the front side page with all the correct information for the customer
I then click place order and I then get the front side page with "Welcome guest" and I am not logged in as the customer

As a side note if I enter the customers id (email address) from the front side log in and enter my "MASTER" password it works as intended.

Basically the Log in as Customer module passes all the correct information from the admin to the Front side place order or cancel order page but does not log in , it simply goes to the Front side "Welcom Guest " page

Any Ideas ?

28 Mar 2008, 12:40 PM
#73
shocker avatar

shocker

Zen Follower

Join Date:
Jul 2007
Location:
Jakarta
Posts:
346
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

I installed this mode some time ago and it worked several times when testing. but I tried to log on to demonstrate the feature to an assistant but it didn't work.
I get the following message when I click on "Place an Order":

[IMG]http://www.nahidfashions.com/boutique/includes/templates/template_default/images/icons/error.gif[/IMG]  There was a security error when trying to login.
2 Apr 2008, 3:14 PM
#74
shocker avatar

shocker

Zen Follower

Join Date:
Jul 2007
Location:
Jakarta
Posts:
346
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

I really need help with this mod. See my previous post. Can anyone help?

3 Apr 2008, 3:49 AM
#75
shocker avatar

shocker

Zen Follower

Join Date:
Jul 2007
Location:
Jakarta
Posts:
346
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

I figured that this problem is caused because admin's HTTP_SERVER uses http://nahidfashions.com and the store uses http://www.nahidfashions.com
So when i click the Place Order button I'm taken to http://nahidfashion.com/boutique

I fixed this by changing customer.php in admin but there has to be a better way.
Any ideas?

23 Apr 2008, 8:07 PM
#76
phark avatar

phark

New Zenner

Join Date:
Sep 2006
Location:
Tampa, FL
Posts:
36
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

I have followed the installation directions and have not been able to get the "add order" button to appear in admin/customers.

I am running 1.3.8a and ran the sql patch from the latest version (2.0) and no luck.

I must be missing something, any ideas where to look?

Thanks,
Patrick

26 Apr 2008, 1:28 PM
#77
shocker avatar

shocker

Zen Follower

Join Date:
Jul 2007
Location:
Jakarta
Posts:
346
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

phark:

I have followed the installation directions and have not been able to get the "add order" button to appear in admin/customers.

I am running 1.3.8a and ran the sql patch from the latest version (2.0) and no luck.

I must be missing something, any ideas where to look?

I don't remember all of the installation steps:blush:, but the admin/customers.php should have something like the following around line 1170

// BOF Set variables for login_as_customer module


  $place_order_button = 'includes/languages/english/images/buttons/button_placeorder.gif';
  $login_as_customer = 'index.php?main_page=login_as_customer';
  if (ENABLE_SSL_CATALOG == 'true') {
$url = HTTPS_SERVER . DIR_WS_HTTPS_CATALOG;
} elseif (ENABLE_SSL_CATALOG == 'false') {

// SA 04/3/08 added www in front of url because we are coming from admin
$url = "http://www.nahidfashions.com" /*HTTP_SERVER*/ .  DIR_WS_CATALOG; 
}
  $p_url = $url;
  $p_url .= $login_as_customer;
  
//EOF Setf Variables for login_as_customer module

let me know

26 Apr 2008, 2:48 PM
#78
blazetamer avatar

blazetamer

New Zenner

Join Date:
Mar 2005
Location:
Kentucky
Posts:
15
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

phark:

I have followed the installation directions and have not been able to get the "add order" button to appear in admin/customers.

I am running 1.3.8a and ran the sql patch from the latest version (2.0) and no luck.

I must be missing something, any ideas where to look?

Thanks,
Patrick

I had a similar problem and mine was a simple screw up on my part..

The place order image failed to load in the admin ....

admin/includes/languages/english/images/buttons/button_placeorder.gif

after I RE-uploaded it, it showed and worked as it should , probably not the issues in your case but hey,,, we are all human and I just missed it I guess.

3 May 2008, 10:40 AM
#79
jekkil avatar

jekkil

New Zenner

Join Date:
Aug 2006
Posts:
11
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

I have the same problem, no PlACE ORDER image in the admin, what can we do????? :frusty:

3 May 2008, 1:04 PM
#80
jekkil avatar

jekkil

New Zenner

Join Date:
Aug 2006
Posts:
11
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

Problem solved by reloading the module! now works great :clap: