Go Back   Wrensoft Forums for Zoom Search > Zoom Search Engine V4 (Old Version)

Reply
 
Thread Tools Display Modes
  #1  
Old 06-11-2006, 12:00 PM
rndilger rndilger is offline
Junior Member
 
Posts: 3
Default Warning: file(search_template.html): failed to open stream..

To start, I'd like to say upfront that I've already read the only other post that deals with this subject (http://wrensoft.com/forum/viewtopic....light=line+586). I haven't yet taken steps with my host to resolve this problem as I want to verify that this is definitely the problem.

You can view my search (and the related problem) at www.rndpig.com/ISA. What you'll see is that the search works correctly (of course), but at the top of the search page, I get the infamous error that the search_template.html file failed to open stream, etc.

If anyone has any suggestions for me to try, I'd love to hear them. I've purchased a professional license for Zoom because I love the software. I just need to figure out this perplexing problem before I can move on!

Thanks,

Ryan
Reply With Quote
  #2  
Old 06-11-2006, 10:34 PM
wrensoft's Avatar
wrensoft wrensoft is offline
Administrator
 
Location: Sydney
Posts: 3,333
Default

In this case the problem is a fairly simple one.

In the directory http://www.rndpig.com/ISA/pages/ you don't have a search_template.html file.

All the search files need to be in the same directory.

-----
David
Reply With Quote
  #3  
Old 06-11-2006, 11:27 PM
quintic quintic is offline
Member
 
Posts: 26
Default

But search.php in directory http://www.rndpig.com/ISA/pages/ is only 1KB, not the 58KB you would expect were it the Wrensoft script. Also,there is no settings.php in the directory, which would have triggered an error before the attempt to read search_template.html. So I think http://www.rndpig.com/ISA/pages/search.php is embedding http://www.rndpig.com/ISA/scripts/search/search.php .

If so, maybe $TemplateFilename in http://www.rndpig.com/ISA/scripts/search/settings.php needs to point to http://www.rndpig.com/ISA/scripts/se..._template.html rather than http://www.rndpig.com/ISA/pages/search_template.html ? How would you do that within Zoom?

Nick
Reply With Quote
  #4  
Old 06-11-2006, 11:34 PM
rndilger rndilger is offline
Junior Member
 
Posts: 3
Default

quintic, you've got it exactly right: http://www.rndpig.com/ISA/pages/search.php is embedding http://www.rndpig.com/ISA/scripts/search/search.php. Therefore, you have perfectly framed the question I should have asked in the first place: How do I put all the search files in one directory and embed search.php in a file located in another directory?

Thanks again,

Ryan
Reply With Quote
  #5  
Old 06-12-2006, 12:56 AM
wrensoft's Avatar
wrensoft wrensoft is offline
Administrator
 
Location: Sydney
Posts: 3,333
Default

I would save myself the grief and put all the search files in the same directory (including the search wrapper file).

Otherwise you could move the template file to the same directory as your wrapper script.

----
David
Reply With Quote
  #6  
Old 06-12-2006, 01:14 AM
rndilger rndilger is offline
Junior Member
 
Posts: 3
Default

Thanks for the advice...I went ahead and just put everything in the same directory.

Thanks for the great support!

Ryan
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging problem, Failed to open stream permission denied exousiapower Zoom Search Engine V4 (Old Version) 11 10-15-2007 09:21 PM
changing search_template.html to an asp file .... zain Zoom Search Engine V4 (Old Version) 1 04-19-2006 11:41 PM
Warning: file(search_template.html): failed to open stream.. froyse Zoom Search Engine V4 (Old Version) 17 01-21-2006 08:24 PM
search_template.asp instead of search_template.html khan Zoom Search Engine V4 (Old Version) 1 07-25-2005 10:58 PM
Include File in Search_Template.html jgoungo Zoom Search Engine V4 (Old Version) 1 01-27-2005 04:00 AM


All times are GMT. The time now is 04:46 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.