Advanced Search

I know this is a bug uncovered last year, and I followed the forum postings on how to fix the situation. 

 

- I created a new php file called search_adv.php and copied and pasted the code from search.php into it, changing the default value to advanced

 

- I created the necessary item in the navigation menu of the builder in the admin panel for the Advanced Search

 

- I uploaded the new search_adv.php file to the server

 

But, when I click the Advanced Search button, I get the following error...

 

Warning: require_once(Dolphin-v.6.1.4-AdFree/inc/header.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/p24fpto0/public_html/mysite/dolphin/search_adv.php on line 3

 

Fatal error: require_once() [function.require]: Failed opening required 'Dolphin-v.6.1.4-AdFree/inc/header.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/p24fpto0/public_html/mysite/dolphin/search_adv.php on line 3

 

What am I missing?

 

Thanks in advance for all your help,

 

Nico

Quote · 25 Feb 2009

okweb sent this reply...

 

I think you have to edit line below inside file search_adv.php

require_once('Dolphin-v.6.1.4-AdFree/inc/header.inc.php');

to


require_once( './inc/header.inc.php' );

 

It worked great and now mysite has an advanced search feature.

 

Thanks!

Quote · 25 Feb 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.