Login cache loop for IDX plugin

Hi, I’m re-opening this ticket, under my account just like the original ticket, although it occurs on a client’s site who has their own separate X theme license. The website is 21mike.com, a realtor team website here in NE Ohio. The following text is verbatim, and I’m also including your original reply below my original info, AND providing your requested access in a private note.

Our site build uses the dsIDXpress plugin for pulling in IDX data and managing all realty search-related functions. The plugin enables many nice features – like saving searches, and asking for future updates on individual listings – that require a visitor to log in to a separate offsite system managed by the plugin developers.

However, on the 21mike.com site, visitors are unable to successfully log in to their system to access these features. After extensive testing, we’ve determined the problem is caused by X – when I switch to another reference theme, like Twenty Twenty-One or GeneratePress, that problem goes away.

You can experience / debug the problem for yourself if you follow these steps:
– go to the home page, and enter a ZIP code in the ‘Locations’ field of the ‘Start Searching for a New Home Now’ form at the top of the main content column, then click the red ‘Search’ button.

– on the resulting search results page, you’ll see the page title ‘Real Estate in or near [whatever ZIPcode you entered]’, with a results map below it. Just below the page title, in rather small type, you’ll see a line of account-related options: Save Search | Profile | Searches | Listings | Login

– click the Login link, then the ‘Create an Account’ link on the subsequent floating dialog pane. Create a new account using whatever credentials you like.

– despite being able to successfully create a new account, you’ll never be able to actually reach a logged-in state w/r/t the IDX advanced functions – the screen will always refresh to an unlogged-in state, with ‘Login’ still available as the right-most option (rather than ‘Logout’, when one is properly logged in)

Before you reply asking that I do the standard WP debugging steps, please be aware I’ve already gone the switch-off-every-other-plugin route (didn’t resolve the login loop) before switching off X in favor of GeneratePress (DID resolve the login loop, with all other current plugins running undisturbed.) So the problem is most definitely with X, and the site is running the most current stable version of X (8.3.3). The site is now back to X, and I hope you can either resolve the problem or let me know – soon – that it’s unresolvable, in which case I’ll migrate away from X for this client.


You answered:
" Hello Benjamin,

Thank you for the very detailed information. To better assist you with your issue, kindly provide us access to your client’s site 21mike.com so that we can investigate further and check your settings. Please create a secure note with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
- Confirmation that we can access and make changes to your site"

Thanks in advance for your assistance,
:Benjamin

Hi @BenjaminBarnett,

Thanks for reaching out!

After investigating the issue on your website, I found out that the login option will not work even though the Twenty Twenty one or GeneratePress theme is enabled. It seems it has something to do with your IDX plugin option. Please keep in mind that the IDX plugin is a 3rd party plugin and it is outside the scope of our theme support to integrate any 3rd party plugin. You may seek 3rd party developers to help you with your problems or you can avail One where we can answer questions outside of the features of our theme.

Hope that helps and thank you for understanding.

Marc_a,
Hi!
I just logged in, switched to GeneratePress (as I’d done previously), checked the IDX login process running GPress (as previously), and confirmed that the login sequence succeeds under GPress while failing under X. I’ve attached an annotated screenshot for your reference. I did NOT need to purge WP-rocket cache or take any other remedial step in order to log in as an IDX user. Weird that you’re having a different result – if phoning me and stepping through together would help, I’m available. 1-216-291-4313.

In the screenshot, note (left red-circled area) my login email now shows, denoting my logged-in status, and (right red circle) ‘logout’ option (b/c I’m logged in).

Note I’ve switched back to X for the time being. I’m in the process of setting up a staging environment at WP-engine so you (or I) can toggle back and forth between X and GeneratePress without visibly altering the live site for regular visitors – I’ll send a link for that once it’s provisioned then cloned.

Hey @BenjaminBarnett,

I believe this is a caching issue. When logged in even using X, the IDX links update (see screenshot in secure note)

What happens if you change themes is the page markup changed so you see the updated page. If you switch back to X, the old markup is shown because it’s cached.

Below are a couple of tests you can try before determining if this issue is really with X.

  1. Purge all caches in your caching plugin and server cache. If you’re not sure how to do this, contact the caching plugin support and your web host.
  2. Switch to GeneratePress and let that theme run for like 2 days for it to be cached then use your IDX plugin. The same thing should happen if the page is cached.

If caching is the issue, contact your web host and caching plugin support to let you know how to exempt the page with IDX from being cached.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.