Last modified: 2010-05-15 15:59:53 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 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