Topic: E-Mail Field will not allow register or update user (Read 2088 times)
My name is Bong, James Bong
Posts: 10
68 credits Members referred : 0
« on: Mar 15, 2007, 04:39:13 am »
Ok, after a long time trying to make the script actually function correctly, I have encountered a new small/minor problem. It may have something to do with a server setting, because to my understanding everything is setup correctly.
My basic problem is that when I either try to register a new account, or simply update an existing one (for example administrator), it will not allow me register or update. I know that the problem is based around the email address field because of this: When I log into admin I can update everything BUT the email address, I can change the password, the Real Name, and Exta Info. However, once I change or modify the email address, I get the error: "Sorry, an error occurred please try it again."
Even when I load up phpMyAdmin and create a new account manually, and try to update the email address it gives me this same error whenever I touch the Email Address field. Any ideas where I should start troubleshooting?
Thank you again, I love this script! however I have never had this much trouble getting it started? I seriously created an awesome user management for my former boss on a different server using an older script, but for some reason, using Yahoo!'s server has been giving me hell!
Chris
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
My name is Bong, James Bong
Posts: 10
68 credits Members referred : 0
« Reply #2 on: Mar 15, 2007, 07:00:59 am »
But it seems to me that the script only uses the mail function during register. When updating a profile, it does not use the mail function. Thie problem occurs during Both the register.php and the update_user.php files.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
But it seems to me that the script only uses the mail function during register. When updating a profile, it does not use the mail function. Thie problem occurs during Both the register.php and the update_user.php files.
the email address need to be validated with every change, try to send an email first (without using the class)
My name is Bong, James Bong
Posts: 10
68 credits Members referred : 0
« Reply #4 on: Mar 15, 2007, 07:17:32 am »
Ok I wrote a quickie mail script that sent a small message to my specified email account. Yahoo! webhosting has this weird thing where you have to specify what email address to send mail through via their 'web hosting control panel' (I am becoming less and less fond of their server, do you know of a better webhost?).
Anyhow, I sent an email through the script I put together and got an email that said "SUBJECT: YOUR REQUEST IS BEING PROCESSED" and the body said nothing, when in actually I wrote in the script to send it something(plus a different subject line)? I am confused, what in the heck is going on?
Chris
My name is Bong, James Bong
Posts: 10
68 credits Members referred : 0
« Reply #5 on: Mar 15, 2007, 07:30:15 am »
Ok, I got it to work, due to Yahoo!'s server being a jackhole. I basically had to setup a single email address for Yahoo!'s server to send mail via the mail() function. Then I had to match that to the db_config.php file where the admin and webmaster email addresses are. This seems really stupid to me of course, because on my previous host, I had to do no such thing, I could make the admin email address whatever I wanted. Darn security settings. And to make things worse, Yahoo! only allows 250 emails through the mail() function per day. May not affect me, but seems like a crappy limitation.
My name is Bong, James Bong
Posts: 10
68 credits Members referred : 0
« Reply #6 on: Mar 15, 2007, 07:36:38 am »
BLAH! Nevermind, it doesn't work perfectly yet. Now I can register users, but still cannot update a user's email address. This really stinks. any ideas (other than a new host) ?
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
BLAH! Nevermind, it doesn't work perfectly yet. Now I can register users, but still cannot update a user's email address. This really stinks. any ideas (other than a new host) ?
yeah change the host
My name is Bong, James Bong
Posts: 10
68 credits Members referred : 0
« Reply #8 on: Mar 15, 2007, 05:04:49 pm »
Do you know of a good host that gives a lot space, has good php/mysql software and such? I've been referred to a few, but have not really decided yet. thank you again for all your help!
My name is Bong, James Bong
Posts: 10
68 credits Members referred : 0
« Reply #9 on: Mar 15, 2007, 05:47:20 pm »
....ok, i managed to fix the email address issue by changing the language setting in phpMyAdmin. For some reason it was set to Swedish. I was also unaware of the new feature that sends you email to confirm the new address. Anyhow...
My next tiny problem is that there seems to be some bug within access_user that is not letting me update the 'Address' within the Update User Profile page. I can update Everything else, but it will not functionally update the address. I can manually go into phpMyAdmin and give a user_profile an address, but when I go through the website's update_user_profile page and try to..... well it just deletes whatever I recently manually entered into the database? Plus it wont let me put anything new into it, it just clears it out. I remember stuff like this happening when something was not correct within the update_user_profile function. Any ideas?
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374