Member
Member
rtwingfield   25-06-2015, 17:27
#1

I have "bit the bullet" and hauled down and installed the tarball for zenphoto-zenphoto-1.4.8.tar.gz. Got a little way into setup, and crashed.

When attempting to restart, a login prompt panel is presented, and after provide user name and passwd, the following crash complaint:

[b]Fatal error: Call to undefined function hash() in /usr/local/www/zenphoto/zp-core/lib-auth.php on line 1250[/b]

This source-code line reference is to the following block of code:

Quote:`
1249 static function pbkdf2($p, $s, $c = 1000, $kl = 32, $a = 'sha256') {
[b]1250[/b] $hl = strlen(hash($a, null, true)); # Hash length
1251 $kb = ceil($kl / $hl); # Key blocks to compute
1252 $dk = ''; # Derived key
1253 # Create key
1254 for ($block = 1; $block

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.