I am facing this very specific problem, Any help would be appreciated.
Everything was working fine untill recently. Now I do not get the New Account Creation Notification on Screen that is displayed to the user. The email gets sent to the user email id but on the screen the user does not come to know that is registration is complete and successfull.
Same for the Forget Password section.
All other messages given by 'drupal_set_message' work. The problem is with these 2 specific messages.
1. New Account Creation Notification on Screen
2. Password Reset Notification on Screen
The only thing that has changed in recent times with the site is that I happened to upgrade the PHP on the server to PHP 5.1.6.
Does that cause any problem?
Please help.
Thanks.
Comments
I am having exact same problem
Did you ever find a solution. I am going out of my mind trying to track this down. Any help would be appreciated.
found a solution to this
Somehow the anonymous user was deleted from the database. So check to see if you have a uid of 0 still there. If it isn't there, put it back. That cleared up this issue for me. Here is the sql to do it. The question here is, where did that user go, how did it get deleted?
INSERT INTO users (uid, name, mail) VALUES ('0', '', '');
INSERT INTO users_roles (uid, rid) VALUES (0, 1);
I hope this helps someone avoid a long bug hunt.
Thank you very much! You just
Thank you very much!
You just saved me!!
Worked perfectly for us
Worked perfectly for us. A user delete-statement deleted to many users, in our case also the anonymous user.
But when we inserted the user with the insert-statement from above, the new anonymous user got inserted with the uid 6412 or so (because of the auto increment).
So we just changed the uid to 0, and everything worked like a charm.
Thanks a lot.
Thank You
Thank you for saving my two-days debugging of this simple issue...
2015 - D7 also works for me
2015 - D7 also works for me
Thank you
It worked like a charm.I owe you a beer.Thanksss....
Works for D6 too
Thanks!
This worked for me
Thank you very much, this worked for me!
Thanks For the Submission
Actually I was facing this problem from many days.
Thanx for the post. It really helps me a lot.
Thank You once again....
have uid=0, but still won't display messages.
I checked that my users table has a user with uid=0, but $_SESSION is empty and so is $messages for anonymous users. Anything else I can do to fix this?
Just cross-linking similar
Just cross-linking similar threads.
no message appear using drupal_set_message :-(
http://drupal.org/node/610400
drupal_set_message is not working for anonymous user
http://drupal.org/node/240726
Handling drupal_set_message for anonymous users
http://drupal.org/node/264132
Poll thank you message not working in Firefox
http://drupal.org/node/922558
Thanks very much.I put the
Thanks very much.I put the user id of 0 back,then drupal_set_message() function works fine.
I'm so glad I found this
I'm so glad I found this thread as I too had inadvertently deleted the uid = 0 account. Its probably saved me hours of looking through the code. I'm interested to know why this happens. Does anyone have an explanation?