WordPress.org

Ready to get started?Download WordPress

Forums

WP phpBB Bridge
[resolved] "Path to config.php" on localhost (XAMPP) (9 posts)

  1. genesis-zero
    Member
    Posted 3 years ago #

    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.

  2. merianos
    Member
    Plugin Author

    Posted 3 years ago #

    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

  3. genesis-zero
    Member
    Posted 3 years ago #

    ../../phpBB3/config.php

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

  4. genesis-zero
    Member
    Posted 3 years ago #

    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.

  5. genesis-zero
    Member
    Posted 3 years ago #

    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?

  6. merianos
    Member
    Plugin Author

    Posted 3 years ago #

    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 :)

  7. genesis-zero
    Member
    Posted 3 years ago #

    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.

  8. merianos
    Member
    Plugin Author

    Posted 3 years ago #

    We thank you that you using our plugin.

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

  9. Luciano Del Fico
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic