Call-back icon  Sales: Call 800.374.8146 (N America)|757.278.0920 (International)

Magento

Open Source eCommerce Evolved

Magento Forum

   
Blank screen on install, hash function, adler32, md5
 
quark
Member
 
Total Posts:  31
Joined:  2007-12-15
Romania
 

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 errorCall 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 fasterbetter choice)
     *   
'adler32' for an adler32 hash control (excellent choice toofaster 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.

 
Magento Community Magento Community
Magento Community
Magento Community
 
prinzessin
Jr. Member
 
Total Posts:  2
Joined:  2008-03-17
Germany
 

Thank you, this works fine grin

 
Magento Community Magento Community
Magento Community
Magento Community
 
Linus5000
Jr. Member
 
Total Posts:  4
Joined:  2008-06-26
Munich
 

You are a star!

My problem was:

on the localization page there was nothing to choose. After checking the apache2 logs I learn that I got the same error as discriped in this tread.

Cheers

Georg

 
Magento Community Magento Community
Magento Community
Magento Community
 
artbussy
Jr. Member
 
Total Posts:  1
Joined:  2008-08-27
 

Had the same problem with freezing during the localization step with version 1.1.4. and this helped me out (allthough I’m stuck now in the next step: I seem not to be able to chmod the file in the directory var/sessions as required by the wizard (can chmod directories with Filezilla, not files .?!?!?) ... a server provider issue, I guess).

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 800.374.8146 (North America) 757.278.0920 (International)
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
33648 users|420 users currently online|74614 forum posts