If you're using Mozilla/Firefox, download the Live
HTTP Headers
extension and check the headers used to set the cookie.
I tried this, but I don't see a message indicating a problem.
If PHP is not reporting the hostname correctly
(var_dump($_SERVER)
will
tell you this),
This tells me the server is reporting
wiki.lib.uconn.edu, which is
correct.
you may need to set $wgServer, $wgServerName, and
related variables manually (check DefaultSettings.php).
Here's my Localsettings for that entry:
$wgServer = "http://wiki.lib.uconn.edu";
And the rest if it matters:
$wgSitename = "UCONN Libraries Staff Wiki";
$wgServer = "http://wiki.lib.uconn.edu";
$wgScriptPath = "";
$wgScript = "$wgScriptPath/index.php";
$wgRedirectScript = "/wiki/redirect.php";
The site is here:
http://wiki.lib.uconn.edu/wiki/Main_Page
I am using a vhost for this site. The machine is actually
mammoth.lib.uconn.edu, but I've mapped
wiki.lib.uconn.edu to
mammoth.lib.uconn.edu/wiki.
I've reverted it back to where you'll get an error message if you try to
login. Your help is appreciated on this.
-Tony
-----Original Message-----
> Ever since upgrading to 1.5RCx (and now also in
the final release),
> anytime a user logs into our Wiki they get the following error:
>
> "This Wiki uses cookies to log in users. You have cookies disabled.
> Please enable them and try again."
>
> Even though the error displays, the user is actually logged in and
can
> make edits as normal. If the user doesn't
look closely they can't
tell
> they are logged in and it's causing
confusion.
>
> I think this is the same issue as reported here:
>
>
http://en.wikiquote.org/wiki/Wikiquote:Bug_reports#Login_cookie_problems
> >
> >[snip]
> >
> > It would seem that possibly this is related to some sort of hostname
> > rewrite or something similar? Can someone help me troubleshoot this?
>
If you're using Mozilla/Firefox, download the Live
HTTP Headers
extension and check the headers used to set the cookie.
>
If PHP is not reporting the hostname correctly
(var_dump($_SERVER)
will
tell you this), you may need to set $wgServer,
$wgServerName, and
related variables manually (check DefaultSettings.php).
Can you send us an URL so we can test it ourselves?
-- Jamie
-------------------------------------------------------------------
http://endeavour.zapto.org/astro73/
Thank you to JosephM for inviting me to Gmail!
Have lots of invites. Gmail now has 2GB.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l