#170 new
nboseman

Sitesearch returns fatal error in some cases

Reported by nboseman | February 8th, 2011 @ 09:08 AM

I've noticed that when searching for certain words or characters, the page returns blank and on the error log it says

PHP Fatal error: Uncaught exception 'Zend_Search_Lucene_Search_QueryParserException' with message 'Syntax error at char position 19.' in /var/www/html/inc/app/sitesearch/lib/Zend/Search/Lucene/Search/QueryParser.php:359\nStack trace:\n#0 /var/www/html/inc/app/sitesearch/lib/Zend/Search/Lucene.php(587): Zend_Search_Lucene_Search_QueryParser::parse('(title:('paymen...')\n#1 /var/www/html/inc/app/sitesearch/lib/SiteSearch.php(112): Zend_Search_Lucene->find('(title:('paymen...')\n#2 /var/www/html/inc/app/sitesearch/boxes/search/index.php(84): SiteSearch->query(''payment to phy...', 10, 0, Array, Array)\n#3 /var/www/html/saf/lib/Loader/Loader.php(627): include('/var/www/html/i...')\n#4 /var/www/html/saf/lib/Loader/Loader.php(1227): Loader->box('sitesearch/sear...', Array, 'action')\n#5 /var/www/html/index(574): loader_box('sitesearch/sear...', Array, 'action')\n#6 {main}\n thrown in /var/www/html/inc/app/sitesearch/lib/Zend/Search/Lucene/Search/QueryParser.php on line 359.

This happens on version 5.0.0, 5.0.2 and 5.0.3 version of sitellite.

If you search for words such as and, or, or characters such as & and | this happens. How can this be fixed?

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Sitellite web content management system.

People watching this ticket

Pages