New password protect

So I purchased this and added it to a page. I added a password section and added a load of content. So if I preview locally it works fine, however when I publish to the web I get the following error.

false, ‘message’ => $errorMessageText ]); exit; } } // Re-check authentication (may have been restored from cookie) $isAuthenticated_rwA34124B0_12C5_4DC0_9CE9_AB223CC1141C = password_protect_is_authenticated(‘password_protect_shenjin’); // Capture the protected content for AJAX response ob_start(); ?>

Advice please? I really cant see what i have done wrong.

In addition. I did not get the sample project showing the implementation of the addon? How can I get this?

Quick thing to check first, is the page set to PHP?

Doh! How stupid of me, sorry! But I still don’t see the sample project? Where can i download it?

You’ve already got it as part of the Password Protect pack :wink: Check in the New Project Window!

Ok thanks, I didn’t know to look here, I will in future!

1 Like

No problem, this new way of working is very new, the store has only been open for three weeks.

We’ll work to improve this experience, so it’s more obvious :slight_smile:

Just purchased the Password Protect. Thank you for taking the time to make this.

Did I miss a link to instructions on how to use it?

https://www.youtube.com/watch?v=OrB7npyl13E

Keep an eye on the Docs page, we’ll be expanding the information there in the next few days.

And @jwDave has already linked you to the launch video, that’s worth watching to see how it all works.

There’s also a sample project included when you install the component, check the New Projects Window.

Hi Dan, I have added Page Protect to my elements project and it all work in preview. But not when uploaded. Is it anything to do with PHP. If so, how do I fix this.

Fixed. I have sorted it out.

what did you do to fix the issue? Just wondering if there’s anything we can do, or add notes on, should anyone else run in to issues :slight_smile:

Hi Ben,

The information about changing the file to php and deleting the old file from the web host’s server was there on the forum but it was really hard to find. Maybe a this is what to do when you purchase the package could be included.

We do have a page in the Manual for Password Protect that we’re working on. It does include this information, we just need to ensure users that buy the component can find it :thinking: