Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320737 - PHP's mhash is obsolete and removed on SLES 11, breaks site login
Summary: PHP's mhash is obsolete and removed on SLES 11, breaks site login
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Website (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: phoenix.ui CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-23 11:26 EDT by Denis Roy CLA
Modified: 2010-12-13 15:56 EST (History)
1 user (show)

See Also:


Attachments
Patch (1.07 KB, patch)
2010-07-23 11:26 EDT, Denis Roy CLA
no flags Details | Diff
Patch v2 (1.06 KB, patch)
2010-07-23 13:33 EDT, Denis Roy CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Roy CLA 2010-07-23 11:26:04 EDT
Created attachment 175078 [details]
Patch

As I prepare to move dev.eclipse.org to new servers running SLES 11, the mhash function is no longer available.

http://www.php.net/manual/en/intro.mhash.php

Attached is a patch to friend.class.php to detect whether or not to use has or mhash.
Comment 1 Denis Roy CLA 2010-07-23 13:33:04 EDT
Created attachment 175087 [details]
Patch v2

Matt has kindly pointed out that the descriptor for the algorithm has changed as well.
Comment 2 Eclipse Webmaster CLA 2010-07-23 13:35:13 EDT
Awesome +1.

-M.
Comment 3 Denis Roy CLA 2010-12-13 15:56:00 EST
I'm pretty sure we fixed this.