Search Error after upgrade

This topic contains 10 replies, has 2 voices, and was last updated by  Stiofan O’Connor 8 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #281359

    David Walker
    Expired Member
    Post count: 15

    Hi I have just done all of the upgrades from today, but now it brings back an error when i search

    search was not successful for the following reason: ERROR

    for example try entering WV3 9PT as a location search at the top of this page

    http://whichweddingvenue.co.uk/venue/village-hall-wedding-venues/

    If i manually enter the dynamic variables into the url it works fine,

    http://whichweddingvenue.co.uk/?geodir_search=1&stype=gd_place&s=&snear=wv3+9pt&sgeo_lat=52.5867446&sgeo_lon=-2.1452378999999837

    Thanks

    David

    #281361

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    HI David,

    Can you please provide wp-admin details and i will check it out?

    Thanks,

    Stiofan

    #281364

    David Walker
    Expired Member
    Post count: 15
    This reply has been marked as private.
    #281415

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks, Please check now.

    Stiofan

    #281418

    David Walker
    Expired Member
    Post count: 15
    This reply has been marked as private.
    #281421

    David Walker
    Expired Member
    Post count: 15

    It works fine on chrome browser, but still same on firefox

    #281432

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Good spot, fixed now!

    Stiofan

    #281457

    David Walker
    Expired Member
    Post count: 15

    Great thanks, works now.

    Think might be slight css error aswell, as i am using your latest one (do not think it is anything i have added css wise)

    But if you select area from the drop down, for example Wolverhampton, it used to go blue to indicate selected but now it is made white, same as background so cannot see it. If i delete the following in firebug it shows

    background: #fff none repeat scroll 0 0;

    from wp-content/plugins/geodirectory/geodirectory-assets/css/gd_core_frontend.css?ver=1.6.9

    }
    body .geodir-listing-search.gd-search-bar-style .geodir-loc-bar .clearfix.geodir-loc-bar-in .geodir-search select, body .geodir-listing-search.gd-search-bar-style .geodir-loc-bar .clearfix.geodir-loc-bar-in .geodir-search input[type=”text”], body .geodir-listing-search.gd-search-bar-style .geodir-loc-bar .clearfix.geodir-loc-bar-in .geodir-search input.ac_input[type=”text”] {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: block;
    float: left;
    font-size: 14px;
    height: 38px;
    margin: 0 !important;
    max-width: 100%;
    padding: 5px;
    width: 100% !important;
    }

    #281497

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    This reply has been marked as private.
    #281651

    David Walker
    Expired Member
    Post count: 15

    Ok great, thanks. Always available to help, the new search features are looking good…

    One final question, is there a way to sort the categories into Alphabetical order, for example if you drop down the search options on this page.

    http://whichweddingvenue.co.uk/venue/warwickshire/

    It would be really helpful if the Wedding Venue Types were in Alphabetical order, and not in ID order?

    Thanks

    David

    #282013

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Nice use of the search form 🙂

    If a select is used then its ordered by a-z, otherwise its ordered by cat count.
    You can override the order with the code snippet below.

    
    
    add_filter('geodir_filter_term_args','_my_geodir_filter_term_args',10,2);
    function _my_geodir_filter_term_args($args, $site_htmlvar_name){
        $args = array( 'orderby' => 'name', 'order' => 'ASC', 'hide_empty' => true );
        return $args;
    }

    Thanks,

    Stiofan

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount