Last modified: 2013-10-23 18:17:09 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 T41731, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39731 - CryptRand.php - error flooding log files.
CryptRand.php - error flooding log files.
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.18.x
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-28 13:12 UTC by Andrzej
Modified: 2013-10-23 18:17 UTC (History)
0 users

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


Attachments

Description Andrzej 2012-08-28 13:12:09 UTC
This error flooding my log files:

[Mon Aug 27 08:10:21 2012] [error] [client 10.39.17.82] PHP Notice:  A non well formed numeric value encountered in /var/www/mediawiki-xcb/includes/CryptRand.php on line 379
[Mon Aug 27 08:10:21 2012] [error] [client 10.39.17.82] PHP Notice:  A non well formed numeric value encountered in /var/www/mediawiki-xcb/includes/CryptRand.php on line 380
[Mon Aug 27 08:10:21 2012] [error] [client 10.39.17.82] PHP Notice:  A non well formed numeric value encountered in /var/www/mediawiki-xcb/includes/CryptRand.php on line 379


and what is more important - I suppose that it could create my problem with Plexcel plugin and SSO authentication. 
Could you help me get rid of it? :)

With best greetings,
Andrzej
Comment 1 Andrzej 2012-09-03 13:06:40 UTC
As a short I edited CryptRand.php and replaced line 285:

$bytes .= $iv;

with:

$buffer .= $iv; 

The errormessage seems be fixed now.
Comment 2 Andrzej 2012-09-03 13:07:58 UTC
this bug is appearing on mediawiki 1.18.2 - could you update the svn?

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


Navigation
Links