If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / how do I change the default adminstrator?

how do I change the default adminstrator?

Started by delia on 15 Aug 2016, 2:12 PM · Views: 1,270

Results 1 to 18 of 18
15 Aug 2016, 2:12 PM
#1
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #1 by delia

Never had to do this before and feel kinda dumb but I need to change the default administrator so that when sending emails from admin to the administrator (for testing purposes) it goes to the website owner and not me. I don't see anything in the admin tables that indicates how this is decided and I couldn't pop up an appropriate configuration setting.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

15 Aug 2016, 2:42 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

There's no such thing as a "default administrator".

Which specific emails are you wanting sent to someone else?
Most emails are sent to the addresses shown in Admin->Configuration->Email Options

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Aug 2016, 2:52 PM
#3
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #3 by delia

the options in send email under tools include an administrator. I thought that used to be determined by the email addresses entered in the email options but it the email went to me - and my email is not in admin.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

15 Aug 2016, 3:06 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 by drbyte

Oh. That "Administrator" option picks the email address from the currently-logged-in administrator.
You can change that email address by clicking "Account" in the top right corner of your admin screen, next to the Logoff link.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Aug 2016, 3:09 PM
#5
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #5 by delia

well, son of a gun. I don't recall that being the case. Obviously, this must of changed somewhere back along the line!

Thanks!

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

15 Aug 2016, 3:18 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #6 by drbyte

Just remember that the email address on an admin account also allows password resets for that admin account.

And for that reason I don't recommend having more than one administrator using the same email address.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Aug 2016, 8:49 PM
#7
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #7 by delia

and the reason why we were looking at this is because he cannot get order confirmation emails at all. Everything else is working fine - welcome emails, customer confirmation etc - just no order confirmation emails. I cannot thing of what could be happening. This comes after upgrading from 1.5.1 to 1.5.5a. Any ideas?

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

15 Aug 2016, 9:58 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #8 by drbyte

a) do customers get their confirmation emails?
b) if you change the address for admin copies of confirmation emails, do they arrive? What exactly is the address that's entered? Is it in the correct format? Admin->Configuration->Email Options

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 Aug 2016, 10:52 PM
#9
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #9 by delia

yep, customers get the confirmation and yes we have tried changing the admin email address and I know it's correct

I did install COWOA on this installation and this morning thought it must be because I had used the 1.5.4 orders.php file but using the 1.5.5a default file makes no difference.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

17 Aug 2016, 5:17 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #10 by drbyte

delia:

yes we have tried changing the admin email address and I know it's correct
The "address" may be correct, but have you put it in the correct prescribed format, as explained in the help-text next to the field?

ie:

"name of recipient" <[email protected]>

not just:

[email protected]

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Aug 2016, 1:30 PM
#11
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #11 by delia

just the email address has always worked - has that changed?

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

17 Aug 2016, 1:33 PM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #12 by drbyte

delia:

just the email address has always worked - has that changed?
Nope. Not new.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Aug 2016, 3:07 PM
#13
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #13 by delia

I made that change and the emails still aren't happening.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

17 Aug 2016, 6:49 PM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #14 by drbyte

Well, since all other emails are sending properly, it doesn't appear to be an issue with the email code.

So then the next typical culprit is either the email server or the email address itself. Remember: quite often a server may be configured to reject emails sent "from itself to itself", so maybe that's the issue (assuming the email address you're talking about is the same one the store sends from). I don't recall you saying that you tried various alternate email addresses.

I could type out a hundred other suggestions here, but I already put them in another couple articles, so I'll reference them instead:
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Email_Problems
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Understanding_Causes_Of_Lost_Emails

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Aug 2016, 7:13 PM
#15
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #15 by delia

no, we have tried various emails and as a customer he is getting confirmation emails.

Remember this is an upgrade (and template change) and he was getting the emails before the upgrade.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

17 Aug 2016, 7:14 PM
#16
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #16 by delia

and the emails show up as sent in the database archive.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

17 Aug 2016, 7:26 PM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #17 by drbyte

delia:

and the emails show up as sent in the database archive.
Then that means it's your email server that's dropping them. You might ask the server administrator what the email-server's logs are saying about why it's choosing not to deliver them.

I'm aware that you keep saying "it worked before the upgrade" from v151. Good. That's important to know.
While Zen Cart did upgrade the email code that handles email transmission (PHP Mailer upgraded to a much more modern version, which is much more compatible with modern mail servers), yours is the first I've heard of any sudden problems. In many cases it improved email delivery.

You haven't mentioned what email-transport is being used, or any other settings data. Those options are covered in the articles I linked to above. SMTPAUTH is what I always recommend people use for most reliable delivery.

If your server is requiring something specific, only the server administrator can tell you ....and probably only after reviewing the server configs and logs.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Aug 2016, 12:59 PM
#18
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #18 by delia

So it has to be the server (bluehost.com) because I set the exact same files up on my server and it all works perfectly.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo