• 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 - 16 through 30 (of 61 total)
  • But it only works when I log in thru WP.

    Brian.pan

    thanks a million

    I encounter another issue can anybody tell me what his means

    Parse error: parse error, unexpected ‘=’, expecting ‘)’ in /press/wp-content/plugins/phpbb-single-sign-on/common-functions.php on line 293

    I uninstalled wordpress then reinstalled and tried adding the PHPBB Single Sign On again and got that error

    is this something I can fix

    Hi all,

    as you may have noticed, I worked to make a fix of this in the version 0.6.1

    for other questions that were asked, I recommend to open new topics, but I’ll answer what I know.

    Sebi23DU : you say that your forum is blank ? this is because a wordpress plugin is colliding with a function name of phpbb.
    The only way to fix it now is to disable all plugins. and re-enable them one by one.

    I’m working on a piece of code that can automatically detect if a plugin will make it crash. but for now I’m searching for a regular expressions genius. because a function needs one to work. but it’s already almost done.

    Live2Game : Are you using PHP4 ? the last time I saw this error the person had PHP4, I’m not sure if this is the cause, because I don’t have a PHP4 install here and thus I can’t test it.

    I am having an issue with my install also,

    WordPress does not see any of my existing Forum logins.

    The authentication process works fine. I can also create new accounts on my wordpress site, which is then replicated on to my forums.

    Suggestions?

    What do you mean by “does not see my existing Forum logins.” ?

    Actually, the logins are replicated upon login.

    for example, the user “matt” subscribed to you forum months ago.
    now he wants to login. he can log into wordpress. and wordpress will automatically check if the user exists in the forum and create him in wordpress.

    Please tell me if it doesn’t work so I can fix it.

    I have tested it again this morning.

    I created a test user on the forums, then attempted to log into wordpress using the same credentials.

    I am then presented the wordpress standard response for invalid user.

    ERROR: Invalid username. Lost your password?

    Thanks for your help onigoetz

    After uploading the files (I did automatic install through wordpress) I click to activate and I get the following message and my site becomes unstable, returning the following message:

    WordPress database error Table ‘xxxxxxxxxx.0config’ doesn’t exist for query SELECT config_value FROM 0config WHERE config_name = ‘auth_method’ made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, wpbb_admin_warnings, wpbb_run_test, wpbb_get_current_auth_method

    xxxxxxxxxx = WordPress database name

    Thanks for any help.

    Also, my phpbb is located in a different database from my wordpress one. Should I uninstall phpbb and relocate it to the same database as the wordpress one?

    @evilfree
    Hi,
    can you just tell me the username that you create ?
    because the implementation of the name match is a bit special.

    @ewesslen
    Hi,
    Yes, WordPress and PHPBB have to be in the same database.
    I’m working on the support of two diffrenet databases. but it’s not finished now.

    Thanks. Another quick question, does the phpbb install need to be in a certain directory related to the wordpress install? Right now my wordpress install is in the root directory with phpbb being in /forums. Thanks again for the help.

    I reinstalled phpbb and it has the same database as wordpress but I’m still getting the same message as the one I posted above and the blog becomes unstable. Any ideas?

    What do you mean by unstable ?
    and what prefix do you have for your phpbb tables ?
    it seems that my script can’t find it for your tables.

    1) Installed & configured WordPress 2.9.2 and phpBB-PL1 3.0.7
    2) Installed PHPBB Single Sign On 0.6.2 on WordPress
    3) Changed authentication to wpbb on the forum
    4) Copied the auth_wpbb.php /forum/includes/auth/auth_wpbb.php
    5) Copied common.php to /forum/common.php

    6) Went to PHP BB Options in the WordPress administration menu changing Second Path/Auth to wpbb
    but it did always revert back to apache no matter what i did.

    This is my phpBB output.
    Reccomended | Current OK ?

    • auth_wpbb.php: 0.6.2 0.6.2 OK
    • common.php: 0.6.2 OK
    • common.orig:.php – OK

    • Configurations

    • Auth Mode: wpbb Error
    • WordPress Path Variable: forum/ OK

    Ohh and btw when i try to reach the forum i get these errors

    Warning: file_get_contents(./common.orig.php) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/vhosts/domain.org/httpdocs/forum/common.php on line 17

    Fatal error: Call to a member function session_begin() on a non-object in /var/www/vhosts/domain.org/httpdocs/forum/index.php on line 24

    Okey gotten everything green when i placed the forum in the same database wordpress is in. auth now keeps wpbb =D

    however when i am trying to visit the forum i get this error

    Warning: file_get_contents(./common.orig.php) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/vhosts/kpumea.org/httpdocs/forum/common.php on line 17

    Fatal error: Call to a member function session_begin() on a non-object in /var/www/vhosts/kpumea.org/httpdocs/forum/index.php on line 24

    Anyone fixed these two errors:

    Warning: file_get_contents(./common.orig.php) [function.file-get-contents]: failed to open stream: No such file or directory in httpdocs/forum/common.php on line 17

    Fatal error: Call to a member function session_begin() on a non-object in httpdocs/forum/index.php on line 24

    I did these changes and it seems work.

    In the phpbb-single-sign-on common.php file:
    CHANGE
    $include_common_contents = include_for_eval($phpbb_root_path . 'common.orig.' . $phpEx);

    TO

    $include_common_contents = include_for_eval($phpbb_root_path . 'common-orig.' . $phpEx);

    MODIFY the name of the original common.php:
    FROM

    common.orig.php

    TO

    common-orig.php

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