by tlagren » Thu Apr 03, 2025 7:39 am
I have done some more debugging and I think the problem is as below, at least the w3all plugin exists here.
Code: Select all
function w3all_add_phpbb_user() {
// work with the phpBB WordPress extension -> cURL
// add user into WP, do NOT setup a phpBB session for the just inserted WP user
global $w3all_add_into_wp_u_capability,$phpbb_config,$w3all_oninsert_wp_user,$wpdb,$wp_w3all_forum_folder_wp;
if( isset($_REQUEST["w3alladdphpbbuid"]) ){
$phpbbuid = intval($_REQUEST["w3alladdphpbbuid"]);
$uemail = str_replace(chr(0), '', $_REQUEST["w3alladdphpbbuemail"]);
$w3allastoken = trim(str_replace(chr(0), '', $_REQUEST["w3allastoken"]));
if( $phpbbuid < 3 ){ return; }
} else { return; ******** This is last known part of the code that is executed *********** }
The variable $_REQUEST["w3alladdphpbbuid"] is undefined
Could there have been some issues with my phpbb database that affected the avatar salt?
I checked the DB and the table structure i there, column user_form_salt exists in table phpbb_users
/Tomas
I have done some more debugging and I think the problem is as below, at least the w3all plugin exists here.
[code]function w3all_add_phpbb_user() {
// work with the phpBB WordPress extension -> cURL
// add user into WP, do NOT setup a phpBB session for the just inserted WP user
global $w3all_add_into_wp_u_capability,$phpbb_config,$w3all_oninsert_wp_user,$wpdb,$wp_w3all_forum_folder_wp;
if( isset($_REQUEST["w3alladdphpbbuid"]) ){
$phpbbuid = intval($_REQUEST["w3alladdphpbbuid"]);
$uemail = str_replace(chr(0), '', $_REQUEST["w3alladdphpbbuemail"]);
$w3allastoken = trim(str_replace(chr(0), '', $_REQUEST["w3allastoken"]));
if( $phpbbuid < 3 ){ return; }
} else { return; ******** This is last known part of the code that is executed *********** }[/code]
The variable $_REQUEST["w3alladdphpbbuid"] is undefined
Could there have been some issues with my phpbb database that affected the avatar salt?
I checked the DB and the table structure i there, column user_form_salt exists in table phpbb_users
/Tomas