Last modified: 2010-05-15 15:38:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5281 - login problem and my solution
login problem and my solution
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-03-18 01:04 UTC by Larry Thaete
Modified: 2010-05-15 15:38 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Larry Thaete 2006-03-18 01:04:07 UTC
So I installed mediawiki the other day on a subdomain of my site the other day  When I logged in it would show me as logged 
in but when I want to another page I would no longer be logged in.  After adjusting the cookie domain and reading instructions on how to install on 
souceforge I finally came across the problem.  The session was created and the cookie was created and stored but the session data was not being written, I 
have come across this problem on projects I have created.  I added session_write_close() to the end of the index.php page to force the writing of the session 
data to the session file.  The problem is that the server was not able to write the session data before the script terminated.  I'm not sure if where I put the 
session_write_close() is the best place but it fixed my login problem and I know this is a common problem on some servers.  Anyways I wasn't sure where to 
share this so I added it here, I hope this helps.
Comment 1 Rob Church 2006-03-18 16:42:44 UTC
Doesn't belong here, but thanks. Consider adding it to the FAQ or something?

Note You need to log in before you can comment on or make changes to this bug.