Click to See Complete Forum and Search --> : Registration Page problem...


invision
05-15-2006, 12:41 PM
I am using a very similar method for another site and it works fine, but the following does not :

It adds a user to the 'users' table as well as a profile to the 'profiles' table.

But it does not send the email. It did for me as admin first time, but has not done the same since. I've changed it to other emails I've used, but to no avail.

Any ideas ??


php

Many thanks,


Michael.

thunder77
05-15-2006, 01:31 PM
I can see right away that your config.inc.php file is not being included since you are missing a period. needs to be require_once ('../includes/config.inc.php'); you are not going back a directory like you need to... I'll look some more, but fix that and check it out.

edit: you're missing it on the next include as well.

thunder77
05-15-2006, 01:33 PM
footer too...

invision
05-15-2006, 01:47 PM
But they display fine.

It displays the 'footer.html' and I'm pretty sure it uses the config.inc.php ok too.

rch10007
05-15-2006, 02:42 PM
you are using too many brackets in your statements....Are you getting the error message that says you cannot be registered?

invision
05-15-2006, 02:46 PM
No.

It says I'm registered and that its emailing out an activation link.

It seems to just register as many people as possible, but only sends out one activation link to the first user.

I dropped the tables, then tried it again, and it only registered and sent an email once.

rch10007
05-15-2006, 02:46 PM
i just tried it and got the confirmation page. i havent gotten the email, is your server set up correctly to send mail?

invision
05-15-2006, 02:48 PM
yes

when i do it sends fine to mike_AT_robdougan_DOT_org

invision
05-15-2006, 03:00 PM
it seems to only allow people on robdougan.org

must be a server problem