Module Pisearch puts escape characters into code

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am
Location: London, England

Module Pisearch puts escape characters into code

Post by stopsatgreen »

I've upgraded to 1.5.1 of Module Pisearch, but when I make changes to the code and hit 'Submit' it places escape characters in front of all the quotes:

Code: Select all

<input type=\"text\" value=\"\" maxlength=\"50\" size=\"15\" name=\"pisearch\" id=\"searching\" />
I strip all the characters out and hit Submit again, but it puts them all back in again.
Piratos

Re: Module Pisearch puts escape characters into code

Post by Piratos »

In many installations this problem is unknown and it seems you are the only one with this problem.

with install pisearch  is using the system commands:

Code: Select all

 $this->SetTemplate('form', $this->GetFormTemplate());
        
in getFormTemplate is nothing that escape something:
    function GetFormTemplate()
{
return '

GetS_Url().'" method="post">





';
}

if i edit the template with fckeditor, save it and use it - no problem.

So it can be only something that is not in the module.
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am
Location: London, England

Re: Module Pisearch puts escape characters into code

Post by stopsatgreen »

I've just updated to 1.7.1 and I still get this problem! It's very weird, this is the only field in the whole CMS where this problem happens.

I've tried uninstalling and reinstalling the module; same problem happens.

Can anyone suggest why this might be?
Piratos

Re: Module Pisearch puts escape characters into code

Post by Piratos »

this is the only field in the whole CMS where this problem happens.
it seems you are the only one with this problem.

You are searching at the false end: 
with install pisearch  is using the system commands:
it cannot be a pisearcch problem.
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am
Location: London, England

Re: Module Pisearch puts escape characters into code

Post by stopsatgreen »

I understand that, but can anyone point me in a different direction to look?
Piratos

Re: Module Pisearch puts escape characters into code

Post by Piratos »

What cmsversion and editor is in use ?
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am
Location: London, England

Re: Module Pisearch puts escape characters into code

Post by stopsatgreen »

1.0.2 with FCKEditorX installed but disabled.
Piratos

Re: Module Pisearch puts escape characters into code

Post by Piratos »

I have done the same  1.02 FCK disabled, edit the templates and submit it, call it once again - all again.

Call the Page - all Ok.
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am
Location: London, England

Re: Module Pisearch puts escape characters into code

Post by stopsatgreen »

The only way I can get this to work is if all the " characters are entered as ". Weird.
Piratos

Re: Module Pisearch puts escape characters into code

Post by Piratos »

We have found the issue in the core include.php  - there is nonsens code about get_magic_quotes_gpc .

Try 1.72  - there is a workaround with this item.
Post Reply

Return to “Modules/Add-Ons”