Skip Navigation

[Resolved] custom login form

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 12 replies, has 3 voices.

Last updated by yoshihikoH 12 months ago.

Assisted by: Luo Yang.

Author
Posts
#2598309
sample1.png

Dear toolset supporter,

My current position

Home » Course » WordPress Membership Sites » Member login and account management » Creating Custom Login Forms in WordPress

1.I registered a new user.
2.I logged in again.
3.The screen has moved to a page where you have an account or you don't.
4.I have already chosen who has an account.
5.Toolset's 「Creating Custom Login Form」 page worked and displayed a screen asking for Username( or Email) and password input screen.
6.Enter the correct Username and Password
7.Unknown error cannot be logged in with the display

I would like to ask for support in resolving the above error.

Thank you,

Yoshihiko

#2598611

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi there

Can you check for PHP errors or warnings in your debug.log?

If you haven't already, turn on the debug log by editing your wp-config.php file and change the line with WP_DEBUG like so:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('WP_DISABLE_FATAL_ERROR_HANDLER',true);

That will create a debug.log file in your /wp-content/ directory which you can examine in any text editor.

Try logging in again and then inspect the log. If you don't find the debug.log file it means it didn't generate any warnings or errors.

Also, check your browser developer console and the network tab for any reported errors, too, and let us know what you find.

#2598879

Hello、

Thank you for contacting .
I checked the error log but did not find the error.
Thank you.

Yoshihiko

#2598965

Hello,

There should be some PHP log messages in the debug.log file, can you copy/paste them here?

#2599023

Dear luo,

It will be the current error log.
--------
[Tue Apr 25 14:34:29.241524 2023] [:error] [pid 414093] mod_mruby ERROR ap_mrb_raise_error: mrb_run failed: [TYPE: FILE] [CACHED: DISABLE] mruby raise: /etc/apache2/scripts/site.rb:253: arena overflow (RuntimeError)
--------

I tried to check the config.php file
----------------------------
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('WP_DISABLE_FATAL_ERROR_HANDLER',true);
---------------------------
I couldn't find the above line.
Instead, my server had a console that confirmed the error log, so I crucified it.

Thank you,

Yoshihiko

#2599031

The error log you mentioned above is a server problem:
hidden link

You can follow our document to get the PHP debug logs from your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#php-debugging

#2599437

Dear luo,

I wrote the code below in the wp-config.php file.
----------------------
ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) .'/error_log.txt');
------------------------
Then I tried to log in at the front end.
But the error_log.txt file was not represented and of course no error log was recorded.
Currently I have deleted the above code from the wp-config.php file.
I can't do any further work.
I'm sorry, but I would like to ask for support.

#2599471

Can you share your website credentials + FTP access in below private messagebox, I can try to get PHP debug logs from your website.

In the meantime, you can ask your server provider to get the PHP debug logs.

#2600017

Can you disable to Japanese reCAPTCHA validation of the login form:
hidden link

I don't know how to input those Japanese text, so can not login into your website.

#2600137

Dear luo,

I'm sorry. I forgot to remove the site guard.
I'm really sorry.

※I contacted the server company and asked for a php debug log acquisition, but I was completely refused.
I also use kinsta, but I'm always amazed by the difference in quality of service. I close to the poor service of server companies in Japan.

#2600513

Hello, luo,

In conclusion, my problem seems to have been solved this morning.
I was able to complete all the haze once I had made a series of account registration moves again.
I don't know if it's a problem with the PC itself, but the designed movement worked correctly.
I am sorry that you have caused a great deal of trouble.

By the way, I tried to implement a plugin for error log output, and the error log was displayed as zero.
This plugin was called 「 Error Log Monitor 」. It looks like a reliable plugin.

I'm currently asking questions in the log-in and log-out parts soon, so I look forward to your support in the future.

Warm Regards,

Yoshihiko

#2600531

OK, please let me know if you still need assistance for it, feel free to create new tickets for other new issues.

#2600539

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.