User Self-Registration Problem

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
wan86
Regular
Posts: 20
Joined: Fri Feb 19, 2010 2:46 am

User Self-Registration Problem

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: User Self-Registration Problem

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wan86
Regular
Posts: 20
Joined: Fri Feb 19, 2010 2:46 am

Re: User Self-Registration Problem

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: User Self-Registration Problem

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wan86
Regular
Posts: 20
Joined: Fri Feb 19, 2010 2:46 am

Re: User Self-Registration Problem

Post by wan86 »

i see..
ok..thanks for the information...
if there's anythings that i want to ask, i will roger you...
wan86
Regular
Posts: 20
Joined: Fri Feb 19, 2010 2:46 am

Re: User Self-Registration Problem

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: User Self-Registration Problem

Post by garvinhicking »

Hi!

Which error?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wan86
Regular
Posts: 20
Joined: Fri Feb 19, 2010 2:46 am

Re: User Self-Registration Problem

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: User Self-Registration Problem

Post by garvinhicking »

Hi!

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

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wan86
Regular
Posts: 20
Joined: Fri Feb 19, 2010 2:46 am

Re: User Self-Registration Problem

Post by wan86 »

so, can you help me with the hint what should i check?

i'm really want to avoid this problem from happening
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: User Self-Registration Problem

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wan86
Regular
Posts: 20
Joined: Fri Feb 19, 2010 2:46 am

Re: User Self-Registration Problem

Post by wan86 »

ok..
thanks for the info
wan86
Regular
Posts: 20
Joined: Fri Feb 19, 2010 2:46 am

Re: User Self-Registration Problem

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: User Self-Registration Problem

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wan86
Regular
Posts: 20
Joined: Fri Feb 19, 2010 2:46 am

Re: User Self-Registration Problem

Post 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..
Post Reply