Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

PEAR/PackageFile/v2/Validator.php on line 449 error
 
Elzo Valugi
Jr. Member
 
Total Posts:  28
Joined:  2010-02-01
 

I get this error on installing with SSH on : ./pear install magento-core/Mage_All_Latest-stable

Fatal errorAllowed memory size of 33554432 bytes exhausted (tried to allocate 64 bytesin /var/www/public_html/my-website/public/downloader/pearlib/php/PEAR/PackageFile/v2/Validator.php on line 449

Anybody debugged this and find a solution or a bug?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Punani
Sr. Member
 
Total Posts:  76
Joined:  2008-02-12
 

i have the same error
still haven’t found any solution

 
Magento Community Magento Community
Magento Community
Magento Community
 
Elzo Valugi
Jr. Member
 
Total Posts:  28
Joined:  2010-02-01
 

yeap. I installed the regular way finally but they should fix it. SSH is important.

 
Magento Community Magento Community
Magento Community
Magento Community
 
dekky74
Jr. Member
 
Total Posts:  1
Joined:  2010-03-14
 

you can change php memory limit to memory_limit = 64M or big in your php.ini file and installing with ssh.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Elzo Valugi
Jr. Member
 
Total Posts:  28
Joined:  2010-02-01
 

my PHP memory limit is 512M ...

this is the function where is stalles

function _processStructure($key)
    
{
        $ret 
= array(); //449 line
        
if (count($pieces explode('|'$key)) > 1{
            $ret[
'choices'= array();
            foreach (
$pieces as $piece{
                $ret[
'choices'][] $this->_processStructure($piece);
            
}
            
return $ret;
        
}
        $multi 
$key{0};
        if (
$multi == '+' || $multi == '*'{
            $ret[
'multiple'$key{0};
            
$key substr($key1);
        
}
        
if (count($attrs explode('->'$key)) > 1{
            $ret[
'tag'array_shift($attrs);
            
$ret['attribs'$attrs;
        
else {
            $ret[
'tag'$key;
        
}
        
return $ret;
    
}
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top