Info
- 7 posts
- 4 voices
- Started 5 years ago by febwa1976
- Latest reply from febwa1976
- This topic is resolved
Installation to sub domain Error 400
-
- Posted 5 years ago #
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 5 years ago #
I had no problems with the same configuration (host site5).
Is your config file located in the subdomain directory?
-
- Posted 5 years ago #
yes its in the subdomain directory. .. I am going to try on a new domain root install.
-
- Posted 5 years ago #
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 5 years ago #
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 5 years ago #
The path is for the URL.
So if
forums.example.comispublic_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 5 years ago #
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.
-
You must log in to post.