Topic on Project:Support desk

Jump to navigation Jump to search

[RESOLVED] Cannot Login or Register. Enable Cookies

Mases (talkcontribs)

I've been getting this error today when I tried working on my Wiki. I just installed MediaWiki about a week ago and have been edited every single day with no issues at all... until today.

"Darksiders Wiki uses cookies to log in users. You have cookies disabled. Please enable them and try again."

How do I assure that cookies are enabled? I did some basic research online, and I was told to edit the session.save_path... I don't have that. I have no idea where to find my php directory that has these files. I've looked everywhere and it's quite frustrating.

Mases (talkcontribs)

I have fixed this error. It turns out that my PHP's session folder wasn't writable. The issue was that I couldn't see this folder via FTP and I needed to login via root SSH access to fix it. All is good now. (talkcontribs)

This also fixed my problem - thank you for sharing.

Ade. (talkcontribs)

I can't find the PHP session file anywhere. I even connected we SSH as per your recommendation... where is it?

MarkAHershberger (talkcontribs)

It depends on your server. You can find it with the following command:

$ php -r 'echo ini_get("session.save_path"),"\n";'
Reply to "[RESOLVED] Cannot Login or Register. Enable Cookies"