bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

Installation to sub domain Error 400

(7 posts)
  • Started 1 year ago by febwa1976
  • Latest reply from febwa1976
  • This topic is resolved
  1. febwa1976
    Member

    I get 400 error - bad request when trying to run the bb-admin/install script.

    I am installing on http://subdomain.domain.com
    Host is ASO
    Check database username :pass 10 times.
    No trailing / at end of http://subdomain.domain.com in config.php
    I have tried "/" and /forum/ in config file
    I am probably doing something stupid
    Any clues?

    Posted 1 year ago #
  2. I had no problems with the same configuration (host site5).

    Is your config file located in the subdomain directory?

    Posted 1 year ago #
  3. febwa1976
    Member

    yes its in the subdomain directory. .. I am going to try on a new domain root install.

    Posted 1 year ago #
  4. What is the url you're tring to install it to?

    http://subdomain.domain.com/forums/ ?

    If that's the case, you need to install bbPress in the directory on your server that that url points to. You config should then look like:

    $bb->domain = 'http://subdomain.domain.com';
    $bb->path = '/forums/';

    Posted 1 year ago #
  5. febwa1976
    Member

    OK - This is what I did at the beginning.

    ASO has cpanel.

    I went to cpanel and created "subdomain" called "forum"
    When you do this cpanel automatically creates a directory "forum"
    I uploaded BBpress to this directory.
    I created a database in cpanel and completed the fields in config.php
    I tried $bb->domain = 'http://forum.domain.com';
    $bb->path = '/forums/'; plus a lot of others.

    Does not work.

    So,

    I went to a current subdomain I have http://test.domain.com and in cpanel physically created a directory /forum/.
    I populated config.php with the data and it WORKS! (looks good by the way!!).

    The only thing is that my forum is at

    test.domain.com/forum/

    I cannot get it to the root at

    test.domain.com

    (by the way when I install WP to testexample.domain.com it works first time every time and I do not have to install it to, and call it from testexample.domain.com/wpdirectory/

    Sorry for the long post and hope it is clear...

    What am I missing here?

    Posted 1 year ago #
  6. The path is for the URL.

    So if forums.example.com is public_html/forums/ on your server, you still just want / to be your path because when you load it in a browser it's: http://forums.example.com/.

    Posted 1 year ago #
  7. febwa1976
    Member

    Soooo. It works!

    As usual it was the unexpected simple thing. My domain is at one host and the subdomain is at another. The A record was not propogating correctly. I fixed this and the install worked first time.

    Thanks for taking the time to help.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.