[Mediawiki-l] Resolved: Upgraded to 1.5.2 and am getting "Youhavecookiesdisabled"

Kevin Millecam kmillecam at webwiseone.com
Wed Nov 16 22:50:18 UTC 2005


I did two things to resolve this issue:
1) had my ISP change the local session.auto_start to 'off' ... this didn't 
help initially so I
2) deleted all the files and reinstalled using the existing database.
All is well now.


"Kevin Millecam" <kmillecam at webwiseone.com> wrote 
in message news:dlfotr$brd$1 at sea.gmane.org...
> Thanks Brion,
>
> I was able to get the ISP, (OLM) to add an HTACCESS file that changed the 
> local setting of session.auto_start to OFF but that didn't seem to help.
>
> So I went to bugzilla to check out the patch you recommended (thank you 
> very much). I'm afraid, however, I can't figure out how to apply the patch 
> ... Any help would be appreciated (I've pasted the patch below):
>
> Index: trunk/includes/Setup.php
> ===================================================================
> --- trunk/includes/Setup.php (wersja 6)
> +++ trunk/includes/Setup.php (kopia robocza)
> @@ -117,10 +117,15 @@
> wfProfileOut( $fname.'-memcached' );
> wfProfileIn( $fname.'-SetupSession' );
>
> -if ( $wgDBprefix ) {
> +# If session.auto_start is there, we can't touch session name
> +#
> +
> +if (!ini_get('session.auto_start')) {
> +    if ( $wgDBprefix ) {
>  session_name( $wgDBname . '_' . $wgDBprefix . '_session' );
> -} else {
> +    } else {
>  session_name( $wgDBname . '_session' );
> +    }
> }
>
> if( !$wgCommandLineMode && ( isset( $_COOKIE[session_name()] ) || isset( 
> $_COOKIE[$wgDBname.'Token'] ) ) ) {
>
> TIA,
> Kevin
>
> "Brion Vibber" <brion at pobox.com> wrote in 
> message news:437ADACD.4020100 at pobox.com...
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l at Wikimedia.org
>> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>> 






More information about the MediaWiki-l mailing list