Search does'nt work within web site
Hello, our company web site is markbroumand.com. On our search page, a user should be able to type in a SKU number that corresponds with a product, for example, 2542-1, and that product should display. It doesn't display on Firefox but I tested the search function on Safari and it works just fine. Please advise.
所有回复 (6)
Works for me on Windows.
When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
(1) Bypass Firefox's Cache
Use Command+Shift+r to reload the page fresh from the server.
Alternately, you also can clear Firefox's cache completely using:
"3-bar" menu button (or Firefox menu) > Preferences > Advanced
On the Network mini-tab > Cached Web Content : "Clear Now"
If you have a large hard drive, this might take a few minutes.
(2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:
- right-click and choose View Page Info > Security > "View Cookies"
- (menu bar) Tools > Page Info > Security > "View Cookies"
- click the globe icon to the left of the address in the address bar, then More Information > "View Cookies"
In the dialog that opens, you can remove the site's cookies individually.
Then try reloading the page. Does that help?
In case one of your extensions is involved, could you test the page in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: Diagnose Firefox issues using Troubleshoot Mode.
You can restart Firefox in Safe Mode using either:
- "3-bar" menu button > "?" button > Restart with Add-ons Disabled
- Help menu > Restart with Add-ons Disabled
Not all add-ons are disabled: Flash and other plugins still run
After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (not Reset).
Any difference?
Actually, I noticed one thing broken, which is using the small box to the left of an existing search result, if you click the Search button it works, but if you press the Enter key to submit the search, it does not.
When clicking the button, the posted form data includes a value for the search button:
ctl00$MainContent$btn=search
When pressing Enter, the posted form data has this parameter data instead:
ctl00$Header$Search$btnSearch.y=0 ctl00$Header$Search$btnSearch.x=0
This is causing the server to send a different redirect back to Firefox. In the click case, the search term is included in the URL, and in the Enter case, it is not.
Okay, similar discrepancy with the large search box on the advanced search page. Clicking the button sets
ctl00$MainContent$search=search
But pressing Enter yields:
ctl00$MainContent$search=
And that causes a difference in the server response.
This may be a glitch in the ASP.Net script associated with submitting the form.
jscher2000, thank you for your help!
I've tried clearing the cache but that didn't change anything. I'm going to forwarded the broken info to our programmers and see if it's something they can resolve. In your opinion, is it strictly a broken button or does it have anything to do with Firefox? I'm thinking about switching out of Firefox....
Sorry, do you get the same result as me -- button works, Enter fails -- or do the search buttons not work for you?
I don't have Safari to test.
When I test the problem behavior in Google Chrome, the form ignore the Enter key; nothing happens when I press it. So that forces me to click the Search button.
Maybe that was the workaround the page designers adopted, but their code doesn't work in Firefox?
Yes, I get the same results as you with the click and enter. I'm waiting to hear from my programmer. Thanks!