Page 2 of 2

Re: Need Login/Register page helps

Posted: Tue Apr 28, 2015 9:30 pm
by fahim
Thanks for the help.

Re: Need Login/Register page helps

Posted: Fri May 01, 2015 8:32 pm
by fahim

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

Posted: Fri May 01, 2015 9:53 pm
by Celauran
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.
Those constants are not used anywhere in the code, so the readme is probably out of date.
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.
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: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.
Do you have error reporting turned on? What does your code look like? What errors are you seeing?

Re: Need Login/Register page helps

Posted: Mon May 04, 2015 10:25 pm
by fahim
Thanks Celauran. That's a huge help.

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

Posted: Tue May 05, 2015 6:22 am
by Celauran
Turn error reporting on.

Code: Select all

error_reporting(-1);
ini_set('display_errors', 1);