WordPress.org

Forums

[resolved] New users can't register for accounts (8 posts)

  1. pnaw10
    Member
    Posted 7 years ago #

    I have a WordPress site where people are required to register for a subscriber account before they are allowed to post comments.

    Today, someone told me they registered for an account, but they never received the e-mail with their password. As site admin, I also never got any e-mail alerting me that they signed up.

    I tried signing up for a "dummy" account to see this for myself. Even though the page told me to check my e-mail for my password it never showed up.

    When I click "forgot password" to try to have the password e-mail sent again, the following error message appears:

    The e-mail could not be sent.
    Possible reason: your host may have disabled the mail() function...

    Even though my hosting provider (1and1) recently upgraded from PHP4 to PHP5, that was a few weeks ago... and I have had other people sign up for new accounts since then. I believe this is the first person to sign up since I upgraded to WP 2.5.

    Any thoughts? Is this really a problem with my host, or is it possible that WP is lying with this error message? I didn't see any other threads or forums about it, but then again I know most people just blog for themselves and don't allow "anyone" to sign up for accounts.

  2. haochi
    Member
    Posted 7 years ago #

    Try to create a "dummy" script to test whether your mail() is really disabled. (I use 1and1 as well, and as of this morning I can still receive emails from my site's contact form).

  3. pnaw10
    Member
    Posted 7 years ago #

    Great idea... though I'm not sure exactly how to do this. While not exactly a novice at WordPress, I'm nowhere near being an expert, either. If you are able to tell me how I can test this out, I'd be very appreciative.

    At least it's good to hear from someone else using 1and1. They seem to have their little hiccups now and then, and it seems the only place to get answers is from fellow 1and1 users.

    Thanks!

  4. haochi
    Member
    Posted 7 years ago #

    <?php
    mail("YOUR@EMAIL.HERE", "test mail() function", "test mail message") or die("something went wrong. :(");
    ?>

    Replace YOUR@EMAIL.HERE with your own email, save it as .php, upload to your site and run it in a browser. If it works, you should receive the email in a few minutes.

  5. pnaw10
    Member
    Posted 7 years ago #

    Thanks for that script!! Now that I'm back home from work... I tried it, and sure enough, "something went wrong." Very strange, as I can't quite figure out why this happened.

    I guess my next step is to figure out why mail() isn't working, and how to get it back to normal. I have one of the lower-end 1and1 accounts, so I don't have access to all the bells and whistles (like SSH/telnet access).

    I'll poke around and see what I can figure out... if I get it fixed, I'll reply with my findings, for anyone else who might have the same problem. If anyone out there sees this thread and I haven't responded yet, feel free to post your own suggestions/ideas for a solution. Thanks again!

  6. pnaw10
    Member
    Posted 7 years ago #

    Well, I contacted my hosting provider, 1and1, and here's what they had to say about it.

    Thank you for contacting us.

    This issue has no relevance on the upgrade of our php features, possibly the cause for this one is that, the database of your registration is already full. And just double the configuration of your wordpress for registration.

    What?? I can't find anything in WP documentation about any limits to the number of users -- or where I would go to change that number. The new users are showing up in the user list -- they just aren't getting the e-mail to confirm their account has been opened.

  7. pnaw10
    Member
    Posted 7 years ago #

    After several more hours of looking around, I've found a handful of solutions. None of them work. I tried the WP-Mail-SMTP plugin to bypass mail() but that was no good.

    I also found this blog post, which suggests that there may be errors in the mySQL database causing this error message. But I have no reason to believe this is the problem -- and even if I did, the stupid article doesn't say what to look for within the database. It tells you how to fix problems, but it doesn't tell you what a problem would actually look like.

    And, thanks to haochi, I've found that mail() still fails to work even when it's run from a non-Wordpress PHP file. So I've sent an e-mail to 1and1 support insisting the problem is on their end, and they need to fix it. It apparently seems to be a problem on their end with their PHP settings.

    If this is resolved soon, I'll post an update. But I still have a sneaking suspicion it may have been caused by my upgrading to WP 2.5, so I'm not marking it "resolved" yet. If anyone out there has any other ideas in the meantime... speak up!!

  8. pnaw10
    Member
    Posted 7 years ago #

    OK, my hosting provider finally admitted it was a PHP problem on THEIR end, and they finally fixed it. Situation resolved. Sorry for blaming WP 2.5. Please don't hate me.

Topic Closed

This topic has been closed to new replies.

About this Topic