Search doesn't work after upgrade

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
tmonaghan
Posts: 7
Joined: Sat Jan 28, 2006 1:06 pm

Search doesn't work after upgrade

Post by tmonaghan »

Since I upgraded to 1.6.1 both search and advanced search have stopped working. When I do a search from the main page it goes to advanced search and when I search from there it returns to the advanced search page with no results.

The Firefox plugin returns proper search results.

Any ideas?
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Questions

Post by matteo »

Hi,
just a few questions:
  1. Did you run the update script?
  2. Are you using a custom set of template files?
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

Hi,
mijoe wrote:I have the same issue. I upgraded from 1.5.7 to 1.6.1 and search does not work except through the plug-in

EDIT: Here are some specs on my box:
phpMyFAQ Version : phpMyFAQ 1.6.1
Server Software : Apache/2.0.54 (Fedora)
PHP Version : PHP 5.0.4
Register Globals : off
Safe Mode : off
Database Client Version : 4.1.12
Database Server Version : 4.1.12
Webserver Interface : APACHE2HANDLER
Could you change your PHP version? On Windows (2000) + PHP 5.0.4 + Apache PMF 1.6.x search simply drives Apache to the crash. Maybe this issue could be applied to your server too, even if Linux based. Have you compiled PHP by your own?
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Search doesn't work after upgrade

Post by Thorsten »

Hi,
tmonaghan wrote:Since I upgraded to 1.6.1 both search and advanced search have stopped working. When I do a search from the main page it goes to advanced search and when I search from there it returns to the advanced search page with no results.

The Firefox plugin returns proper search results.

Any ideas?
please take a look at the documentation. We changed the method of the search and you have to change some lines of HTML in the templates. The changed files are listed in docs/CHANGEDFILES.txt.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

yes, you need the change in the code because we changed the method of sending the searched words.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

as you said that you didn't changed the layout you can copy the search.tpl from the phpMyFAQ package into your web space.

Thanks for using phpMyFAQ!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
macbug
Posts: 11
Joined: Fri May 12, 2006 1:41 pm

Search String minimum

Post by macbug »

Does 1.6.1 still require more than 3 characters to perform search? I have acronyms such as BGP and TCP in my FAQ that users are not able to search for.
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

there's a patch against that since ages in phpMyFAQ. Can I see your FAQ?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply