Need Login/Register page helps
Moderator: General Moderators
Re: Need Login/Register page helps
Thanks for the help.
Re: Need Login/Register page helps
Wargog wrote:https://GitHub.com/devplanete/php-login-advanced
Hi guys,
I'm now working with a new script, as it seems the previous one is not so secured and a very old script!!
The new script I am working is the one mentioned in the second post in this thread. It seems really a good script as suggested.
I need a little bit more help with this script. Not just some funny syntax error
I think you guys here can help me to overcome this issues/clarifications.
1.In the documentation at the "basic config" section. It is mentioned that, in the config/config.php file, I need to change “EMAIL_PASSWORDRESET_URL” and “EMAIL_VERIFICATION_URL” according my needs. But unfortunately, I can't find anything like this “EMAIL_PASSWORDRESET_URL” and “EMAIL_VERIFICATION_URL” in the config.php file.
2.In the "php-login-advanced-master" file, I can't find any classes folder and also classes/Registration.php and classes/Login.php. But according to the "Edit the email SMTP configs" of the documentation, I need to edit these files.
3. I'm testing this script on my Ubuntu 14.04 machine at my home. So there is no specific website URL. In that case, according to the documentation, when I write "localhost" in the address bar and press enter, the desired login page is not appears.
I feel that, I'm almost there to make this code working. Please help me see the light finally.
Thanks in advance.
Re: Need Login/Register page helps
Those constants are not used anywhere in the code, so the readme is probably out of date.fahim wrote:1.In the documentation at the "basic config" section. It is mentioned that, in the config/config.php file, I need to change “EMAIL_PASSWORDRESET_URL” and “EMAIL_VERIFICATION_URL” according my needs. But unfortunately, I can't find anything like this “EMAIL_PASSWORDRESET_URL” and “EMAIL_VERIFICATION_URL” in the config.php file.
The tutorial making reference to those is 2 years old. Grepping reveals the line referenced to be in PHPLogin.php on line 230.fahim wrote:2.In the "php-login-advanced-master" file, I can't find any classes folder and also classes/Registration.php and classes/Login.php. But according to the "Edit the email SMTP configs" of the documentation, I need to edit these files.
Do you have error reporting turned on? What does your code look like? What errors are you seeing?fahim wrote:3. I'm testing this script on my Ubuntu 14.04 machine at my home. So there is no specific website URL. In that case, according to the documentation, when I write "localhost" in the address bar and press enter, the desired login page is not appears.
Re: Need Login/Register page helps
Thanks Celauran. That's a huge help.
Actually, when I'm trying to access that page from browser using the following link :
Best regards.
Actually, when I'm trying to access that page from browser using the following link :
It shows the page completely blank !!! Please check the screen shot here, will give you much better understanding.
Best regards.
Re: Need Login/Register page helps
Turn error reporting on.
Code: Select all
error_reporting(-1);
ini_set('display_errors', 1);