Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320737

Summary: PHP's mhash is obsolete and removed on SLES 11, breaks site login
Product: Community Reporter: Denis Roy <denis.roy>
Component: WebsiteAssignee: phoenix.ui <phoenix.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Patch
none
Patch v2 none

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.