Authpro script not working

  • 1
  • Problem
  • Updated 5 years ago
  • Solved
I am at the last step before releasing my website that is overdue, and the Authpro page protection code isn't working.

I have followed:
Q: How can I protect my member's pages from being bookmarked and accessed without login first?
A: In order to protect a page from being accessed without login you should insert JavaScript 'page protection' code. You should insert this code in all pages you want to protect. You can find this code in your account manager ('Member's page protection code' link)

I am on my yola.com trying to enter the script into a HTML. For some reason it stuffs up my yola page and I can't save the page with the code in it. It is as if all my yola buttons are disabled. I've tried this on firefox and google chrome.

I really need to release my website in the next 24 hours. Can you please help!
Photo of Diana

Diana

  • 6 Posts
  • 0 Reply Likes
  • panicking!

Posted 5 years ago

  • 1
Photo of Laura Thomas

Laura Thomas, Social Media Coordinator

  • 4536 Posts
  • 211 Reply Likes
Hi Diana,

I replied to your Facebook post with some troubleshooting tips. If they do not help, please reply here with your code. You can also take a look at this thread to connect with other Yola members using AuthPro.
Photo of Diana

Diana

  • 6 Posts
  • 0 Reply Likes
I searched through all those threads, followed what they said and still have the problems. Please see below
Photo of Diana

Diana

  • 6 Posts
  • 0 Reply Likes
This time in the sitebuilder it looks like the HTML is pointing to the right login page, but then the yola buttons freeze up again and I can't save it! I also tried to do Page, Save As, but it freezes while stating 'creating page'

Can you please help asap as I only have few hours left to get the job done in time. Thanking you heaps!
Photo of Stefan

Stefan, Official Rep

  • 4448 Posts
  • 190 Reply Likes
Hello Diana

Looking at the websites in your Yola account, I'm presuming that you're referring to your "Connect 30 plus" site? I can see a login page there where the login box has been added via an HTML Widget. I couldn't find the Javascript Code you spoke of, did you remove it again?

Can you please provide this code here, so that we can try and exclude any obvious errors?
Photo of Laura Thomas

Laura Thomas, Social Media Coordinator

  • 4536 Posts
  • 211 Reply Likes
Diana shared this on her Facebook post, so we know she's all sorted now!

"Authpro got back to me. I tried their suggestion and it worked immediately:
Please try to disable authpro protection code in page protection settings, paste the code and then enable it again."