Page 1 of 1

User Self-Registration Problem

Posted: Fri Feb 19, 2010 4:38 am
by wan86
Hello Garvin,

i have a problem with the User Self- Registration Problem.

When i type the data such as user name,password and email address. I've get this result

"Your account has been created. You should receive an E-Mail with all the necessary information after an Administrator has reviewed your request."

Then, i check in phpmyadmin and found the data have been insert in the pending_authors. However, when i check my email i don't receive any confirmation email.

What's the problem here? I hope Garvin can help me solve this problem.

Re: User Self-Registration Problem

Posted: Fri Feb 19, 2010 11:23 am
by garvinhicking
Hi!

Does your server generally send out emails? Maybe your server does not have a local mail server, or the blog's mail adress in the s9y configuration is set to an invalid account?

Regards,
Garvin

Re: User Self-Registration Problem

Posted: Fri Feb 19, 2010 1:30 pm
by wan86
I was thinking of testing the plugin with the smtp.gmail.com first before i using with the real smtp server.

Is the smtp.gmail.com generally send out email?
How to check the s9y configuration is invalid account?

Re: User Self-Registration Problem

Posted: Fri Feb 19, 2010 2:02 pm
by garvinhicking
Hi!

Gmail smtp only works in SSL mode, you need to know what you are doing when using GMail SMTP. Remeber that setting the php.ini variable "smtp" only is used on windows servers; for linux servers always sendmail is used.

The s9y blog-Email-setting is in the s9y configuration section.

Regards,
Garvin

Re: User Self-Registration Problem

Posted: Fri Feb 19, 2010 2:09 pm
by wan86
i see..
ok..thanks for the information...
if there's anythings that i want to ask, i will roger you...

Re: User Self-Registration Problem

Posted: Thu Mar 11, 2010 8:57 am
by wan86
Hi Garvin....

I'm still using my Local MTA...
however, when i fill the form on the user self-registration and click reigster...

it should appear "Your account has been created. You should receive an E-Mail with all the necessary information shortly." right?

However, my User Self-Registration only appear Error....

So, is it the server or the coding have the problem?

Re: User Self-Registration Problem

Posted: Thu Mar 11, 2010 10:07 am
by garvinhicking
Hi!

Which error?

Regards,
Garvin

Re: User Self-Registration Problem

Posted: Thu Mar 11, 2010 10:17 am
by wan86
it just appear the word Error..

User Self-Registration
__________________________________________________________________
Your account has been created. You should receive an E-Mail with all the necessary information shortly.

but it didn't appear like this..

User Self-Registration
__________________________________________________________________
Error

Re: User Self-Registration Problem

Posted: Thu Mar 11, 2010 10:20 am
by garvinhicking
Hi!

"Error" only happens when the php mail() function returned an error. Really, your MTA is totally misconfigured, I guess. :)

Regards,
Garvin

Re: User Self-Registration Problem

Posted: Thu Mar 11, 2010 10:24 am
by wan86
so, can you help me with the hint what should i check?

i'm really want to avoid this problem from happening

Re: User Self-Registration Problem

Posted: Thu Mar 11, 2010 10:29 am
by garvinhicking
Hi!

Create a small file test.php:

Code: Select all

<?php
print_r(mail('yourmail@domain.com', 'My subject', 'A testmail'));
?>
and call that file. You should get an error (replace the mail adress with your address) and this should help your MTA provider to fix the MTA.

Best regards,
Garvin

Re: User Self-Registration Problem

Posted: Thu Mar 11, 2010 1:59 pm
by wan86
ok..
thanks for the info

Re: User Self-Registration Problem

Posted: Fri Mar 12, 2010 9:04 am
by wan86
before i forget, i received three email at once after i click the "GO>" button on the user self-registration...
Is it supposed to happen like that?
from what i know, the user will get just one email for confirmation right?

Re: User Self-Registration Problem

Posted: Fri Mar 12, 2010 9:56 pm
by garvinhicking
Hi!

One mail is sent to the user himself, and one mail for each administrator on the blog.

If you used the same address for your user then you also use for your admin account, and you have another admin user account with the same mail address, that would sum up to 3 mails...

Regards,
Garvin

Re: User Self-Registration Problem

Posted: Fri Mar 12, 2010 10:51 pm
by wan86
refer to other discussion.. http://board.s9y.org/viewtopic.php?f=3& ... 05#p94405

Hi garvin...

I've the same problem but i received the email from the local MTA..

when i click the link inside the email, it work perfectly..
meaning it appear successfully when i click the link inside the email that i received.

So, are the solution for this problem are the same?

hope garvin can help solve this..