FAQ and troubleshooting¶
Questions¶
Can I still reach the admin area while the lock is on?¶
Yes, pages under /admin are never redirected. To log in and to save anything you also need the maintenance password once per browser session, because /login and /paymenter/update are locked. See Usage.
Do logged-in customers get past the lock?¶
No. The lock does not look at user accounts. A customer needs the password like everyone else.
Can I give different people different passwords?¶
No. There is one Access Password for everyone.
How long does an unlock last?¶
Until the visitor's Paymenter session ends, which by default is after 120 minutes without activity. See Usage.
I changed the password. Are people who knew the old one locked out?¶
Not immediately. Sessions that are already unlocked stay unlocked until they expire. Only new unlocks need the new password.
Do payment webhooks and the API keep working?¶
The extension only checks routes in Paymenter's web middleware group. The API under /api and the webhook routes of the bundled Stripe, PayPal and Mollie gateways are outside that group and are not locked. Routes of other extensions are locked if those extensions register them with the web group.
Does the lock tell search engines the site is down for maintenance?¶
No. Locked pages answer with a redirect to /maintenance, and that page answers with status 200. No 503 status is sent.
Can I style the password page?¶
You can set the message and add an HTML block below the form with Custom HTML (optional). The rest of the page is fixed and does not use your theme.
Is the password encrypted?¶
No. It is stored as plain text in Paymenter's settings table and shown as plain text on the settings page. See Configuration.
Is there protection against password guessing?¶
No. The extension does not limit or delay attempts.
Troubleshooting¶
Saving in the admin area does nothing, or buttons stop responding¶
The lock is on and your browser session has not entered the password. Open /maintenance, enter the password, then go back to the admin area.
I cannot log in, /login sends me to the maintenance page¶
That is expected while the lock is on. Enter the maintenance password first, then log in.
I switched the lock on and do not know the password¶
Look it up in the extension's settings page under /admin, where it is shown in the Access Password field, then enter it at /maintenance. If you cannot reach that page because you are not logged in, rename or remove the extensions/Others/MaintenanceLock/ folder on the server. Paymenter then cannot load the extension and the lock is gone. Put the folder back after you have logged in and set Enable Maintenance Lock to No.
Any password is accepted¶
Access Password is empty. Set a password and save.
The home page or dashboard is open although the lock is on¶
Lock Dashboard (/dashboard) is No, or it was never chosen before saving. Set it to Yes and save.
The dashboard is open but nothing on it works¶
With Lock Dashboard (/dashboard) on No, the page itself is open but its Livewire update requests are still locked. A visitor needs the password for the page to work fully.
Someone still has access after I changed the password¶
Their session was unlocked before the change. It stays unlocked until it expires.
/maintenance shows a 404 page¶
The extension is not loaded. Check that Enabled is switched on for MaintenanceLock in the Extensions list and that the folder is named MaintenanceLock and lies in extensions/Others/.