• I can’t get Auth Mode to go “OK”

    I’ve been selecting “wpbb” as the second path on the options page but when I save it, it keeps coming back to Apache.

    I’m using WordPress 2.9.1 and the latest version of PHPBB Single Sign On.

    Please help!

Viewing 15 replies - 31 through 45 (of 61 total)
  • You have also to modify module.phpbb.php in the phpbb-single-sign-on directory:

    MODIFY
    $include_contents = file_get_contents($phpbb_root_path . 'common.orig.' . $phpEx);

    TO
    $include_contents = file_get_contents($phpbb_root_path . 'common-orig.' . $phpEx);

    This workaround works offline, but online using the original or my modded way I receive a blank page.
    I’m working on it also if I’m not the developer ??

    The problem wasn’t my mod to fix the problem.
    The problem, as suggested by the author, could be a plugin.
    And it was: Bee Offline.

    I disabled it, applied my fix to the plugin and everything works great.

    Hi, I’m happy that you found out which plugin made your page blank.

    another one is : WP-Mail-SMTP
    there is another plugin that makes the same job, I just don’t remember right now wich one it was.

    I worked for a long time on a function that would test all the functions accross the applications to find any conflicts.

    It was almost finished but I encountered many problems with regular expressions.

    so if someone is good in regular expressions, please tell me, so I can finish this no-conflict function.

    Hi, I receive an error on the forum phpBB3:

    Fatal error: Cannot redeclare include_for_eval() (previously declared in D:\xampp\htdocs\wordpress\phpbb\common.php:15) in D:\xampp\htdocs\wordpress\phpbb\common.php(77) : eval()'d code on line 21

    How can I fix it to work plugin Single Sign On and forum?

    I have installed this plugin correctly I have
    Reccomended Current OK ?
    Files
    auth_wpbb.php 0.7.1 0.7.1 OK
    common.php 0.7.1 0.7.1 OK
    common-orig.php – Original OK
    Configurations
    Auth Mode wpbb wpbb OK
    Wordpress Path Variable ../ OK

    and auth method set to wpbb. My problem is that i can not log into wordpress using usernames that i already have in my phpbb3. I get an invalid user. I have tried registering a new user on the forum and the new user is getting invalid user when trying to log on.
    using WordPress 2.9.2.
    Board version: 3.0.6
    Mysql 5

    _OMEGA_
    common.php is already modified however in module.phpbb.php i can not find the full string you mentioned. the closest I could find is
    $include_contents = file_get_contents($common_file);

    Please help I only want to import phpbb3 users into my wordpress. I dont need the forum anymore. Getting phpbb3 and wordpress to share signon is an added advantage.

    auth_wpbb.php  	0.7.1  	0.7.1  	OK
    common.php 	0.7.1 	0.7.1 	OK
    common-orig.php 	- 	Original 	OK
    Configurations
    Auth Mode 	wpbb 	wpbb 	OK
    Wordpress Path 	Variable 	../phpbb3/ 	OK

    Ok, I’m trying this out on a localhost.localdomain before I use it on an actual site.

    I have just installed WordPress 3, and set up multisite, and PHPBB3.0.7-PL1.

    I have merged the wordpress and phpbb3 tables, so they’re now in the same one. The admin account for both the forum and wordpress have the same username and password.

    However, after making all the changes and setting stuff in wordpress, I can’t log out of the forum (to create a new user and test). I am presented with the error:

    Fatal error: Cannot redeclare validate_email() (previously declared in C:\xampplite\htdocs\wordpress\wp-includes\ms-deprecated.php:136) in C:\xampplite\htdocs\phpbb3\includes\functions_user.php on line 1742

    In fact, I get this error whenever trying to do anything with users in phpBB – like ‘manage users,’ for example.

    Does the plugin not work with multisite (since the error comes from ms-deprecated.php), and if not, is there a way for it to be patched so it does?

    Thanks in advance.

    Has anyone found a solution, how to stay logged in both WP and PHPBB3 at the same time? It’s annoying to login all the time…

    And, is there a way to automaticaly join all users from both database? It’s rather complicated, if you have to login first to make same login user in the other database :\ Otherwise it just doesnt login.

    What the hell is this;
    Fatal error: Cannot redeclare validate_username() (previously declared in /home/saikoude/public_html/stran/wp-includes/registration.php:49) in /home/saikoude/public_html/forum/includes/functions_user.php on line 1588

    Same error, how to fix??

    Fatal error: Cannot redeclare validate_username() (previously declared in wp-includes/registration.php:49) in forum/includes/functions_user.php on line 1590

    Open includes/functions_user.php on the line just befor

    function validate_email(

    add

    if(!function_exists('validate_email'))

    if you also get it for validate_username then add it before it as well.

    This is probably also the issue if you are getting blank pages in phpbb (enable errors for PHP)

    Ok last of the show stopping bugs:

    auth_wpbb.php (the one you copied in to phpbb)

    change line 75 from

    sql = 'SELECT user_id, username, user_password, user_passchg, user_pass_convert, user_email, user_type, user_login_attempts
    
                    FROM ' . USERS_TABLE . "
    
                    WHERE username = '" . $db->sql_escape($username) . "'";

    to

    sql = 'SELECT user_id, username, user_password, user_passchg, user_pass_convert, user_email, user_type, user_login_attempts
    
                    FROM ' . USERS_TABLE . "
    
                    WHERE username_clean = '" . $db->sql_escape($username) . "'";

    My problem is similar to what uncletadd has – not exactly.

    I wasnt able to embed Phpbb forum into WP using wp-united because of the theme I’m using.

    This plugin is awesome!
    I had 30 members in my WP forum (using Simple:Press plugin) when I switched to PHPBB Forum.
    I had many troubles getting PHPBB Single Sign On to work but now I have all things saying OK. (I had to make sure I have it all in one database and deactivated my old forum plugin besides other problems I had, for those who might find that helpful)

    So now new users that register on Phpbb forum are automatically added to WP Users panel.
    However, old users can’t login into Phpbb forum using WP username & password.
    To add to that – I use Visitor Maps and Who’s Online plugin in WP and when the old user tries to log in to Phpbb – they show up in Who’s Online plugin on WP side but can’t login to the forum.

    Do any of you know if that means that old users “login” to WordPress when they try to access phpbb forum? In other ways, would all new users be able to login into WP (if I say create something) using their Phpbb login info?

    And is there a way for me to fix the problem so that WP users can login using their WP username and password?
    Thank you

    Note my previous fix to includes/functions_user.php causes the registration to break!

    Here is the solution (don’t apply the other one):
    In includes/functions_user.php line change
    function validate_email($email, $allowed_email = false)
    to
    function validate_email_phpbb($email, $allowed_email = false)

    In includes/acp/acp_users.php line change
    array('email', $user_row['user_email'])
    to
    array('email_phpbb', $user_row['user_email'])

    And finaly in includes/ucp/usp_register.php change
    array('email')),
    top
    array('email_phpbb')),

    Found a small bug in connect-phpbb.php
    Change
    define(IN_PHPBB,true);
    to

    if(!defined('IN_PHPBB')) {
                define('IN_PHPBB', true);
            }

Viewing 15 replies - 31 through 45 (of 61 total)
  • The topic ‘[Plugin: PHPBB Single Sign On] Can’t Auth Mode – Option Selected Doesn’t Save’ is closed to new replies.