Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

pollbooth v2.3


jan64

Recommended Posts

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 by jan64

Dreams can come true, if you help them a littlebit

Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
Share on other sites

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:
Link to comment
Share on other sites

  • 3 weeks later...
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...