Perlfect Solutions
 

[Perlfect-search] Search result misbehavior via http / fine-working under console

David Wessel david.wessel at gwi-ag.com
Wed Dec 1 14:55:02 GMT 2004
Hello,

I have successfully installed perlfect under win-xp pro (with xampp and
xampp-perl-addon) and indexed some files. Running "perl search.pl [word]"
under the command prompt returns apropriate search results. There is however
a problem with the display of search results using the web-interface.

It would return search results for the _first_ query but not more. Entering
another search-word will not change the results. When checking the error.log
it says:


[Wed Dec  1 15:04:57 2004] search.pl: Variable "$query" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 110.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@force" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 115.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@not" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 116.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@other" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 117.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@docs" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 118.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@valid_docs" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 119.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%answer" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 120.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "$query" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 141.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%urls_db" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 144.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@stopwords" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 237.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@stopwords_ignored" will not
stay shared at C:/Programme/xampp/htdocs/search/search.pl line 248.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "$query" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 255.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%terms_db" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 279.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@force" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 280.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@not" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 285.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@other" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 287.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@not" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 305.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%inv_index_db" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 306.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@force" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 312.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@valid_docs" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 315.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%docs_db" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 323.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@force" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 330.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@other" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 330.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@valid_docs" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 333.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%inv_index_db" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 336.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "$query" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 339.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%docs_db" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 341.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%answer" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 346.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%dates_db" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 349.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "$query" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 367.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%answer" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 380.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%docs_db" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 400.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "@stopwords_ignored" will not
stay shared at C:/Programme/xampp/htdocs/search/search.pl line 415.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%titles_db" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 449.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%dates_db" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 486.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%sizes_db" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 505.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "$query" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 587.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%answer" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 588.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%content_db" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 637.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "%desc_db" will not stay
shared at C:/Programme/xampp/htdocs/search/search.pl line 640.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "$punct" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 685.
[Wed Dec  1 15:04:57 2004] search.pl: Variable "$punct" will not stay shared
at C:/Programme/xampp/htdocs/search/search.pl line 726.
[Wed Dec  1 15:04:57 2004] tools.pl: Argument "O_RDONLY" isn't numeric in
subroutine entry at C:/Programme/xampp/perl/site/lib/DB_File.pm line 278.






the last line is repeated a couple of times whenever I trigger a new search.


Any ideas? Sorry, it's not a public site for you to see it.



greetings,

David





--------------------------------------------
David Wessel
Auszubildender Fachinformatik - Anwendungsentwicklung
GWI Research GmbH
Fachgruppe Kommunikation / Schnittstellen
Monaiser Stra�e 11, 54294 Trier
Tel.:   0651 / 8247 - 0
Fax.: 0651 / 8247 - 100

GWI SST - Hotline 01805 / 494483
http://www.gwi-ag.com

--------------------------------------------