Skip to:
Content
Pages
Categories
Search
Top
Bottom

Installation to sub domain Error 400


  • febwa1976
    Member

    @febwa1976

    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?

Viewing 7 replies - 1 through 7 (of 7 total)
  • I had no problems with the same configuration (host site5).

    Is your config file located in the subdomain directory?


    febwa1976
    Member

    @febwa1976

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


    Michael Adams (mdawaffe)
    Participant

    @mdawaffe

    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/';


    febwa1976
    Member

    @febwa1976

    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?


    Matt Mullenweg
    Keymaster

    @matt

    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/.


    febwa1976
    Member

    @febwa1976

    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.


    liyacaty
    Participant

    @liyacaty

    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

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar