MyBB Community Forums

Full Version: Can no longer log into Admin - url issues
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have installed MyBB into a subdirectory of a domain hosted on the same machine as another domain.

The domain I am using for MyBB is NOT the primary domain - it points to a folder under the primary domain.

Here is my folder structure:

/ROOT
/ROOT/secondary domain (this is the domain use to access the site)
/ROOT/secondary domain/forum (this is where MyBB lives)

Everything was working at one point in this configuration, but now I have some odd behavior.

When I go to the admin console - I enter http://secondary domain/forum/admin

When the MyBB admin goes to load - it changes the url to http://secondary domain/secondary domain folder name/forum/admin.

And I cannot log in. It appears somewhere along the way MyBB registered the folder path rather than the URL path.

How do I fix this?

I have the same issue on the general forum with the URL path being redone.

My cookie settings are:

<!--
var cookieDomain = ".secondary domain.com";
var cookiePath = "/";
var cookiePrefix = "";
Did you look at your /inc/settings.php file? Check for the url there
$settings['bburl']
Yes - the bburl is the correct URL - without all the extra folders.