New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LWT authentication via Wordpress failing #41
Comments
Hello! I investigated your issue and I think I pinpointed the cause. Can you try changing Please tell me if it worked, so that I can close the issue! |
Hi Thanks for investigating. I am still experiencing an underlying issue. The error log reports: |
Hi! Replacing I will try to publish a bug fix release by the end of the week, since I also fixed problems with |
Hi Hugo The error log is now clear with the changes you identified. One issue is still persisting with too many redirects (ERR_TOO_MANY_REDIRECTS) apparently under wp_lwt_start.php From the access log
Thanks for your help |
I may have found the solution, try replacing I hope it'll be the end of our troubles! |
Thanks for the help so far. Sorry to say it seems to have uncovered another issue. Now I get a message "file not found" and the address shows 'https://wordpress.example.com/wp_lwt_start.php?rd=' Error log message: Access log: |
Hi I updated line 22 of 'inc/wp_logincheck.php' from 'header("Location: ./wp_lwt_start.php?rd=". urlencode($url));' to 'header("Location: ../wp-login.php?redirect_to=./lwt/wp_lwt_start.php");' This has taken me to the Wordpress login page. Unfortunately, when I log in, it reloads the same page and does not proceed further. |
Hi! Since the WordPress installation seems to be very outdated, I proceeded by getting my own WordPress version of LWT. I was able to reproduce your issue, so I hope to fix it this week! |
Thanks - that is much appreciated. |
Hi, I could solve your issue, basically there was a circular reference: Now, Thank you for your patience, I hope you will have a useful time with LWT! |
Thank you so much - I can confirm this is now working as expected |
Describe the bug
Multi user setup via wordpress authentication fails with the following message:
'PHP message: PHP Fatal error: Cannot redeclare get_version() (previously declared in /usr/share/webapps/wordpress/lwt/inc/kernel_utility.php:28) in /usr/share/webapps/wordpress/lwt/inc/kernel_utility.php on line 28'
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The wordpress login screen should display and after one has logged in the LWT site should be visible.
Screenshots
N/A
Desktop (please complete the following information):
Additional context
This originally worked before LWT was abandoned
The text was updated successfully, but these errors were encountered: