Posted: August 20, 2012 at 3:47 pm
|
Hello – The [EVENT_SEARCH] shortcode does not appear to be working for my site. There is no autocomplete, and if I type in a term and press Enter, it just returns me to the search box. http://www.brookfieldlibrary.org/brkwpress/event-search/ Thanks! |
It looks like there are some paragraph tags getting added into the markup. You might try wrapping the shortcode in [raw] tags to see if that makes a difference. Also, test drive the twentyeleven theme with the theme test drive plugin to rule out a theme conflict. |
|
|
I removed the paragraph tags, tried the [raw] tags, and used the theme test drive plugin, but the search still isn’t working. |
So to clarify, the search box didn’t display any results with the theme test drive enabled twenty-eleven theme? Try typing one of the event names, it should display an event name if there is a match after typing a few letters. I can also recommend updating to the latest version of Event Espresso, as the current version (3.1.26) has a few bug fixes for the event search feature. The source of the web page indicates that this site is running 3.1.25. |
|
|
Right, I still get no results with theme test drive and twenty-eleven. From the WP plugins page, it shows that I’m using 3.1.26, but I have noticed on other settings pages (calendar settings, for example) it says that I’m using 3.1.25. How can I fix this? |
The autocomplete is working for me but the results aren’t showing up for me on my local test site. I will create a ticket to take a look at this in the next update.
This is a typo in the plugin and will also be resolved in the next update. |
|
|
Thank you. |
|
Hi, I have exactly the same problem. Any solution found? |
|
Hi Jacopo, As Chris mentioned, this should resolved in the next update which is due quite soon (no date but testing has begun). |
Hey guys, I posted a temporary fix for this issue in this thread: Hope that helps. |
|
|
Hi, Let me know, this feature is much important for me |
|
This is still not working for me after the upgrade. http://www.brookfieldlibrary.org/brkwpress/event-search I tried it with the Twenty Eleven theme as well. Please help! |
|
September 19, 2012 at 11:35 pm Hello Jacopo and Jennifer, I have raised this with the developers to look into, we will let you know as soon as we can regarding it. |
September 19, 2012 at 11:47 pm @Jacopo I see that you are loading Jquery from the the Google Jquery library (screen shot: http://www.screencast.com/t/uqmRuBDXnouC) in your theme. There are also scripts loading jQuery.noConflict (screenshot: http://www.screencast.com/t/p2pkBmwla) on your site which is incompatible with the Google version of jquery. Therefore you are getting Javascript errors which are most likely preventing the auto-complete search tool from working properly. We are going to add new functionality to the search tool, to go to a search results page, soon. That should help people find the events when the Javascript cannot function properly. |
|
September 19, 2012 at 11:50 pm @Jennifer it looks like the script is not able to retrieve events from your database (screenshot: http://www.screencast.com/t/n3AUyzWXnY). Are all of your events active? Do you have all the dates and times entered for the events? |
|
|
Hi Seth, I tried switching to Twenty Eleven theme and this still does not work… |
Let me see if I can make the search redirect to a page that will display the search results. I think Dean already made a ticket for this anyways. |
|
|
Hi, thanks |
|
We are currently looking into the search issue, a ticket has been raised with the developers on it. When you say auto complete isnt working, have you tried it with an event title or just generic words? |
|
Hi Dean, I’ve tried both. |
|
Ok thanks Alan, thats helped us get a clearer picture. It’s still with the devs and we will get back to everyone once we know more. |
|
We have the same problem where the does not return any results. It just refreshes the page. http://www.whatcomfolkschool.org/?page_id=2826&preview=true Any ideas as to why? |
|
Hi Cindi, you are linking a preview page so we cannot see it, it doesnt look like the page has been published yet. |
|
Sorry. Look at this link: http://www.whatcomfolkschool.org/search |
|
One issue is that your theme is trying to load a Themroller style from a directory that doesnt exist. We have seen this a few times and believe it to be a conflict with the theme. Go to your template settings page and disable any/all custom templates. Please let us know if this does or doesnt work. |
|
My event search still doesn’t work, despite earlier suggestions. http://www.brookfieldlibrary.org/event-search/ Any new ideas? Thanks – |
Hi Jennifer, Have you tried ruling out any plugin conflicts? You can do this by deactivating other all the other plugins and reactivating them one at a time, each time checking the search page to see if that makes a difference. |
|
|
Hi, Josh – I have tried this. Jennifer |
Jennifer — Can you check your theme’s footer.php and see if there’s a line that says |
|
|
Hi, Chris – wp_footer(); was there, just not right before the ending body tag. I moved it to the correct position, but still no go. What seems odd to me is that I can’t get the event search to work even in twenty eleven. Jennifer |
Did you try twenty eleven and deactivate all the plugins at the same time? If there is a potential theme conflict and a plugin conflict at play here, then both may need to be ruled out at the same time. |
|
|
Dean, In Template Settings set “Use Themeroller Style Sheets” = No did not change behavior, still not working. |
|
Hello! In the template settings I set “Use Themeroller Style Sheets” to “No”. I ran the page and it generated no errors. The themeroller css error went away. But the [EVENT_SEARCH] shortcut still does not behave as expected. This is my page. Please have a look. Please give an update as to what the solution should be. Thanks. |
Hi Cindi, Can you test the event search with all non-EE plugins deactivated and with the default WordPress theme activated so we can rule out and theme/plugin conflict? Thanks. |
|
|
Hi, I used a fresh install of wordpress v3.4.2, with no plugins added (a subdomain). I installed only the event_espresso v3.1.27.P plugin, no other of your plugins like calender. The default theme is twenty eleven. It worked. so how do I go about getting this to work in main site? |
Hi Cindi, You could first narrow down what is breaking the search function by installing the theme from the main site onto this subdomain site. If it still works with the new theme, then you can move onto testing the plugins by installing them one by one. If it breaks with only the theme installed, you can narrow down the theme functions by commenting out each function one-by-one in the theme’s functions file. |
|
|
I tried a different approach. I imported dbase from main site into subdomain site Event Search fails. http://www.whatcomfolkschool.org/Stage/wordpress/search I then deleted all of the plugins except event_espresso and deleted the theme I was using so only the default themes are present (still set to twenty eleven), and it still fails. What admin settings could affect the EVENT_SEARCH? It seems that there is something in dbase that is preventing this from working. |
I’m not aware of an option that gets recorded to the database that would affect the event search function. It may be an issue with the actual event data, where one event is passing something that breaks the search or something is silently failing when it’s supposed to be pulling the event titles into the list of events. One thing I can think of is there may be an unescaped character in an event title somewhere. We escape these, but there may be something converting at some point that is breaking this. Are there any event titles that contain non-alphanumeric titles? |
|
|
I ran this query and it did not return any results: SELECT * FROM wp_events_detail |
Hi Cindi, It might help to see if there are any server errors when the event page is loaded up. Can you check the server’s error log after pulling up the event search page? |
|
|
Josh, we are using a web hosting service. I have looked at cPanel/Logs/error log page, but it is empty. Do you know if there is a switch or setting that needs to be done to generate errors? |
There is one in Event Espresso>General Settings that you can enable. It’s labeled ‘Use full logging?’ and will write to a log file in /wp-content/uploads/espresso/logs if the server’s permissions allows. For general PHP error logs, you or the host may need to configure the php.ini file to allow error logs to record to a specific file. It would look something like this:
|
|
|
below is the contents for expresso_log.txt when after I emptied it and refreshed the page that has the [EVENT_SEARCH] tag: [10.12.12 19:28:07][espresso.php][] [REQUEST variables: |
|
There is this error in the error_log, which looks like it comes from shortcodes.php: [12-Oct-2012 19:36:40 UTC] WordPress database error Unknown column ‘v.city’ in ‘field list’ for query SELECT e.*, v.city venue_city, v.state venue_state FROM wp_events_detail e WHERE e.is_active = ‘Y’ AND e.event_status != ‘D’ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/twentyeleven/page.php’), get_template_part, locate_template, load_template, require(‘/themes/twentyeleven/content-page.php’), the_content, apply_filters(‘the_content’), call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, ee_create_autocomplete_search |
|
Given the last two posts, I would like to add it seems no errors are produces when rendering my page that has the [EVENT_SEARCH] shortcode. |
|
I found the problem. It is based on the sql error. the venue manager must be enabled. |
Hi Cindi, The last error log you posted is actually very helpful. The event_search queries the venue city info. If there is a city entered for the venue, the city name will display next to the event name. In which case, can you try turning the venue manager on? |
|
|
exactly. the sql showed the problem. so I did enable the venue manager and it works. The error is in your code. Should not have need venue manager enabled to use EVENT_SEARCH. |
Hi Cindi, I had the tab open when I finished replying to your other reply, and did not see your most recent reply until later. I’ve already filed a bug report so the team is aware of it and can address this in a future release. Thanks for helping us track it down. |
|
|
Hi When I enter a search the page just refreshes. I’ve done all the above, but this only fixes the auto complete, I dont ever get any search results. can you help? |
|
Hi Wayne, The next release, due shortly if everything goes to plan, will improve the the way the event search works and resolve the refresh issue. |
The support post ‘Events Search’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.