jan64 Posted February 7, 2008 Posted February 7, 2008 (edited) Hi, i've have upgrade to version pollbooth 2.3 1) and get this error: //function to check that there is no HTML in the comment field. function screenForm($field_value){ $stripped = strip_tags($field_value); if($field_value!=$stripped) { // something in the field value was HTML return false; } else return true; } 2) submit feedback gives a white page anyone an idea how to solve this? thanks regards, jan Edited February 7, 2008 by jan64 Quote Dreams can come true, if you help them a littlebit
Torg42 Posted March 11, 2008 Posted March 11, 2008 I am having this exact problem. Any luck? Thanks, Troy Hi, i've have upgrade to version pollbooth 2.3 1) and get this error: //function to check that there is no HTML in the comment field. function screenForm($field_value){ $stripped = strip_tags($field_value); if($field_value!=$stripped) { // something in the field value was HTML return false; } else return true; } 2) submit feedback gives a white page anyone an idea how to solve this? thanks regards, jan Quote
jan64 Posted March 11, 2008 Author Posted March 11, 2008 i think this is a verry difficult contribution :rolleyes: Quote Dreams can come true, if you help them a littlebit
Torg42 Posted March 11, 2008 Posted March 11, 2008 I would like to give it a try. I think I will work on the top part of the code in pollbooth.php and see if I can find the code that is trying to send the HTML again. Troy :blush: i think this is a verry difficult contribution :rolleyes: Quote
ssanna Posted March 29, 2008 Posted March 29, 2008 Hi, i've have upgrade to version pollbooth 2.3 1) and get this error: //function to check that there is no HTML in the comment field. function screenForm($field_value){ $stripped = strip_tags($field_value); if($field_value!=$stripped) { // something in the field value was HTML return false; } else return true; } 2) submit feedback gives a white page anyone an idea how to solve this? thanks regards, jan open pollboot.php on catalog at the top of the file you look like this: //function to check that there is no HTML in the comment field. function screenForm($field_value){ $stripped = strip_tags($field_value); if($field_value!=$stripped) { // something in the field value was HTML return false; } else return true; } correct whit this <?php //function to check that there is no HTML in the comment field. function screenForm($field_value){ $stripped = strip_tags($field_value); if($field_value!=$stripped) { // something in the field value was HTML return false; } else return true; } ?> and try. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.