Missing email message after registration

indianerrostock - February 4, 2008 - 10:57

Hello,

I use drupal core 5.6. After a new user has filled out the registration formular, the mail with the passwort was sent, but the drupal_set_message about the mail is not displayed.

I checked the $_SESSION Variable. Before pressing the submit button at the registration formular, the message text ('Your password and further instructions have been sent to your e-mail address.') is available in the $_SESSION['message'] Variable. On the next site it is gone.

Do you have any idea why?

Thanks.
Andre

Additional information

indianerrostock - February 4, 2008 - 12:42

Furthermore, the $_SESSION Variable seems to be empty after the submit of the registration. So there's no information text for the user, that an email has been sent.

Do you have "print

mkalbere - February 4, 2008 - 12:46

Do you have
"print $messages;"
in your page.tpl.php ?

page.tpl.php

indianerrostock - February 4, 2008 - 13:33

Yes, the "print $messages;" is in the page.tpl.php.

Cookie wil be deleted

indianerrostock - February 6, 2008 - 10:14

The problem seems to be in relation with the cookies. If I click onto the submit button at the registration page, I will be sent to the front_page. During that submit, the cookie becomes deleted and a new session opened. So the status information, which are stored in the old cookie are lost.
Can't explain!

Did you modify your

mkalbere - February 6, 2008 - 13:13

Did you modify your sites/..../settings.php the cookie domain is set there and this could mess up the process.
(and the front page redierct is on the same domain right ?

Not modified

indianerrostock - February 13, 2008 - 10:28

I did not modify the setting.php...and yes, the front page redirect is on the same domain...

It's really not explainable...I checked the SESSION Variable...before the click on the submit button, it is filled...after the redirect...it's empty...
and I don't get the user message, that the email was sent to the user

Solved the problem

indianerrostock - February 18, 2008 - 10:18

After reading another article, I realized, that the user with the id == 0 was deleted....after creating a user with id = 0, the message are back

 
 

Drupal is a registered trademark of Dries Buytaert.