Last modified: 2010-05-15 15:59:53 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 T13381, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11381 - Supress error in GlobalFunctions.php
Supress error in GlobalFunctions.php
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.11.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-18 11:35 UTC by Snakehit
Modified: 2010-05-15 15:59 UTC (History)
1 user (show)

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


Attachments

Description Snakehit 2007-09-18 11:35:22 UTC
Dear,

I'm busy with creating an extension between SMF(Simple Machines Forum) and MediaWiki working with the current version of 1.11.0. I use the SMF Session to autologin to the wiki, but when doing that, I found the warning that I can't change this in the session while another session is running.

It can be easily fixed with this and will never harm your code.

File: includes/GlobalFunctions.php   (line: 2138)

Search: 
ini_set ( 'session.save_handler', 'files' );

Replace:
@ini_set ( 'session.save_handler', 'files' );


Like you see is it the @ before the ini_set that hides the warning messages.
Could you consider to fix that in the next version? :-)


Thank in advance.
Snakehit
Comment 1 Chad H. 2007-09-24 15:29:50 UTC
Re-titling bug to make it more clear.
Comment 2 Chad H. 2008-09-19 17:39:29 UTC
cf bug 11613
Comment 3 Chad H. 2009-04-10 14:53:50 UTC
Fixed in r49370. 

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


Navigation
Links