• Resolved nate22

    (@nate22)


    For no apparent reason (nothing has changed), Age Gate just stopped working on localhost. After I type in my birthday in XX-XX-XXXX format, it just reloads the page as if nothing happened. There is no message. It just reverts the input boxes to MM DD and YYYY.

    This concerns me because after I got it working locally, I uploaded it to the live site. So… why did it stop working and how do I know it’s not just going to stop working on the live site, too?

Viewing 6 replies - 16 through 21 (of 21 total)
  • Plugin Author Phil

    (@philsbury)

    I’ve tried it on MAMP now and it’s worked ok. It’s really odd. I’ve seen the behaviour like this when there’s caching but not without.

    Anyway, if you want to try an alpha of 1.4.0 to see if it solves your issue you’re welcome to, I’ll put a link below. What you’ll need to do is uninstall the current one and add this via the zip (or just overwrite in the file system), then go into the settings and there’s a new bit called “caching”, select the “Cache bypass” option and then see how that works for you. This option essentially runs it totally on the Front End. Mostly curious to see if this sorts your local issues. This isn’t 100% tested yet, but should be tomorrow.

    Here’s the link:
    https://www.dropbox.com/s/m0oyyoifika0rvk/age-gate.zip?dl=0

    Cheers
    Phil

    Thread Starter nate22

    (@nate22)

    I’ll give it a shot. Thanks!

    btw, I don’t know where you’re located, but if it’s USA, I appreciate you responding on July 4. I worked half the day before I realized I have the day off! That’s what happens when you work from home, I guess. ??

    Plugin Author Phil

    (@philsbury)

    Haha, no I’m UK based so no day off for me. But I’ve done that myself before!

    I did a bit of digging and MAMP may have caching by default – it’s been a while since I’ve used it as my dev environment but I found a couple of bits on Google about it – though my own install of it didn’t seem to have any issue.

    I’ve gone through that I’d been working on and found a few issues (mainly IE), so I’ve fixed those and but them into a beta version which is on the link below if it’s of help. It’ll probably become the official build by the end of the day too.

    https://www.dropbox.com/s/arjukevq19uugrp/age-gate-1.4.0-beta.zip?dl=0

    Cheers
    Phil

    Thread Starter nate22

    (@nate22)

    Update: the 1.4 alpha version works perfectly!

    Very strange since I have no caching plugins on the sites and no caching that I know of on MAMP and when I installed Bitnami WP I did not install Varnish as part of the package so as to avoid any potential automatic caching issues.

    It seems less like a caching issue and more like a cookie-refusal issue, though, doesn’t it? I don’t know. It’s awesome that you know, though.

    I will keep using the 1.35 version on the live site, but if it ever breaks like my localhost, it’s great to know I have this 1.4 alpha version at the ready to replace it.

    Plugin Author Phil

    (@philsbury)

    It is really odd, especially that it’s only local. It does seem like it may not be doing the cookie/session right, but it’s strange that I’ve not come across it before :/

    Great that the alpha is working, as I say the Beta fixes some issues in IE, and one I saw where the page title was always “Age Verification”. It also fixes the uninstaller, so that works now too ??

    As we have a solution, I’ll close this thread – but if you have any other issues or requests do let me know.

    Cheers
    Phil

    Thread Starter nate22

    (@nate22)

    Ah yeah, I’ll use the beta version of 1.4, then. Thanks!

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Stopped working on Localhost’ is closed to new replies.