Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

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:  9
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
 
opalu
Jr. Member
 
Avatar
Total Posts:  8
Joined:  2007-12-14
seabush, germany
 

with Suse 10.2 and Plesk 8.3 i had the same hash problem like quark
with the installation of version 1.1.6.
after adding the new line with

$hash md5($id);
as suggested, i can see the locale settings,
but
now the next screen (configuration) says:
PHP Extension “hash” must be loaded
without any error in the apache log.

any suggestions?
(some javaScript maybe?)

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
52269 users|764 users currently online|105562 forum posts