Shopping Basket

 x 
Cart empty


Popular Items

Find Us Elsewhere

2Checkout.com is a worldwide leader in payment services
  • Page:
  • 1

TOPIC: Mail This Page Invalid: NO HTML TAGS

Mail This Page Invalid: NO HTML TAGS 2 months 2 weeks ago #2358

Hello having the issue above whenever I am trying to mail page from any computer, is there any change of pointing me in the right direction of how to fix it. I am guessing a template issue?
The administrator has disabled public write access.

Mail This Page Invalid: NO HTML TAGS 2 months 2 weeks ago #2359

  • boggler
  • boggler's Avatar
  • OFFLINE
  • Moderator
  • Posts: 476
  • Thank you received: 51
  • Karma: 10
Hello, if you give me the URL where I can see the problem I might be able to tell you what the problem is.

Also it would help if you could explain more clearly what you have done, and exactly what you observer happening. Eg, you have put 'no html tags' in the subject of the topic, but what does this mean? Is it an error message?
The administrator has disabled public write access.

Mail This Page Invalid: NO HTML TAGS 2 months 2 weeks ago #2360

Hi URL is
hhost1.com/h2g/index.php

Basically when you go to forward the page after filling in the details and hitting submit is the reloads as if it is sending and pops up with the error

invalid: no html tags.

Hope that helps I am a bit confused!

Cheers,
David
The administrator has disabled public write access.

Mail This Page Invalid: NO HTML TAGS 2 months 2 weeks ago #2361

  • boggler
  • boggler's Avatar
  • OFFLINE
  • Moderator
  • Posts: 476
  • Thank you received: 51
  • Karma: 10
I just tried it on your site, it seemed to be working without problems.

The module will register an error if you try to include html tags or square brackets, this is an attempt to stop spammers. It sounds as if this is what you are doing wrong.
The administrator has disabled public write access.

Mail This Page Invalid: NO HTML TAGS 2 months 2 weeks ago #2362

That is so strange I just saw your e-mail come through but honestly I have tried on multiple devices just with names and email address, nothing special and it will not work. I cannot understand it.

Is there anything else that may be causing it?
The administrator has disabled public write access.

Mail This Page Invalid: NO HTML TAGS 2 months 2 weeks ago #2363

  • boggler
  • boggler's Avatar
  • OFFLINE
  • Moderator
  • Posts: 476
  • Thank you received: 51
  • Karma: 10
The module examines all the request variables for html tags, it could be that there are some other request variables that happen to contain them. It doesn't explain everything though.

I don't know the answer at present. Since I cannot replicate the problem it is quite hard to solve.

You could try commenting out lines 136 to 146 in the module helper.php file:
$regexp = '/[<\[]/';  //spam filter
	foreach ($_REQUEST as $requestVar)// use raw request for this because JRequest filters out < tage
	{
	  if(isset($requestVar)){
        if (preg_match($regexp, is_array($requestVar)? $requestVar[0]: $requestVar )){
	       $lists->error = true;
	       $lists->error_message = JText::_("INVALIDHTMLTAGS");
	       return $lists;
	    }
	  }		  
	}
The administrator has disabled public write access.

Mail This Page Invalid: NO HTML TAGS 2 months 1 week ago #2364

That's Great, Thank you for your help!
The administrator has disabled public write access.
  • Page:
  • 1
Moderators: boggler
Time to create page: 0.405 seconds