I recently ran into 2 problems I'm hoping someone can help me with. The first is when I use the password lookup and get the lookup_success page with the login...when someone re-logs in with their username and new password and clicks submit, the screen goes blank. My background and images are there, but nothing else. I couldnt seem to find out where in the sub that it tells the system to go to the html_home page after successful login from the lookup_success page.
Also, I am still having a problem with my email notification after a user enters their personal information record. Even though the email address is there, on the screen and in the database, I still keep getting the error that says " No recipient addresses found in header". My email field is exactly the same as in the html_record, html_record_form and when it calls it in the add_success page, but for some reason, the email notification sub isnt recognizing the email address. Here is my add_success sub....
You may now add your property listing(s).<p></FONT>
|;
%rec=&get_record($in{$db_key});
&html_record(%rec);
if ($rec{'Email'}) {
open (MAIL, "$mailprog") or &cgierr("Can't start mail program");
print MAIL "To: $in{'Email'}\n";
print MAIL "From: $admin_email\n";
By the way, this is in my users.pl file. I have an email notification in my html.pl (default db) file that is setup identical to this one and it works fine.
Also, I am still having a problem with my email notification after a user enters their personal information record. Even though the email address is there, on the screen and in the database, I still keep getting the error that says " No recipient addresses found in header". My email field is exactly the same as in the html_record, html_record_form and when it calls it in the add_success page, but for some reason, the email notification sub isnt recognizing the email address. Here is my add_success sub....
Code:
The following registration has been successfully completed.<br> You may now add your property listing(s).<p></FONT>
|;
%rec=&get_record($in{$db_key});
&html_record(%rec);
if ($rec{'Email'}) {
open (MAIL, "$mailprog") or &cgierr("Can't start mail program");
print MAIL "To: $in{'Email'}\n";
print MAIL "From: $admin_email\n";
By the way, this is in my users.pl file. I have an email notification in my html.pl (default db) file that is setup identical to this one and it works fine.