28, May 2012

E-Mail Field will not allow register or update user - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: E-Mail Field will not allow register or update user
« previous next »
Pages: [1] Print

Author 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: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Mar 15, 2007, 06:49:24 am »

sounds like a problem with the mail() function, try to send a simple email (check www.php.net/manual/en/function.mail.php)

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: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Mar 15, 2007, 07:05:07 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.

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: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #7 on: Mar 15, 2007, 01:28:35 pm »

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 Cheesy

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.  Wink  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: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #10 on: Mar 15, 2007, 10:08:50 pm »


Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6231
Tags : email register update Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: E-Mail Field will not allow register or update user
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 06:54:46 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.