Page 1 of 1

Errors after install (PD 3.0.5)

Posted: 17 Jul 2014, 17:58
by ghostred7
PHP 5.3.21
--enable-hash=shared
--enable-mhash=shared
Have used pkgutil to install CSWPHP5-HASH

# pkgutil -i CSWphp5-hash
Solving needed dependencies ...
Solving dependency order ...
13 CURRENT packages:
(snipped)

CSWphp5-5.3.21,REV=2013.02.11
CSWphp5-hash-5.3.21,REV=2013.02.11

When trying to upload using multiple add, I get the following:
Fatal error: Call to undefined function hash() in /web/root/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 115

Seems like PHP doesn't know what hash() is. Anything specific I need to put in php.ini for this?

I've tried this as both 0 & 1 with apache restarts in between (currently commented out):
;session.hash_function = 1

i'm hoping i just noobed something up, but haven't seen this issue before.

Re: Errors after install (PD 3.0.5)

Posted: 19 Jul 2014, 00:54
by Jan
Hi, this should be standard php function :idea: (since php 5.1.2)

http://php.net/manual/en/function.hash.php

Jan