Jump to content

Call to undefined function cleanSameArg2()


SteveGee

Recommended Posts

Hi everyone .. i am having a major issue with the "Search" field on a website I am putting together, can someone please tell me what is wrong in the following :-

 

Fatal error: Call to undefined function cleanSameArg2() in /includes/modules/sideboxes/viwolf/search_categories.php on line 39

 

In this file starting at line 39 is the following :-

 

echo '<a href="'.cleanSameArg2('min_price','max_price').'&min_price='.floor($priceListArray[$totalNum*$i/$priceListRowNum]).'&max_price='.floor($priceListArray[$totalNum*($i+1)/$priceListRowNum-1]).'">';

echo $currencies->display_price($priceListArray[$totalNum*$i/$priceListRowNum],zen_get_tax_rate($_GET['products_tax_class_id'])).' - '.$currencies->display_price($priceListArray[$totalNum*($i+1)/$priceListRowNum-1],zen_get_tax_rate($_GET['products_tax_class_id']));   

echo '</a>';

echo '</li>';

 

 

Can anyone explain what is the error or what is missing please ???

 

It is driving me crazy as the web guys cant work it out either !!

 

Greatly appreciate any advice ... you can email me if you wish ..

 

Regards

 

SteveGee

 

Link to comment
Share on other sites

Hi Thorpe.

 

Wouldnt it be that it is defined already ?

 

Reason is that it is the main "search" area on the home (if not all) pages.

 

No matter where on the site I search for something, this is the error that comes up

... all be it on a new page.

 

It is almost like the search field is not capable of gathering any information from the

rest of the entire site.

 

It is so tempting to remove the search field altogether but unfortunately it is a much

needed thing.

 

Appreciate any advice as the people who uploaded and set up the site have left me

high and dry !!

 

Regards

 

Steve

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.