|
10-25-2004, 06:57 AM | #1 |
Green Mole
Join Date: Oct 2004
Posts: 2
|
Hi everyone
Hey everyone,
how's it going? I'm a new, inexperienced website guy who's trying to add a search function to my site. I've been poring through the forums the whole afternoon and decided that I should say "hi" first! By the way, has anyone run across this problem? I've indexed a small web at (matt28.worshipworld.net). When I run the search page at http://www.worshipworld.com/Search/search.php it does fine in the results. But when I try to run the identical file (changing only the $relative_script_path variable to match the correct path in http://matt28.worshipworld.net/search.php I get just a blank screen. I know the path's correct because when i left it unchanged I got a "cannot find" error... but in this case it's just a blank. Any ideas?? I'm completely lost. Wes |
10-25-2004, 08:57 AM | #2 |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
Hi, snipkes, and welcome to the forum.
Making a search page outside of your phpdig directory can be a little tricky. Here is an older post with some guidelines on how to do that. I believe there have been some slight differences in phpdig since that thread, but hopefully you'll be able to get a sense of how to do this. If you still need help though after reading that, please don't hesitate to ask. |
10-27-2004, 10:28 AM | #3 |
Green Mole
Join Date: Oct 2004
Posts: 2
|
Thanks, vinyl-junkie!
The search box worked wonderfully! As for the custom template, I had to resort to hard-coding all the hyperlinks in full (instead of putting the relative links) so that the pictures appear. It's hardly elegant but we'll definitely find a way as my PHP knowledge improves in time. If you want to see my work-in-progress: http://matt28.worshipworld.net/search.htm http://www.worshipworld.com/Search/search.php C'ya around! snipkes |
10-27-2004, 05:32 PM | #4 |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
Impresssive! I hope you found the instructions easy to follow. If you need any more help, feel free to ask.
|