Errors after install (PD 3.0.5)

Phoca Download - download manager
ghostred7
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 17 Jul 2014, 17:49

Errors after install (PD 3.0.5)

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Errors after install (PD 3.0.5)

Post by Jan »

Hi, this should be standard php function :idea: (since php 5.1.2)

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

Jan
If you find Phoca extensions useful, please support the project
Post Reply