Bug #2213
closed
Call to undefined function hash() in /etc/inc/auth.inc on line 507
Added by Delete Account almost 13 years ago.
Updated over 12 years ago.
Category:
User Manager / Privileges
Affected Version:
2.1-IPv6
Affected Architecture:
i386
Description
Attempting to add a new user for captive portal testing purposes. Created a test user and clicked save... received the following error. This system is not going anywhere... let me know what else you may need to further troubleshoot this issue. I did do a bug search prior to registering for redmine and posting this new issue.
Fatal error: Call to undefined function hash() in /etc/inc/auth.inc on line 507
A little background on my current edge device: I am running the 2.1-DEVELOPMENT (i386) and I am perhaps 2 days out of sync with master... I will not sync until instructed otherwise.
Crash report begins. Anonymous machine information:
i386
8.1-RELEASE-p6
FreeBSD 8.1-RELEASE-p6 #0: Mon Dec 12 17:46:02 EST 2011 root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_Dev.8
Crash report details:
PHP Errors:
[19-Feb-2012 16:00:41] PHP Fatal error: Call to undefined function hash() in /etc/inc/auth.inc on line 507
[19-Feb-2012 16:01:25] PHP Fatal error: Call to undefined function hash() in /etc/inc/auth.inc on line 507
Filename: /var/crash/minfree
2048
- Status changed from New to Closed
This is because you must be using PHP 5.3 on the current code, not PHP 5.2.x. It was switched a while back. See #2115
OK. I'll upgrade to 5.3... I did look at 2115 prior to this submittal. Must have missed the requirement. No worries. Thank you.
This is still a problem. I'm running 2.1-DEVELOPMENT (i386) and php 5.3 and I still have an error. This is due to php 5.3 compiled with --disable-all without --enable-hash
See the comment above, this is the wrong ticket to comment on -- this is a dupe of the other ticket. Comments should go there.
#2115 is talking about mhash doesn't it ?
The error I'm experiencing is hash() not being defined. Maybe that's because I'm running 2.1-DEVELOPMENT on Freebsd 8.3 ?
If you read the other ticket, you'd see mhash is depreciated, and to be replaced by hash. This error is because of work to fix that ticket, it belongs on the other ticket, as it is the same core issue.
Either way it's been fixed overnight, new images work fine.
- Target version changed from 8 to 2.1
Also available in: Atom
PDF