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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T7281, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5281 - login problem and my solution
login problem and my solution
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.5.x
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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 http://www.larry.analarry.com.  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.


Navigation
Links