[Mediawiki-l] Missing session_start in SpecialUpload?

Brion Vibber brion at pobox.com
Wed Feb 1 07:19:48 UTC 2006


Stephen Warren wrote:
> It seems that there's a missing call to session_start...
> 
> If I edit includes/SpecialUpload.php, class UploadForm, function
> UploadForm (constructor) and add "session_start();" prior to first
> referencing $_SESSION, then everything works just fine.

session_start() is called in Setup.php if a session cookie is present. Check if
you have a bogus session name or something.

-- brion vibber (brion @ pobox.com)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20060131/35b22abb/attachment.pgp 


More information about the MediaWiki-l mailing list