Topic on Project:Support desk

[RESOLVED] Cannot Login or Register. Enable Cookies

6
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.

66.83.172.114 (talkcontribs)

This also fixed my problem - thank you for sharing.


Ade.

71.57.105.241 (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"