MyBB Community Forums

Full Version: I messed something up :(
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was messing with permissions and I tried resetting them but something isn't right.
When I login, it says I've logged in successfuly and it's bringing me back to the page.
However, at the top, it says Login - Register again and I can't see the forums that registered users are supposed to see

I tried to create a register for a new username but even that one does the same thing
Hi there, Guest! (Login - Register)

I have created a backup but I don't know how to restore from it
That's the same cookie problem you had before, did you change the settings again?? Did you edit them in the database at any time??
Well before, it would keep prompting me in ACP, i can navigate around ACP without any problems. now it's happening to the site. i didn't change any setting in the settings.php. i didn't go in the DB either

Ah, I changed the settings.php back to no cookie domain. Any clue why it went back to my server name? I didn't change anything

EDIT: what will happen if i give "everyone" only "read" permissions? can that prevent the forum from changing it however it did the first time without having any problems?
(2009-11-14, 11:33 PM)altjx Wrote: [ -> ]Ah, I changed the settings.php back to no cookie domain. Any clue why it went back to my server name? I didn't change anything

That's because settings.php would have been generated again with values from the database, and is why you always need to make these changes again in the ACP after you edit the file so it can update the database properly, which is what the sticky says.

If having a blank cookie domain worked before, make that change in settings.php again, the go to ACP > Configuration > General Configuration and set it to blank there too, and then save.

If by 'everyone' you mean all files, if you leave all files at 644, and all folders at 755, and the set some files/folders as detailed here [Wiki: CHMOD_Files] (Broken link, head over to docs.mybb.com instead) everything will be as it's supposed to be.
(2009-11-14, 11:37 PM)MattRogowski Wrote: [ -> ]
(2009-11-14, 11:33 PM)altjx Wrote: [ -> ]Ah, I changed the settings.php back to no cookie domain. Any clue why it went back to my server name? I didn't change anything

That's because settings.php would have been generated again with values from the database, and is why you always need to make these changes again in the ACP after you edit the file so it can update the database properly, which is what the sticky says.

If having a blank cookie domain worked before, make that change in settings.php again, the go to ACP > Configuration > General Configuration and set it to blank there too, and then save.

Thanks man, i'm sorry to keep bothering ;( i'm just setting it up for monday and making sure everything is correc.
No problem... also I edited my post in response to your edit Smile
Thanks, that whole CHMOD stuff is kind of confusing to me cause when I DL filezilla, i can't connect to my localhost because nothing's listening on port 21, and I don't have a FTP server. So instead, I just gave the root of my web server full access.