I'm not the brightest bulb when it comes to programming but am having some problems getting dsg search to work on my site. I can get the initial search bar to show up: <!-- m --><a class="postlink" href="http://www.pcmodeler.com/dgssearch/index.php3">http://www.pcmodeler.com/dgssearch/index.php3</a><!-- m --> but when performing a search, I am getting errors. I did have to rename all of the extensions to .php3 and went through all of the scripts to the scripts themselves reflected that fact. My first thought is improper CHMOD as I didn't set any on any of the files or folders (nothing about doing so in install sheet).
Here is an example of the error:
Warning: OpenDir: Permission denied (errno 13) in libs/utils.php3 on line 47
Warning: Variable passed to reset() is not an array or object in /www/pcmodeler/dgssearch/libs/search/fs.php3 on line 47
Warning: Variable passed to each() is not an array or object in /www/pcmodeler/dgssearch/libs/search/fs.php3 on line 48
This is line 47:
$handle = opendir($rootDir);
Here is lines 47 and 48:
reset($files);
while(list(, $file) = each($files)) {
Any help would be greatly appreciated.
Mark F.
Here is an example of the error:
Warning: OpenDir: Permission denied (errno 13) in libs/utils.php3 on line 47
Warning: Variable passed to reset() is not an array or object in /www/pcmodeler/dgssearch/libs/search/fs.php3 on line 47
Warning: Variable passed to each() is not an array or object in /www/pcmodeler/dgssearch/libs/search/fs.php3 on line 48
This is line 47:
$handle = opendir($rootDir);
Here is lines 47 and 48:
reset($files);
while(list(, $file) = each($files)) {
Any help would be greatly appreciated.
Mark F.