Closed (fixed)
Project:
Custom Search
Version:
8.x-1.0-beta6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2011 at 22:02 UTC
Updated:
25 Sep 2017 at 17:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
synistics commentedComment #2
synistics commentedthis may be better classed as a bug report.
It is now failing to appear when content is changed on the site.
xxxxx.com/xxxxxxx-event-calendar
Comment #3
synistics commentedthe search function is now disappearing on use.
Enter the search once and then gone and then I need to clear the cache to bring it back:
Log Messages:
Type php
Date Saturday, September 24, 2011 - 07:58
User Anonymous
Location http://xxxxxxxxx.com/xxxxxxxxxxxxxx-event-calendar
Referrer http://xxxxxxxxxxxxxxxxx.com/
Message Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'custom_search_blocks_form_1' was given in drupal_retrieve_form() (line 771 of /home/xxxxxxxxxxxxxx1/public_html/xxxxxxxxxxxxxxxxx.com/includes/form.inc).
Severity warning
Type php
Date Saturday, September 24, 2011 - 07:58
User Anonymous
Location http://xxxxxxxxxxxxxxxx.com/xxxxxxxxxxxxxx-event-calendar
Referrer http://xxxxxxxxxxxxxxxx.com/
Message Notice: Undefined index: custom_search_blocks_form_1 in drupal_retrieve_form() (line 736 of /home/xxxxxxxxxxxxxxx/public_html/xxxxxxxxxxx.com/includes/form.inc).
Severity notice
Hostname 66.XXX.XXX.XXX
Comment #4
synistics commentedComment #5
jdanthinne commentedI've just tried to reproduce this bug with the latest Panels & Custom Search DEV versions, but can't.
What do you mean by "a change to a content layout or structure item"?
Comment #6
synistics commentedthe site is
http://xxxxxxxxxxx.com/xxxxxxxxxxxxxxxxx-event-calendar
running
D7.2
panels 7.X.3 alpha3
views 7.X.3 dev
custom search 7.x.1 dev
Site was built and the client asked for a search function restricted to a specific set of content, custom search did this job great, allowed us to search generally by word or by word and date.
The event calendar is built in views on a date and criteria qualifier. This is then published in a panel. The panel page has four panels, one of which is the custom search.
The issue is if we flush the cache, the search box appears. Once the box is used, it is gone until the cache is flushed again.
do you need a list of site modules?
The site is running on a shared server with 96m of memory available.
Is there anything else I can supply you with?
BTW, I just went to the site and tried to replicate all of the steps and do screen captures. I cleared the cache, got an out-of-memory WSoD, cleared it, cleared the cache again and now it will not repeat.
I would like to keep this open, but postpone and if it starts up again, I will on to your right away. Is there anyway I can reach you directly rather than through here?
Comment #7
jdanthinne commentedAllright, if it happens again, I'd prefer to have this issue reopened, but you can also contact me via http://drupal.org/user/313766/contact
Comment #8
synistics commentedhttp://xxxxxxxx.com/xxxxxx-event-calendar
I am not flushing the cache until we connect and you see what is happening.
Synistics
EDIT Best laid plans, I had to flush the cache to finish what I was working on.
I have removed a few modules, one was the translation module and went with the Google translation. The memory is limited on the server (shared server) and I am wondering if this is the cause of it. Caches were purged, modules reduced to needed, now it is a wait and see game.
Thanks
Comment #9
synistics commentedphp
Date Monday, October 3, 2011 - 07:03
User Anonymous
Location http://xxxxxx.com/xxxxxx-event-calendar
Referrer http://www.xxxxxx.com/
Message Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'custom_search_blocks_form_1' was given in drupal_retrieve_form() (line 771 of /home/mxxxxxxxx/public_html/xxxxxxxx.com/includes/form.inc).
Severity warning
Type php
Date Monday, October 3, 2011 - 07:03
User Anonymous
Location http://xxxxxxxx.com/petaluma-event-calendar
Referrer http://www.xxxxxxx.com/
Message Notice: Undefined index: custom_search_blocks_form_1 in drupal_retrieve_form() (line 736 of /home/mvisitp1/public_html/visitpetaluma.com/includes/form.inc).
Severity notice
Comment #10
jdanthinne commentedCan you make a test and put the search block in a regular region instead of a Panel?
So it would be easier to see if it's a global problem, or an incompatibility with Panels.
I also see that the problem is with anonymous users, so can you tell how are the permissions set for Custom Search?
Comment #11
synistics commentedI went to set up a demo page, which I will create and found something that I would have never looked at otherwise. In the blocks listing, there was no custom search. I have created 5 custom search boxes, four are for future use, and one is active. Under the Config/Custom Search, it indicated there was to be 5, but in the block list there was nothing. Purge and back they all came.
The four are not in use, so not conflicting in panels. I have also check the authorization and all is correct there (see image). the site does not have authorized users other than the admins and editors.
No panel test is here:
http://xxxxxxxxxx.com/custom-search-demo
Thanks
Comment #12
synistics commentedI guess I am going to pull this module from the site. I cannot work out where the conflict is coming from, but it is useless if the search box is there and then gone after one use. I have looked through the code looking to see what could be causing the conflict, but nothing is jumping out at me. As stated, when used, all the created blocks (CS 1-5) disappear from the block list and the site. Purge the cache and they are back. It does not seem to be a memory issue and the site is built with fairly conventional modules. The demo Block 2 is not in Panels so the conflict is not with panels.
This is an urgent matter for me to resolve but this does not seem like an easy one. Perhaps there is another modules that will serve the purpose for now.
Comment #13
synistics commentedmod pulled. The site would not work with this module, there is a conflict between one of the other modules needed for the site. The opportunity the module offered is what I needed but, it has been over two weeks and no headway. The core search mod is working on the calendar page now and I will look for other solutions.
Issue: unresolved
Comment #14
heddnI'm taking some liberty but a support request from over a year ago is probably
fixed or irrelevant. If you disagree, please reopen and provide more
details. Perhaps please provide this in a patch.
Comment #16
blakemorgan commentedI was having this same problem. For those who see this, it was because the search and the theme weren't configured to properly work with each other.