|
I have Suse 10.2, Plesk 8.3.
I can’t install Magento 1.0 because appear only a blank screen and I have the following error:
PHP Fatal error: Call to undefined function hash() in /srv/www/vhosts/example.com/httpdocs/eshop/app/code/core/Zend/Cache/Backend/File.php on line 622
1. I tried to find where is declared hash function but without success.
2. I tried to change the algorithm from adler32 to md5, according to:
* =====> (string) read_control_type : * - Type of read control (only if read control is enabled). Available values are : * 'md5' for a md5 hash control (best but slowest) * 'crc32' for a crc32 hash control (lightly less safe but faster, better choice) * 'adler32' for an adler32 hash control (excellent choice too, faster than crc32) * 'strlen' for a length only test (fastest)
because I don’t have pecl-hash extension on my server, modifying line 622 from File.php as following:
$hash = hash('md5', $id);
but again without success.
So I commented line 622 and I added a new line:
// $hash = hash('adler32', $id); $hash = md5($id);
and the install is working.
|