[SOLVED] Search module warning

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm
Location: Malmö, Sweden

[SOLVED] Search module warning

Post by halm »

After upgrading to CMSms 1.1, I get this when using the search module:

Code: Select all

Warning: Parameter origreturnid is not known... dropped in .../lib/misc.functions.php on line 1252
What's this now?
Last edited by halm on Fri Aug 03, 2007 8:52 am, edited 1 time in total.
"One measures a circle, beginning anywhere" - Charles Fort
donnut

Re: Search module warning

Post by donnut »

I've the same problem, also after upgrading to version 1.1.

The error occurs when using the search functionality on a page for the first time. The search does show the normal results (besides the warning). In my case the results are displayed in a different resultpage:

Code: Select all

{search resultpage="zoeken"} 

When the search is performed in the searchbox on the resultpage the warning does not appear.

Erwin
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm
Location: Finland

Re: Search module warning

Post by tsw »

this one sneaked through our radar. we are going to release new version of news asap
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm
Location: Malmö, Sweden

Re: Search module warning

Post by halm »

I'd prefer a Search update, really  ::)
"One measures a circle, beginning anywhere" - Charles Fort
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm
Location: Finland

Re: Search module warning

Post by tsw »

doh, its not the first time I've mixed these two up
mhokie

Re: Search module warning

Post by mhokie »

any word on the search update?
izzysanime

Re: Search module warning

Post by izzysanime »

o good, so I'm not the only one with the same problem, At least that is solved, just need that update.

Thanks,
Josh
Peter.Schwab
Forum Members
Forum Members
Posts: 15
Joined: Tue Feb 20, 2007 3:44 pm

Re: Search module warning

Post by Peter.Schwab »

Quick and dirty solution (works for me and my clients):

commenting out lines 48 - 51 in /modules/search/action.default.php

Code: Select all

//if( $origreturnid != $returnid )
//  {
//    $hidden .= $this->CreateInputHidden($id, 'origreturnid', $origreturnid);
//  }
I cannot say, how "dirty" this solution is. By now I have not seen any side effects though.

Best wishes

+peter+
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm
Location: Finland

Re: Search module warning

Post by tsw »

halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm
Location: Malmö, Sweden

Re: Search module warning

Post by halm »

Thanks guys! I've been offline for a while and haven't had the chance to applaud you.
There's a big [SOLVED] in the subject line for you

Purely platonic, but gratefully: :-*
"One measures a circle, beginning anywhere" - Charles Fort
Post Reply

Return to “CMSMS Core”