Search Not working because Catagory = %25
Moderator: Thorsten
Search Not working because Catagory = %25
Ok so the site is
http://phpfaq.ashleyunwin.com/
if you run any search from the main page it fails with a 406 Error
the search URL is http://phpfaq.ashleyunwin.com/?search=o ... ion=search
However if i modify the search URL and change it to say "searchcategory=%25"
like this http://phpfaq.ashleyunwin.com/?search=o ... ion=search
the it works fine.
when the home page renders it compiles with the html
<form id="search" action="?action=search" method="get">
<input name="search" id="searchfield" size="30" type="text">
<input name="submit" value="Search" type="submit">
<input name="searchcategory" value="%" type="hidden">
<input name="action" value="search" type="hidden">
</form>
Thus the search category already has a value of "%"
If I Use the firefox web developer toolbar with the display form details function, I can remove the % value and it works fine.
I have tried a full reinstall of the FAQ (unfortunately I didn't test it before i restored my database) but it still does not work (even with the default templates).
How do i get rid of it?????
ManicD
http://phpfaq.ashleyunwin.com/
if you run any search from the main page it fails with a 406 Error
the search URL is http://phpfaq.ashleyunwin.com/?search=o ... ion=search
However if i modify the search URL and change it to say "searchcategory=%25"
like this http://phpfaq.ashleyunwin.com/?search=o ... ion=search
the it works fine.
when the home page renders it compiles with the html
<form id="search" action="?action=search" method="get">
<input name="search" id="searchfield" size="30" type="text">
<input name="submit" value="Search" type="submit">
<input name="searchcategory" value="%" type="hidden">
<input name="action" value="search" type="hidden">
</form>
Thus the search category already has a value of "%"
If I Use the firefox web developer toolbar with the display form details function, I can remove the % value and it works fine.
I have tried a full reinstall of the FAQ (unfortunately I didn't test it before i restored my database) but it still does not work (even with the default templates).
How do i get rid of it?????
ManicD
Last edited by ManicD on Wed Feb 02, 2011 5:00 pm, edited 1 time in total.
Re: Search Not working because Catagory = %25
Hi,
this is strange, it seems your webserver does not accept the "%" in the request. What operating system and what webserver do you use?
bye
Thorsten
this is strange, it seems your webserver does not accept the "%" in the request. What operating system and what webserver do you use?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Search Not working because Catagory = %25
Email Accounts 2 / ∞
0
Subdomains 8 / ∞
0
Parked Domains 0 / ∞
0
Addon Domains 0 / ∞
0
FTP Accounts 0 / ∞
0
SQL Databases 10 / ∞
0
Mailing Lists 0 / ∞
0
MySQL Disk Space 2.21 MB
Hosting package default
Server Name uscentral21
cPanel Version 11.28.76
Theme x3
Apache version 2.2.16
PHP version 5.2.14
MySQL version 5.0.91-community
Architecture x86_64
Operating system linux
Shared IP Address 74.86.183.204
Path to sendmail /usr/sbin/sendmail
Path to Perl /usr/bin/perl
Perl version 5.8.8
Kernel version 2.6.18-194.26.1.el5
cPanel Pro 1.0 (RC1)
Using the Host9 package:
http://www.hostnine.com/web-hosting/
0
Subdomains 8 / ∞
0
Parked Domains 0 / ∞
0
Addon Domains 0 / ∞
0
FTP Accounts 0 / ∞
0
SQL Databases 10 / ∞
0
Mailing Lists 0 / ∞
0
MySQL Disk Space 2.21 MB
Hosting package default
Server Name uscentral21
cPanel Version 11.28.76
Theme x3
Apache version 2.2.16
PHP version 5.2.14
MySQL version 5.0.91-community
Architecture x86_64
Operating system linux
Shared IP Address 74.86.183.204
Path to sendmail /usr/sbin/sendmail
Path to Perl /usr/bin/perl
Perl version 5.8.8
Kernel version 2.6.18-194.26.1.el5
cPanel Pro 1.0 (RC1)
Using the Host9 package:
http://www.hostnine.com/web-hosting/
Re: Search Not working because Catagory = %25
further update
http://phpfaq.ashleyunwin.com/?search=% ... ion=search
searching for the % symbol fails as well even without the category set.
http://phpfaq.ashleyunwin.com/?search=% ... ion=search
searching for the % symbol fails as well even without the category set.
Re: Search Not working because Catagory = %25
Hi,
you should talk to your webhoster... you're the first one with a 406 error which doesn't make any sense. It's working on thousends of installations except yours.
bye
Thorsten
you should talk to your webhoster... you're the first one with a 406 error which doesn't make any sense. It's working on thousends of installations except yours.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Search Not working because Catagory = %25
I have put in a ticket with them seconds ago, but was hoping you might have a general direction to be looking.... apache? php? sql?
Re: Search Not working because Catagory = %25
Hi,
should be a strange apache configuration.
bye
Thorsten
should be a strange apache configuration.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Search Not working because Catagory = %25
Issue Resolved, the webhost support said he "change the account permissions" but didn't elaborate on that.
Thanks for your help.
Thanks for your help.
Re: Search Not working because Catagory = %25
Hi,
okay, thanks for the feedback.
bye
Thorsten
okay, thanks for the feedback.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Search Not working because Catagory = %25
I am having the same problem but for me changing %25 to %24 (or 23, 22, etc.) allows the search to go OK. Ihave also posted a request to my hosting provider but it doesn't sound like the same problem (its not the % causing the issue). My site is http://www.gxglobal.ca/kb.
Thanks
Thanks
-
- Posts: 200
- Joined: Tue Nov 02, 2010 9:08 am
- Location: United States-Ohio
- Contact:
Re: Search Not working because Catagory = %25
jpunnett I noticed the 406 error has been fixed, did you ever get a response from your hosting company. and if you could post the fix you used to solve the issue.
Thanks
Jason
Thanks
Jason
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
Amazon.com Wishlist