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

 

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

Archived

This topic is now archived and is closed to further replies.

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