MyBB Community Forums

Full Version: cookies path
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello

when i insalled mybb script,i changed my path of cookies to mysite.com/Upload

but my site url is mysite.com

so i cant login inside due to changing that cookies path

so how can i change that cookies path into mysite.com

help please

thank you
I think you need to change the setting in settings.php. Make sure to make a back up in case the file gets screwed up. Download your settings.php (forum root>inc>settings.php) file with your ftp program and open it in a text editor and look for $settings['cookiepath'] and $settings['cookiepath']. If that lets you log in then go to your admin control panel and update it in the database under configuration > general configuration.
i done that while installing script in "board configuration"

it everytime logs me out from acp.

how can i change path from database or ftp
(2009-03-18, 08:17 PM)mittal Wrote: [ -> ]i done that while installing script in "board configuration"

it everytime logs me out from acp.

how can i change path from database or ftp

Did you download your settings.php file make look at the cookie path and upload the file to your server again?
ok thannk u bro

i seen that and i done that as u said

i changed $settings['cookiepath'] = "/Upload/"; in settings.php into

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


and then i logged in my admin panel and changed cookie path.

it is working now

thank u
(2009-03-18, 08:33 PM)mittal Wrote: [ -> ]ok thannk u bro

i seen that and i done that as u said

i changed $settings['cookiepath'] = "/Upload/"; in settings.php into

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


and then i logged in my admin panel and changed cookie path.

it is working now

thank u

No problem.
For future references view STICKY threads: http://community.mybboard.net/thread-42123.html
This is going to drive me bonkers. Everything you need to know is right in front of you, at the top of the forum. I'm amazed at how many people make a thread and wait hours to be told what they could have found themselves if they had just looked at the sticky thread.
oh i m sorry matt bro.

next time i will search properly

thank you