Since last update, when you log from phpbb forum there is no problem, but when you log from wordpress it says "Undefined" though if you update the web it logs ok.
I have disabled all cache modules and it still show the same error
login error
- ale
- User w
- Posts: 16
- Joined: Sun Jul 22, 2018 9:43 pm
Re: login error
Hello! Just to test it i logged now with this user on wp side, and nothing happen here.
https://www.axew3.com/w3/wp-admin
To me, since here we are into a +- default wp and only few well knows plugins installed, there is maybe a conflict with some of yours plugins?
List yours wretch installed plugins, please
https://www.axew3.com/w3/wp-admin
To me, since here we are into a +- default wp and only few well knows plugins installed, there is maybe a conflict with some of yours plugins?
List yours wretch installed plugins, please
Re: login error
This are my plugins, I've already tried deactivate the cache plugins
Advanced Editor Tools
Versión 5.9.0 | Por Automattic |
amr shortcode any widget
Versión 4.0 | Por anmari |
Autoptimize
Versión 3.1.7 | Por Frank Goossens (futtta) |
Barra lateral de identificación
Versión 3.0.1 | Por Mike Jolley |
Child Theme Configurator
Versión 2.6.2 | Por Lilaea Media |
Seleccionar CMP - Coming Soon & Maintenance Plugin
Versión 4.1.9 | Por NiteoThemes
Force Refresh
Versión 2.6.1 | Por Jordan Leven
Hide This
Versión 1.1.3 | Por Andrés Villarreal
Insert PHP Code Snippet
Versión 1.3.3 | Por xyzscripts.com
Limit Login Attempts Reloaded
Versión 2.25.18 | Por Limit Login Attempts Reloaded
Login Logout Menu
Versión 1.4.0 | Por WPBrigade
mi_formulario
(this my own plugin for an inscription form)
Privileged Menu
Versión 1.8.4 | Por Benjamin Guy
Automatically empty cached pages when content on your site is modified.
Versión 5.1.3 | Por Mika Epstein
Really Simple SSL
Versión 7.0.5 | Por Really Simple Plugins
Shortcode Menu
Versión 3.2 | Por Amit Sukapure
TablePress
Versión 2.1.4 | Por Tobias Bäthge
User Registration
Versión 3.0.1 | Por WPEverest
User Roles and Capabilities
Versión 1.2.6 | Por mahabub
WordPress Optimizado
Versión 1.0.6 | Ver detalles
WordPress w3all phpBB integration
Versión 2.7.1 | Por axew3
WP Go Maps (formerly WP Google Maps)
Versión 9.0.19 | Por WP Google Maps
WPCode Lite
Versión 2.0.12 | Por WPCode |
Thanks
Advanced Editor Tools
Versión 5.9.0 | Por Automattic |
amr shortcode any widget
Versión 4.0 | Por anmari |
Autoptimize
Versión 3.1.7 | Por Frank Goossens (futtta) |
Barra lateral de identificación
Versión 3.0.1 | Por Mike Jolley |
Child Theme Configurator
Versión 2.6.2 | Por Lilaea Media |
Seleccionar CMP - Coming Soon & Maintenance Plugin
Versión 4.1.9 | Por NiteoThemes
Force Refresh
Versión 2.6.1 | Por Jordan Leven
Hide This
Versión 1.1.3 | Por Andrés Villarreal
Insert PHP Code Snippet
Versión 1.3.3 | Por xyzscripts.com
Limit Login Attempts Reloaded
Versión 2.25.18 | Por Limit Login Attempts Reloaded
Login Logout Menu
Versión 1.4.0 | Por WPBrigade
mi_formulario
(this my own plugin for an inscription form)
Privileged Menu
Versión 1.8.4 | Por Benjamin Guy
Automatically empty cached pages when content on your site is modified.
Versión 5.1.3 | Por Mika Epstein
Really Simple SSL
Versión 7.0.5 | Por Really Simple Plugins
Shortcode Menu
Versión 3.2 | Por Amit Sukapure
TablePress
Versión 2.1.4 | Por Tobias Bäthge
User Registration
Versión 3.0.1 | Por WPEverest
User Roles and Capabilities
Versión 1.2.6 | Por mahabub
WordPress Optimizado
Versión 1.0.6 | Ver detalles
WordPress w3all phpBB integration
Versión 2.7.1 | Por axew3
WP Go Maps (formerly WP Google Maps)
Versión 9.0.19 | Por WP Google Maps
WPCode Lite
Versión 2.0.12 | Por WPCode |
Thanks
Re: login error
Hello,
Could you please tell me where is the piece of code that logs from wordpress so I can try to see what variable is undefined?
Could you please tell me where is the piece of code that logs from wordpress so I can try to see what variable is undefined?
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: login error
I assume it is here:
/wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php
inside the private static function verify_phpbb_credentials(){
This part will be re-coded soon, but you can try to debug and fix the redirect that do not happen, just changing lines:
into (maybe, to redirect to home):
/wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php
inside the private static function verify_phpbb_credentials(){
Code: Select all
if ( ! empty( $_REQUEST['redirect_to'] ) ) {
$redirect_to = $_REQUEST['redirect_to'];
}
if ( ( empty( $redirect_to ) || $redirect_to == admin_url() ) )
{
// If the user doesn't belong to a blog, send them to user admin. If the user can't edit posts, send them to their profile.
if ( is_multisite() && !get_active_blog_for_user($user->ID) && !is_super_admin( $user->ID ) )
$redirect_to = user_admin_url();
elseif ( is_multisite() )
$redirect_to = get_dashboard_url( $user->ID );
elseif ( is_admin() )
$redirect_to = admin_url( 'profile.php' );
// (try) check if it is a login done via phpBB into WP iframed page AND AVOID redirect to iframe if it is the first time login, so subsequent addition of the user in WP
// or duplicate WP insertion in wp will happen!!
// if it is a first time login, AVOID the redirect to page-forum (if in iframe mode and user regitered then login in phpBB iframed)
if( !isset($on_ins) && isset($_SERVER['REQUEST_URI']) && !empty($wp_w3all_forum_folder_wp) && strstr($_SERVER['REQUEST_URI'], $wp_w3all_forum_folder_wp) )
{
$redirect_to = home_url() . '/' . $wp_w3all_forum_folder_wp; // this will cause duplicated user insert in wp, if phpBB login first time done in phpBB iframed
wp_redirect( $redirect_to ); exit();
}
if( !empty($redirect_to) ){
wp_redirect($redirect_to); exit();
}
}
// again, may $redirect_to is not emtpy
if( !isset($on_ins) && isset($_SERVER['REQUEST_URI']) && !empty($wp_w3all_forum_folder_wp) && strstr($_SERVER['REQUEST_URI'], $wp_w3all_forum_folder_wp) )
{
$redirect_to = home_url() . '/' . $wp_w3all_forum_folder_wp; // this will cause duplicated user insert in wp, if phpBB login first time done in phpBB iframed
wp_redirect( $redirect_to ); exit();
}
}
Code: Select all
wp_redirect( $redirect_to ); exit();
Code: Select all
wp_redirect( home_url() ); exit();