Prevent redirect and validate login/register/lostpassword

Closed
Panagea - Hotel and Tours Booking WordPress Theme Panagea - Hotel and Tours Booking WordPress Theme March 26, 2019
Login to reply
harry smith
5 years ago
Resolved.
harry smith
5 years ago

It's ok now, I forgot replace files : main.php and funtion.php

Kelly R Support Agent
5 years ago

I can see you did not replace those files as I said.

I changed them in your website and login/register page is working well.

Regards, C-Themes

harry smith commented privately
Kelly R Support Agent
5 years ago

Please give me your website url and admin credentials and ftp information.

Let me check. 

Kelly R Support Agent
5 years ago

Hi,

I tried to visit your website, but I can not connect to 13.229.116.71 

Please let me know how to visit your test site.

Regards, C-Themes

harry smith
5 years ago

Hi, 

The login feature is good, but register with invalid email ( incorrect format, existing email) still display wordpress's page

Kelly R Support Agent
5 years ago

Hi,

1. Please set Membership in Settings -> General menu. http://prntscr.com/n41pzt

2. You should set login page in theme options panel. http://prntscr.com/n41qio

3. I updated template-login.php file in your website.

Please check again. If you have any issue, please give me issue details.

Regards, C-Themes

harry smith
5 years ago

here is private key,

this is my test site, keep edit and tell me what I need to do to update my main site

harry smith
5 years ago

Hi,

After replace, there are new errors, 

*Register 

 -Ater register with new email or used email, invalid email page display error as picture existemail.png 


*Login failed => still display wordpress's page

You can check my test website here: 

ip: 13.229.116.71 

username :user

password: SOcbONs61mp6 


*ssh: 

username: bitnami

private key in attachment

Kelly R Support Agent
5 years ago

Hi,

Please replace /templates/template-login.php, /inc/functions/main.php, /inc/functions/functions.php file with attachments and test again.

Regards, C-Themes

harry smith
5 years ago

*Login failed => redirect to the wordpress's page (/wp-login.php) with error ( picture 1.png)

=> I want to display error on theme's login page and login modal


*Register failed => display the wordpress's page with error (picture 2.png)

=>I want to display error on theme's register page with 2 types of error: username existing and email existing


*Lostpassword failed => display the wordpress's page with error (picture 3.png)

=>I want to display error on theme's lostpassword page

This happened on the lost-password page also in case of input an invalid email or an email was not registered before.