when you attempt to register does it look like you have successfully registered (until you look at your database) or is the login script or php bouncing back any errors at you?
+4
meadsy25
mattastic
mr_roo
Fred-Eric
8 posters
Adding new fields Part 1
Linchpin311- Number of posts : 220
Age : 38
Localisation : Long Island
Registration date : 2007-05-14
- Post n°26
Re: Adding new fields Part 1
meadsy25- Number of posts : 13
Registration date : 2011-08-22
- Post n°27
Re: Adding new fields Part 1
It's all successful until I look at the database.
Linchpin311- Number of posts : 220
Age : 38
Localisation : Long Island
Registration date : 2007-05-14
- Post n°28
Re: Adding new fields Part 1
i havent gone through all your code yet, but lets start by checking out process.php line 104
the POST values for user, pass, email, and ac_f_name looks good, but after that you add a $ to the beginning of every POST value so the script is looking for a value that doesnt exist. try changing that line to:
- Code:
$retval = $session->register($_POST['user'], $_POST['pass'], $_POST['email'], $_POST['ac_f_name'], $_POST['$ac_l_name'], $_POST['$ac_add1'], $_POST['$ac_add2'], $_POST['$ac_city'], $_POST['$ac_county'], $_POST['$ac_country'], $_POST['$ac_postcode'], $_POST['$ac_phone'], $_POST['$ac_mobile'], $_POST['$ac_mail']);
the POST values for user, pass, email, and ac_f_name looks good, but after that you add a $ to the beginning of every POST value so the script is looking for a value that doesnt exist. try changing that line to:
- Code:
$retval = $session->register($_POST['user'], $_POST['pass'], $_POST['email'], $_POST['ac_f_name'], $_POST['ac_l_name'], $_POST['ac_add1'], $_POST['ac_add2'], $_POST['ac_city'], $_POST['ac_county'], $_POST['ac_country'], $_POST['ac_postcode'], $_POST['ac_phone'], $_POST['ac_mobile'], $_POST['ac_mail']);
Siggles- Number of posts : 11
Registration date : 2011-09-03
- Post n°29
Re: Adding new fields Part 1
Ahh you git, you beat me to it, lol!!
Linchpin311 wrote:i havent gone through all your code yet, but lets start by checking out process.php line 104
- Code:
$retval = $session->register($_POST['user'], $_POST['pass'], $_POST['email'], $_POST['ac_f_name'], $_POST['$ac_l_name'], $_POST['$ac_add1'], $_POST['$ac_add2'], $_POST['$ac_city'], $_POST['$ac_county'], $_POST['$ac_country'], $_POST['$ac_postcode'], $_POST['$ac_phone'], $_POST['$ac_mobile'], $_POST['$ac_mail']);
the POST values for user, pass, email, and ac_f_name looks good, but after that you add a $ to the beginning of every POST value so the script is looking for a value that doesnt exist. try changing that line to:
- Code:
$retval = $session->register($_POST['user'], $_POST['pass'], $_POST['email'], $_POST['ac_f_name'], $_POST['ac_l_name'], $_POST['ac_add1'], $_POST['ac_add2'], $_POST['ac_city'], $_POST['ac_county'], $_POST['ac_country'], $_POST['ac_postcode'], $_POST['ac_phone'], $_POST['ac_mobile'], $_POST['ac_mail']);
meadsy25- Number of posts : 13
Registration date : 2011-08-22
- Post n°30
Re: Adding new fields Part 1
Stunning. Sorted.
So simple but couldn't see it for the trees.
Thank you both for helping. I was going mad.
So simple but couldn't see it for the trees.
Thank you both for helping. I was going mad.
|
|