Search result page is blank on live but not on local

This topic contains 8 replies, has 4 voices, and was last updated by  Kiran 4 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #536828

    Jason Salzman
    Expired Member
    Post count: 5

    I recently inherited a new client, brettapproved.com, which was migrated from it’s original host. Since moving hosts the search results page is now consistently blank. No error in the logs so I have no idea what is going on. To make things more confusing, I have an exact clone of the site running on my local where search results work without issue. The only difference I can think of is that the live site uses cloudflare, but I’ve paused cloudflare’s service and purged all cache and I’m still seeing the blank page.

    Additionally, if I manually goto a /places url for a specific locale on the live site, I see the expected results page.

    Any suggestions?

    #536840

    Kor
    Moderator
    Post count: 16516

    Hi Jason Salzman,

    Thanks for your post. Could you please share your Website WP admin access here in private reply so that I could check this out for you?

    #536914

    Jason Salzman
    Expired Member
    Post count: 5
    This reply has been marked as private.
    #537001

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    the site is running GDV1.

    GDV2 is awesome. Have you considered upgrading?

    https://wpgeodirectory.com/docs-v2/geodirectory/upgrade-from-gdv1/

    I see the issue. Looks like some map icons are missing.

    We can take a deeper look if you would share FTP credentials.

    FTP Credentials
    FTP Host:
    FTP Port:
    FTP User:
    FTP Password:

    #537023

    Jason Salzman
    Expired Member
    Post count: 5
    This reply has been marked as private.
    #537109

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #537278

    Jason Salzman
    Expired Member
    Post count: 5

    The missing images are definitely not the problem. It seems to be a possible issue with a rewrite rule or something. Anytime I hit a URL with the

    ?geodir_search

    query parameter, the page fails to load and no error is presented, just a blank page. However if I navigate directly to any of the /places urls the template loads without issue and lists all locations. I really need this to be resolved. I’ve tried re-saving my permalinks and clearing cache, but nothing makes a difference.

    #537340

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #537382

    Kiran
    Moderator
    Post count: 7069

    Hi Jason,

    It looks like you have used short php open tab “<?” instead of “<?php” in search template, so template is not rendering correctly because PHP setting for “short_open_tag” is “Off”. Use “<?php” or change value for “short_open_tag” to “On”.

    Provide us FTP credentials if this not works for you.

    Regards,
    Kiran

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

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

Open Support Ticket