WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WP phpBB Bridge] "Path to config.php" on localhost (XAMPP)

[Resolved] [Plugin: WP phpBB Bridge] "Path to config.php" on localhost (XAMPP)

  • genesis-zero
    Member

    @genesis-zero

    The default value that the plugin gives me is: C:\Users\Bulma\Downloads\xampp-win32-1.7.3\xampp\htdocs\wordpress\config.php

    But this doesn’t work and I tried some variations like “../config.php” and so on. Nothing worked and I got no more ideas.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author merianos
    Member

    @merianos

    You have to enter the path to config.php of your phpBB3 installation.

    i.e: If your installation of your wordpress is that

    C:\Users\Bulma\Downloads\xampp-win32-1.7.3\xampp\htdocs\wordpress\

    and the installation of your phpBB3 is that

    C:\Users\Bulma\Downloads\xampp-win32-1.7.3\xampp\htdocs\wordpress\forum\

    then then config.php path is that

    C:\Users\Bulma\Downloads\xampp-win32-1.7.3\xampp\htdocs\wordpress\forum\config.php

    genesis-zero
    Member

    @genesis-zero

    ../../phpBB3/config.php

    works also, thank you. I thought I must enter the path to the WP config.php – don’t ask me why ^^

    genesis-zero
    Member

    @genesis-zero

    Addition: with “../../phpBB3/config.php” the message vanished, that the config.php can’t be found – but I can’t activate the bridge. With XAMPP I really need to set the path with “C:\ … “.

    Now the bridge works fine.

    genesis-zero
    Member

    @genesis-zero

    I tried to activate the bridge at my (online) blog. And still the path to the config.php makes me crazy 🙂

    My Blog is at http://mydomain.tld(/wordpress, I use a redirect here)
    My Forum is at http://forum.mydomain.tld

    The structure of the folders is:
    ../mydomain/wordpress
    ../mydomain/phpBB3

    What I have to enter to get the right path?

    Plugin Author merianos
    Member

    @merianos

    The right path is the full path to you config.php

    In example in my blog is somethink like that:

    /home/my_blog/public_html/phpBB3/config.php

    in your case may is somethink like that

    /home/mydomain/public_html/phpBB3/config.php

    but I can’t be sure about your server a I don’t know the configuration of your server.

    If you are not sure what is the full path to your phpBB3 then create a file “ie: mypath.php” into the folder phpBB3 and enter the following code in it:

    echo $_SERVER['SCRIPT_FILENAME'];

    The above code will return to you the full path to phpBB3 + the file name “mypath.php”. Replace the “mypath.php” with the “config.php” and then copy all that path to use it in the plugin configuration.

    Hope this help you 🙂

    genesis-zero
    Member

    @genesis-zero

    Thank you very much for the code snippet, it works very well.
    But I think my problem is the subdomain I used for my forum, but for that problem I open a new thread.

    Plugin Author merianos
    Member

    @merianos

    We thank you that you using our plugin.

    Please if you have time, rate our plugin and mark it as working 🙂

    I understand that the issue was resolved, but I have a similar problem. It seems that the plugin makes the control that the config.php is on the same server, my phpbb forum is on a path / home / portal / public_html. Wodpress while the blog is on a path / home / lucky / public_html / web / I wanted to know if it was possible to do in order to create a bridge between the server and completely different paths, thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] [Plugin: WP phpBB Bridge] "Path to config.php" on localhost (XAMPP)’ is closed to new replies.