Page 1 of 1

Passwords are not saving

Posted: Mon Mar 04, 2019 10:15 pm
by kirbykirk
I have set up a login and password protecting pages. But the passwords for the users are not saving.

I have added a user by downloading the database as well as through the administrator tool. Both show the users but when I go into edit them the password field is blank.

When I try to login using the credentials created it redirects to the page I have set up for a bad username/password.

I have tried multiple passwords. Even 1234 to make sure it wasn't being mistyped. Suggestions?

Re: Passwords are not saving

Posted: Tue Mar 05, 2019 1:51 am
by kirbykirk
OK. Still need help but I am able to double check the password inside control panel and file management. It seems like the password is being changed. but for testing purposes I have a simple user name and a password of 1234# changed inside the file.

Now when I try to login I get the following error message:


Warning: filesize(): stat failed for /consultantusers.php in /home/paulak5/public_html/consultanteducationlogin.php on line 11

Warning: Cannot modify header information - headers already sent by (output started at /home/paulak5/public_html/consultanteducationlogin.php:11) in /home/paulak5/public_html/consultanteducationlogin.php on line 26

---- Where consultantusers.php is the database name.

Can't seem to get the form to redirect to either the success page or the failure page.

Re: Passwords are not saving

Posted: Tue Mar 05, 2019 7:04 am
by Pablo
You cannot directly edit the database to change the password, the password is encrypted.
You will need to use the admin tool for this.

The error seems to indicate that there is a syntax error in the file.
It may be read only or in the wrong folder.

Re: Passwords are not saving

Posted: Wed Mar 06, 2019 8:53 pm
by kirbykirk
Problems Solved.

New Question: The pages are successfully being protected but I have set up links to documents on these pages. For example, I have a link to a pdf document. When that pdf document opens in a new browser it has a url like: www.yourwebsite.com/document.pdf.

This Url can be copied and pasted into a new browser that is not logged in and successfully accessed. I am assuming that the google (Yahoo, etc) crawlers will find these documents and make them public.

How do I make sure these are also password protected?

Re: Passwords are not saving

Posted: Wed Mar 06, 2019 9:15 pm
by BaconFries
Maybe the following will be useful.
https://www.wysiwygwebbuilder.com/forum ... 44&t=20970