Quote:
Originally Posted by davidw
Did you edit searchresults.php as in Step 1: Edit chdir('/path/to/your/forums/'); in searchresults.php That would give this error if it was not edited or if the path was incorrect.
|
yes i did edited searchresults.php
my searchresults.php reads as follows :
Code:
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'searchresults');
chdir('/home/public_html/searchresults.php');
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// pre-cache templates used by all actions
$globaltemplates = array(
'google_navadsearch',
'google_siteadsearch',
'google_searchresults'
);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// ######################## START MAIN SCRIPT ############################
$navbits = array();
$navbits[$parent] = 'Search Results';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('google_searchresults') . '");');
?>
My forum is located at
http://www.projectsplanet.com
please tell me what should i write in searchresults.php ????
kindly help
Regards