MyBB Community Forums

Full Version: Login bug, can't post replies. (After directory change)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I want to change my forum link from

example.com to forum.example.com.

I created a subdomain in cpanel.

In this process, I am not sure.
I will copy everything to public_html to forum.example.com root.

and after that?

Please note, I am not changing my mysql database, it will be some.
Only the link. 

EDIT:

I moved all files from public_html to subdomain.example.com

i edited, in site details

Board URL: http://forum.example.com
Home page url : http://forum.example.com
Cookie domain: .forum.example.com
Cookie path: /

I am done?
That should be good to go.
Just make sure that your Cpanel settings are set so that subdomain forum.yourdomain.com points to the correct directory where your forum is located.
Forum is working but.

Bug!

When i login & try to post reply, it shows me to login again and happening repeatedly.

Can't post topics/replies.

Help!

bump

Help
Hello,

After Changing my Forum directory, from domain to sub-domain.

I am facing issues like -

(On old device) I click to logout of forum, i am still logged in.
(On another device)After Logging in forum, Try to post a reply, It shows me to login again, It keeps repeatating.
When i try to access acp, It says Invalid Administration Session, i login and it shows the same.

I tried clearing my browser cookies before and after change/Login, Still not solved.
I tried to edit inc/settings.php, It was same cookie setting.

Please help.

My  settings - 

$settings['bburl'] = "http://forum.example.com";
$settings['homeurl'] = "http://forum.example.com";

$settings['cookiedomain'] = ".forum.example.com";

$settings['cookiepath'] = "/";
$settings['cookieprefix'] = "";

I also tried,
forum.example.com/misc.php?action=help&hid=3 to clear my cookies Sad
You need to modify both the settings.php and Admin CP settings.

Read this thread
https://community.mybb.com/thread-126359.html
(09-20-2016, 01:16 PM)WallBB Wrote: [ -> ]You need to modify both the settings.php and Admin CP settings.

Read this thread
https://community.mybb.com/thread-126359.html

I already read that thread around 10 times before posting this.

It is happening from today, (Yesterday, I moved my forum from domain to sub-domain)
When i login in ACP, i land on Dashboard then when i click on Configuaration module, i logged out bcoz of
"Invalid Administration Session"

i think its issue only on chrome,
I tried opera browser & it works fine.

Any solution for Chrome?
I tried clearing browsing data with cookies & still don'nt work
Hello guys,

Recently, i moved my forum from domain to sub.domain.
From that day, I was having issue with "Invalid Administration Session" and Login/Logout Problems on Chrome.

I tried clearing browser cookie, mybb cookie and my site cookie settings are also Ok.

Later i found that, It is only happening with Google Chrome Browser,
I tried Opera browser and its working fine.

My members also facing this issue, so i told them to use another browser, they said its working fine in Mozilla firefox browser.

Any Help?
can we have your forum url ..
(09-21-2016, 06:32 AM).m. Wrote: [ -> ]can we have your forum url ..

I sent you in private message.
Please check your inbox.

Thanks  Heart

Thanks .m.

You solved my issue.

I removed the dot '.' before the domain cookie,
and the cookie path is /

and its working now. (After Clearing browser cookies)

I Request you to login to my forum and check the details if anything is not wrong.

+Rep