PHPBB Single Sign On
Can't patch function_user.php (2 posts)

  1. dumdums
    Posted 4 years ago #

    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?


  2. dumdums
    Posted 4 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PHPBB Single Sign On
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic