Hello
i've tried to install Glenn's Tell Ya friend2,
but i've got a little problem :
when i didn't fill out correctly the form,
i've got the error :
fatal error: Undefined subroutine &main::site_html_tell_error called at /home/c03531/cgi-bin/links/cgi-bin/tella2.cgi line 56.
So i've changed in site_html_template :
sub site_html_deadlink_error to sub site_html_tell_error
Now it works,
but i'd like :
1) print the reason of the error
it seems to be possible, because in tella2.cgi there are the following codes :
" ($in{'yemail'} =~ /.+@.+\..+/) or &site_html_tell_error ("The email address: '$in{'yemail'}' doesn't look like a real email
address.") and return;
($in{'yname'} =~ /[A-Za-z]+/) or &site_html_tell_error ("Please enter your name as well as your email address.")
and return;
($in{'tname'} =~ /[A-Za-z]+/) or &site_html_tell_error ("Please enter their name as well as your email address.")
and return;
($in{'temail'} =~ /.+@.+\..+/) or &site_html_tell_error ("The email address: '$in{'yemail'}' doesn't look like a real email
address.") and return; "
I've put error => $error in sub site_html_tell_error
but error doesn't appear.
2) propose on error page to fill out a new form,
I've pasted some codes of tell_add.html in tell_error.html, but i've got
Unknown tag : URL
Glenn, I've tried in your site to fill out a blank form (for have error message with tell ya friend2), but there was an Internal Server Error
Thanks for your help
Sorry if my questions seems stupid
Ciao
i've tried to install Glenn's Tell Ya friend2,
but i've got a little problem :
when i didn't fill out correctly the form,
i've got the error :
fatal error: Undefined subroutine &main::site_html_tell_error called at /home/c03531/cgi-bin/links/cgi-bin/tella2.cgi line 56.
So i've changed in site_html_template :
sub site_html_deadlink_error to sub site_html_tell_error
Now it works,
but i'd like :
1) print the reason of the error
it seems to be possible, because in tella2.cgi there are the following codes :
" ($in{'yemail'} =~ /.+@.+\..+/) or &site_html_tell_error ("The email address: '$in{'yemail'}' doesn't look like a real email
address.") and return;
($in{'yname'} =~ /[A-Za-z]+/) or &site_html_tell_error ("Please enter your name as well as your email address.")
and return;
($in{'tname'} =~ /[A-Za-z]+/) or &site_html_tell_error ("Please enter their name as well as your email address.")
and return;
($in{'temail'} =~ /.+@.+\..+/) or &site_html_tell_error ("The email address: '$in{'yemail'}' doesn't look like a real email
address.") and return; "
I've put error => $error in sub site_html_tell_error
but error doesn't appear.
2) propose on error page to fill out a new form,
I've pasted some codes of tell_add.html in tell_error.html, but i've got
Unknown tag : URL
Glenn, I've tried in your site to fill out a blank form (for have error message with tell ya friend2), but there was an Internal Server Error
Thanks for your help
Sorry if my questions seems stupid
Ciao