MyBB Community Forums

Full Version: I can't access my account
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
So I freshly installed mybb 2 days ago and I started editing it, yesterday it was working fine but now I can't access te ACP, like I can access it but just on the first page and if I click anything it sends me to the login again and I can't login I put the correct details and nothing happens just a refresh. And if I try to login to the forum normally it just won't login it says login successfully but it redirects me back like I wasn't logged in.
EDIT: I forgot to say my website link is http://forum.illusionflow.net .
are you using rocket loader service from cloudflare ? if so, disable it, purge cloudflare cache & try again
(2017-04-10, 05:02 PM).m. Wrote: [ -> ]are you using rocket loader service from cloudflare ? if so, disable it, purge cloudflare cache & try again

Yes, I'm using cloudflare but I made a rule for the forum and I disabled rocketloader and I set cache on bypass.
But still nothing, I tried different browsers, clearing cache, cookies and all that and still nothing.
Check your CPanel and make sure at ./inc/settings.php that your cookie settings are correct, they should be something like this
$settings['cookiedomain'] = ".yourwebsite.com";
$settings['cookiepath'] = "/pathtoforum/";
$settings['cookieprefix'] = "";
If there is a subdomain then your cookie domain would need to point to that subdomain, if this is correct and you are still having issues you can check phpMyAdmin > Your SQL database for the forum > mybb_settings. Once you are here you need to find cookie secure flag, and set the value to 0 if it is not already, below is a photo of the cookie secure flag, among other settings, mine is enabled (1), but it only needs to be set to 1 if your site is forced SSL, and you have a valid certificate. Disabling it, even with proper SSL can help occasionally. (click here for the image)

After adjusting the value to 0 (double click the value to edit it), you need to go to your ./inc/settings.php, delete it (it is stored in SQL and will be updated automatically), and try logging in again. If this doesn't work feel free to PM me for more support.
Edit: delayed reply
try using .illusionflow.net as the cookie domain , /forum/ as cookie path , blank for the cookie prefix

first change them in ~/inc/settings.php file and then at Site Details of Configuration section

[faq: login]
(2017-04-10, 06:07 PM).m. Wrote: [ -> ]Edit: delayed reply
try using .illusionflow.net as the cookie domain , /forum/ as cookie path , blank for the cookie prefix

first change them in ~/inc/settings.php file and then at Site Details of Configuration section

[faq: login]

Probably won't work, I had the same issue a few weeks back and it required changing it in phpMyAdmin before I could log in, the settings would revert too quickly to actually be able to make any changes in the ACP
$settings['cookiedomain'] = ".illusionflow.net";
$settings['cookiepath'] = "/forum/";
$settings['cookieprefix'] = "";

My settings.php and I did the same on the database, and still nothing

EDIT: The actual forum is not on the website you can't access it by accessing the website and putting "/forum" it's configured on another virtual host!
(2017-04-10, 06:24 PM)Kicer Wrote: [ -> ]$settings['cookiedomain'] = ".illusionflow.net";
$settings['cookiepath'] = "/forum/";
$settings['cookieprefix'] = "";

My settings.php and I did the same on the database, and still nothing

Check phpMyAdmin, and make sure that the secure cookie flag for your database is set to 0, if it is set to 1 then you will not be able to login, as the cookies won't work properly. If you would like you can PM me cpanel login info and I will take a look at it . It also seems like your cookie path is wrong, as there is nothing currently accessible at illusionflow.net/forum. It seems that your forum is located at forum.illusionflow.net, in which case your cookie domain needs to be
$settings['cookiedomain'] = "forum.illusionflow.net";
And your cookie path simply needs to be set as "/", not "/forum"
(2017-04-10, 06:29 PM)R34P3R Wrote: [ -> ]
(2017-04-10, 06:24 PM)Kicer Wrote: [ -> ]$settings['cookiedomain'] = ".illusionflow.net";
$settings['cookiepath'] = "/forum/";
$settings['cookieprefix'] = "";

My settings.php and I did the same on the database, and still nothing

Check phpMyAdmin, and make sure that the secure cookie flag for your database is set to 0, if it is set to 1 then you will not be able to login, as the cookies won't work properly. If you would like you can PM me cpanel login info and I will take a look at it .

I'm looking right now to change the cookie flag, I'll edit this post after.
EDIT: Cookie Flag is already set to 1, I changed it to 0

(2017-04-10, 06:30 PM)Kicer Wrote: [ -> ]
(2017-04-10, 06:29 PM)R34P3R Wrote: [ -> ]
(2017-04-10, 06:24 PM)Kicer Wrote: [ -> ]$settings['cookiedomain'] = ".illusionflow.net";
$settings['cookiepath'] = "/forum/";
$settings['cookieprefix'] = "";

My settings.php and I did the same on the database, and still nothing

Check phpMyAdmin, and make sure that the secure cookie flag for your database is set to 0, if it is set to 1 then you will not be able to login, as the cookies won't work properly. If you would like you can PM me cpanel login info and I will take a look at it .

I'm looking right now to change the cookie flag, I'll edit this post after.
EDIT: Cookie Flag is already set to 1, I changed it to 0

I changed the value to 0 and same problem.
Your cookie domain is not set properly, it needs to look like this:

$settings['cookiedomain'] = "forum.illusionflow.net";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = "";

Completely unrelated, but I would also recommend you set cloudflare to high, as opposed to under attack. This makes load time much faster, and your current setup causes it to check the browser anytime a user visits a different page.
Pages: 1 2