Title: WP/phpBB session issue
Last modified: August 18, 2016

---

# WP/phpBB session issue

 *  [pearlybay](https://wordpress.org/support/users/pearlybay/)
 * (@pearlybay)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/wpphpbb-session-issue/)
 * I’ve had phpBB running for years and now I’m trying to integrate WP and phpBB.
   Basically the only thing I want to achieve is to keep phpBB session alive during
   visits to WP, so that the phpBB nick can be used when commenting in WP.
 * I’ve nailed the problem to this line in phpbb file common.php (included in “global
   session” snippet):
 * `include($phpbb_root_path . 'includes/functions.'.$phpEx);`
 * Everything is okay before this line, nothing comes out after (nor from the file
   itself). Are there any known issues in that specific file when fetching it from
   WordPress application?
 * I found a couple functions in both phpBB and WP by the same name, but I really
   don’t know what to do with them.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [pearlybay](https://wordpress.org/support/users/pearlybay/)
 * (@pearlybay)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/wpphpbb-session-issue/#post-632239)
 * Here’s functions.php:
 * [Moderated]
    Please post lengthy code via [http://pastebin.com](http://pastebin.com).
   _Thanks_
 *  Thread Starter [pearlybay](https://wordpress.org/support/users/pearlybay/)
 * (@pearlybay)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/wpphpbb-session-issue/#post-632240)
 * I’m not sure if it’s okay to post that file since it is from another application.
   Please remove if it isn’t. I thought it would help out.
 *  Thread Starter [pearlybay](https://wordpress.org/support/users/pearlybay/)
 * (@pearlybay)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/wpphpbb-session-issue/#post-632242)
 * [http://pastebin.com/m57a34ef8](http://pastebin.com/m57a34ef8)
 * Thanks, so that’s where you’ll find functions.php.
 *  Thread Starter [pearlybay](https://wordpress.org/support/users/pearlybay/)
 * (@pearlybay)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/wpphpbb-session-issue/#post-632404)
 * I’ve now narrowed it down to `function get_userdata()`. When I comment out this
   function (or rename it) pageload works.
 * Perhaps I’ll just rename the function in WP and replace the old function with
   new one wherever I see it lurking.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WP/phpBB session issue’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 1 participant
 * Last reply from: [pearlybay](https://wordpress.org/support/users/pearlybay/)
 * Last activity: [18 years, 7 months ago](https://wordpress.org/support/topic/wpphpbb-session-issue/#post-632404)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
