I am geting exception for running omega both as omega / omega.cgi as Exception: Couldn't read format template `query' (No such file or directory) I do have a query file in my template folder what settings needs to be there i am not geting actually i am running as http://localhost/cgi-bin/omega/omega.cgi?FMT=query&DB=default&DEFAULTOP=AND Please help regard that -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.tartarus.org/pipermail/xapian-discuss/attachments/20060329/f93a2fab/attachment.htm
On Wed, Mar 29, 2006 at 01:38:55PM +0530, Gupteshwar Joshi wrote:> I am geting exception for running omega both as omega / omega.cgi as > Exception: Couldn't read format template `query' (No such file or > directory) I do have a query file in my template folder what > settings needs to be there i am not geting actuallyDo you have your omega.conf set up correctly? J -- /--------------------------------------------------------------------------\ James Aylett xapian.org james@tartarus.org uncertaintydivision.org
I think mine omega.conf is right eventhough i have made changes as per my needs its working fine from konsole but problem is for only with web search. That it is unable to locate the template file query file. this is my omega.conf database_dir /home/jana/xapian-omega-0.9.4/dbpath/ template_dir /home/jana/xapian-omega-0.9.4/templates/ log_dir /home/jana/xapian-omega-0.9.4/log/omega cdb_dir /home/jana/xapian-omage-0.9.4/ i have made changes in template_dir as template_dir /home/jana/public_html/ and given link file in public_html/query to templet query in /home/jana but its too failed. One thing is that my xapian-omega folder is in /home/jana is that matter it should be in public_html or (/var/www) to get access . Thank You -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.tartarus.org/pipermail/xapian-discuss/attachments/20060329/e8ea0021/attachment.htm
On Wed, Mar 29, 2006 at 04:00:11PM +0530, Gupteshwar Joshi wrote:> this is my omega.conf[snip: looks fine] Where is this stored? J -- /--------------------------------------------------------------------------\ James Aylett xapian.org james@tartarus.org uncertaintydivision.org
Please keep discussion on-list. On Wed, Mar 29, 2006 at 08:54:37PM +0530, Gupteshwar Joshi wrote:> Omega .conf is in the folder > /home/jana/xapian-omaga-0.9.4 > which is modified by me > ad also in > /xapian-omega-0.9.4/debian/xapian-omega/etc > which reatains the default value/omega.conf needs to be in the same directory as omega.cgi. (It's actually more complex than that - read omega/docs/overview.txt) J -- /--------------------------------------------------------------------------\ James Aylett xapian.org james@tartarus.org uncertaintydivision.org