WordPress.org

Support

Support » Plugins and Hacks » [Plugin: PHPBB Single Sign On] Can't patch function_user.php

[Plugin: PHPBB Single Sign On] Can't patch function_user.php

  • I set this up previously on a test site and everything went smoothly. However, now trying to replicate this on my live site it is failing to patch the last file, function_user.php. I tried to copy my function_user.php file from the working installation to the new one, however it still says “Error”. When I click to patch the file, I get the “Patched file” message at the top, however still no workie. What can I do?

    http://wordpress.org/extend/plugins/phpbb-single-sign-on/

Viewing 1 replies (of 1 total)
  • Follow up: After digging in the code a little I am thinking that the reason it is not passing the patch test is because my test server is on linux but the production one is on windows (doesn’t make sense, I know, but that’s what I’m working with). The function that tests the patch looks for linebreaks \n\t\t\t and tabs as part of a string comparison and I think those are coming out differently from the windows machine.

    However, if I alter this function to just return true no matter what ( wpbb_validate_user2_patched on common-functions.php line 552) I can get it to pass the test however I still cannot login/logout of the forum.

    Thoughts?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: PHPBB Single Sign On] Can't patch function_user.php’ is closed to new replies.