On 11/12/11 21:30, Jeffrey T. Darlington wrote:
> Again, having the cookie secure isn't necessarily a problem; in fact, I
> rather like it that way, truth be told.  (I'm all about encrypting
> session data.)

Well done :)
Not sure if it's an error of firefox (I can't find it), but I'm getting
the login page marked as loading content insecurely on the first load
(disappears if I reload).


>> Still, filling a random user & password, I get the same error you reported.
>> Your setup _should_ work, these errors are usually related to php not
>> being able to write in the session_path...
> 
> Now that you mention it, I've had trouble with this in the past.  I'm
> not sure if it's the occasional PHP upgrade, but sometimes I lose write
> permissions on the directory session.save_path is set to in php.ini.
> This often doesn't present a problem as none of my code and apparently
> none of the other third-party apps I have installed seem to use
> sessions.  It's often MediaWiki where this first crops up.
> 
> I just went and checked on it, and the path seems to have 770
> permissions, owned by root:apache.  Unfortunately, I have Apache running
> under a non-standard group, meaning Apache shouldn't be able to write
> there.  I just changed the group ownership to the group Apache is
> running under and, as you might guess, it suddenly works.  I guess I'm
> just going to have to be more diligent when Fedora pushes out PHP
> updates and watch the permissions on that directory.

I'm glad it sorted out.  The timing matching the upgrade of MediaWiki
from 1.17 to 1.18, and no mention of a php upgrade obscured it.


> I'm still getting the "You must have cookies enabled to log in" message
> over the login prompt, however.  This isn't necessarily a problem since
> I'm the only one with login access (at the moment), but it seems odd
> that it should still be showing.  That is, unless it's a generic
> notification and it's always meant to be shown.  I don't remember seeing
> it before, but maybe I just hadn't noticed it.

Yes, that phrase shown in normal text is expected to be always shown.
You can change (remove) it by editing
https://www.gpf-comics.com/wiki/MediaWiki:Loginprompt

Best regards


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to