GeoDirectory SupportNo Records returned from Search – GeoDirectory Support https://wpgeodirectory.com/support/topic/no-records-returned-from-search/feed Sun, 22 Feb 2026 20:34:45 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/no-records-returned-from-search/#post-23922 <![CDATA[No Records returned from Search]]> https://wpgeodirectory.com/support/topic/no-records-returned-from-search/#post-23922 Tue, 09 Dec 2014 13:56:22 +0000 [email protected] Hi guys

I dont get any data returned from my search.
http://showroom.ie/?geodir_search=1&s=+&snear=&sgeo_lat=&sgeo_lon=

I have SQL profiller on and the sql outputted is listed below.

When I run this sql I get the following error

Table ‘whatreta_show.geodir__detail’ doesn’t exist

DO you know what the table geodir__detail represents.

Thanks a lot
dave

SELECT SQL_CALC_FOUND_ROWS wp_posts.*, geodir__detail.* FROM wp_posts INNER JOIN geodir__detail ON (geodir__detail.post_id = wp_posts.ID) WHERE 1=1 AND ( ( wp_posts.post_title LIKE “%%” ) OR ( wp_posts.post_content LIKE “%%”) OR ( wp_posts.ID IN( SELECT wp_term_relationships.object_id as post_id FROM wp_term_taxonomy, wp_terms, wp_term_relationships WHERE wp_term_taxonomy.term_id = wp_terms.term_id AND wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id AND wp_term_taxonomy.taxonomy IN ( ‘gd_place_tags’,’gd_placecategory’ ) AND (wp_terms.name LIKE”%%” OR wp_terms.name IN (“”)) ) ) ) AND wp_posts.post_type IN (‘gd_place’) AND (wp_posts.post_status = ‘publish’) ORDER BY geodir__detail.is_featured asc, wp_posts.post_date desc, wp_posts.post_title LIMIT 0, 10

]]>
https://wpgeodirectory.com/support/topic/no-records-returned-from-search/#post-23923 <![CDATA[Reply To: No Records returned from Search]]> https://wpgeodirectory.com/support/topic/no-records-returned-from-search/#post-23923 Tue, 09 Dec 2014 14:15:41 +0000 [email protected] It appears that my sql is missing the post type in the file name

my Sql has: geodir__detail

when I should have

geodir_gd_place_detail

Any idea how this is happening

thanks
dave

]]>
https://wpgeodirectory.com/support/topic/no-records-returned-from-search/#post-23924 <![CDATA[Reply To: No Records returned from Search]]> https://wpgeodirectory.com/support/topic/no-records-returned-from-search/#post-23924 Tue, 09 Dec 2014 14:24:01 +0000 [email protected] Actually I think this is my own problem.
Please ignore this post for the moment and I will revert back

dave

]]>
https://wpgeodirectory.com/support/topic/no-records-returned-from-search/#post-23927 <![CDATA[Reply To: No Records returned from Search]]> https://wpgeodirectory.com/support/topic/no-records-returned-from-search/#post-23927 Tue, 09 Dec 2014 14:37:20 +0000 [email protected] Actually I had commented out the Search Post Types Select list

All Ok now

Thanks
dave

]]>
https://wpgeodirectory.com/support/topic/no-records-returned-from-search/#post-23949 <![CDATA[Reply To: No Records returned from Search]]> https://wpgeodirectory.com/support/topic/no-records-returned-from-search/#post-23949 Tue, 09 Dec 2014 18:13:34 +0000 Paolo glad you solved 🙂

]]>