When We choose a taxonomy in facetapi block, we will face with “An AJAX HTTP error occurre.
HTTP Result Code: 414
Debugging information follows.
Path: /en/ajax/ajax_facets/refresh/
StatusText: Request-URI Too Large
ResponseText:
414 Request-URI Too Large
Request-URI Too Large
The requested URL's length exceeds the capacity
limit for this server.” error message.
I am using from 7.x-3.x-dev Ajax facets
And also drupal commerce. Also adjust and install 3.6.2 version of apache solr.
First I thought it was the drupal commerce problem but I found a same module in the other place(https://github.com/drupalsib/ajax_facets) which works with Ajax correctly, but It is the only objection when we are using from pager, we face with this error for going to the next page.
I will thankful for your guiding in this way.
Comment | File | Size | Author |
---|
Comments
Comment #1
eugene.ilyin CreditAttribution: eugene.ilyin commentedHello.
Yes it's same module, but it's old version.
Seems I solved your problem. Please check fresh 7.x-3.x version.
Comment #2
eugene.ilyin CreditAttribution: eugene.ilyin commentedComment #4
majid jafari CreditAttribution: majid jafari commentedhi @eugene.ilyin
Thank you for developing this module and add to address my problem.
The previous problem was solved,but this time 2 another problem occurred.
After installing and enablining this fresh version,when i go to "Configure display" of facet block, i see "Fatal error: Class 'FacetapiEmptyBehaviorAjaxFacets' not found in ...\profiles\commerce_kickstart\modules\contrib\facetapi\facetapi.admin.inc on line 512"( my facet_api version 7.x-1.5).
so i comment "ajax_facets_facetapi_empty_behaviors" function in ajax_facet.module and then select Display widget "Ajax multiple checkboxes" and insert "
" in Empty facet behavior .
in my views when i select an facet, although there content and show count of term name(for example TV (5) ) but It does not change anything and show "Found null" tooltip :(
( I tried it with "Update results by ajax" in Configure display as well as,but there was no difference)
Comment #5
majid jafari CreditAttribution: majid jafari commentedComment #6
majid jafari CreditAttribution: majid jafari commentedComment #7
eugene.ilyin CreditAttribution: eugene.ilyin commentedI updated code, can you try again?
Comment #8
eugene.ilyin CreditAttribution: eugene.ilyin commentedComment #9
majid jafari CreditAttribution: majid jafari commentedfirst problom, " Fatal error: Class 'FacetapiEmptyBehaviorAjaxFacets' " was solved,but It does not change anything and show "Found null" tooltip.
Comment #10
eugene.ilyin CreditAttribution: eugene.ilyin commentedI'll check it in soon time.
Comment #11
majid jafari CreditAttribution: majid jafari commentedThank you
Comment #12
eugene.ilyin CreditAttribution: eugene.ilyin commentedI cannot reproduce it. Looks like query to solr is broken. I can see your site online?
Comment #13
majid jafari CreditAttribution: majid jafari commentedOk,just wait as long as I'm creating an online site(It takes a few days)
Comment #14
eugene.ilyin CreditAttribution: eugene.ilyin commentedAny news?
Comment #15
majid jafari CreditAttribution: majid jafari commentedIm sorry due to delays caused.
Please give me your email for send to you site and cpanel user&pass
Comment #16
eugene.ilyin CreditAttribution: eugene.ilyin commentedPlease, use contact form on my profile page https://www.drupal.org/u/eugene.ilyin
Comment #17
majid jafari CreditAttribution: majid jafari commentedSent,Please check
Comment #18
eugene.ilyin CreditAttribution: eugene.ilyin commentedStrange, but I don't got letter. You can send it to ilyin.eugene on gmail.com
Comment #19
majid jafari CreditAttribution: majid jafari commentedSent to you from majid.jafari9 on gmail.com
Comment #20
eugene.ilyin CreditAttribution: eugene.ilyin commentedThank you. I'll try to check it today
Comment #21
majid jafari CreditAttribution: majid jafari commentedYour welcome
Please note,this server is valid for 3 or 4 days
Comment #22
datis_m CreditAttribution: datis_m commentedI have same problem in drupal commerce,any body can solve this?
Comment #23
eugene.ilyin CreditAttribution: eugene.ilyin commented>I have same problem in drupal commerce,any body can solve this?
It's hard for debugging, because site with commerce can have very varied configuration. Can you check ajax_facets with any Drupal commerce build? For example Comerce Kickstart. It will be very helpfull.
Comment #24
datis_m CreditAttribution: datis_m commentedPerhaps I'm a used Comerce Kickstart
Comment #25
eugene.ilyin CreditAttribution: eugene.ilyin commentedNeed more specifics. Because it sounds too abstract "ajax facets is not working on my site with commerce".
Comment #26
datis_m CreditAttribution: datis_m commentedYou're right,Ok
But can you resolve this issue or I will must remove this facility from my shop?
Comment #27
eugene.ilyin CreditAttribution: eugene.ilyin commentedThe best way is help me detect this problem. I'll try to check it with commerce kickstart, but I'm not sure that it will be reproduced.
Comment #28
eugene.ilyin CreditAttribution: eugene.ilyin commentedSo, I found reason of problem. It's not a bug. It's just configuration.
How you can solve it:
1. Set facet operator "OR"
2. Disable filter "Do not display active items"
Can somebody check that it helps?
Comment #29
majid jafari CreditAttribution: majid jafari commentedWhen we use the Search api without solr ,acts properly.
But when used Solr and Search api,facets block will hide after a filter and cant filter anything.
Comment #30
eugene.ilyin CreditAttribution: eugene.ilyin commentedI'll check it in few days. This problem reproduced on commerce kickstart, but with Solr?
Comment #31
majid jafari CreditAttribution: majid jafari commentedMaybe this problem reproduced on commerce kickstart with solr,because I check it with Search api and acts properly
Comment #32
eugene.ilyin CreditAttribution: eugene.ilyin commentedYou mean that I should use search_api_solr instead search_api_db, to reproduce problem, right?
Comment #33
majid jafari CreditAttribution: majid jafari commentedYes I think.
Comment #35
eugene.ilyin CreditAttribution: eugene.ilyin commentedSolved. Please try dev version.
P.S. Seems there are problem with OR mode for facets. But it's problem of the new version of search_api_solr.
Comment #36
majid jafari CreditAttribution: majid jafari commentedComment #37
majid jafari CreditAttribution: majid jafari commentedYes it work,thank you(Image was uploaded by mistake)
Comment #38
majid jafari CreditAttribution: majid jafari commentedComment #39
majid jafari CreditAttribution: majid jafari commentedComment #40
eugene.ilyin CreditAttribution: eugene.ilyin commentedNice. Thank you all guys for help
Comment #41
majid jafari CreditAttribution: majid jafari commentedYou're welcome
But how to add "Throbber"?
I used your solution https://www.drupal.org/node/2337581#comment-9153121 but that did not work.is that has special configuration ?
Comment #42
eugene.ilyin CreditAttribution: eugene.ilyin commentedLet's discuss in that https://www.drupal.org/node/2337581 issue