Title: [Plugin: PHPBB Single Sign On] Can&#039;t patch function_user.php
Last modified: August 20, 2016

---

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

 *  [dumdums](https://wordpress.org/support/users/dumdums/)
 * (@dumdums)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-phpbb-single-sign-on-cant-patch-function_userphp/)
 * 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/](http://wordpress.org/extend/plugins/phpbb-single-sign-on/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [dumdums](https://wordpress.org/support/users/dumdums/)
 * (@dumdums)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-phpbb-single-sign-on-cant-patch-function_userphp/#post-2771076)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/phpbb-single-sign-on.svg)
 * [PHPBB Single Sign On](https://wordpress.org/plugins/phpbb-single-sign-on/)
 * [Support Threads](https://wordpress.org/support/plugin/phpbb-single-sign-on/)
 * [Active Topics](https://wordpress.org/support/plugin/phpbb-single-sign-on/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/phpbb-single-sign-on/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/phpbb-single-sign-on/reviews/)

## Tags

 * [phpBB](https://wordpress.org/support/topic-tag/phpbb/)

 * 1 reply
 * 1 participant
 * Last reply from: [dumdums](https://wordpress.org/support/users/dumdums/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-phpbb-single-sign-on-cant-patch-function_userphp/#post-2771076)
 * Status: not resolved