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

Fatal error with Tar.php
 
JJ Pagac
Member
 
Avatar
Total Posts:  52
Joined:  2007-12-06
Madison, WI USA
 

Hi, I’m trying to install version 0.7.14800 and get this error:

Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 130 bytes) in /home/decksand/public_html/lib/pear/php/Archive/Tar.php on line 1518

UPDATE:

Ok.. I reloaded the page, and now constantly get this error:

Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 8192 bytes) in /home/decksand/public_html/lib/pear/php/PEAR/Installer.php on line 526

 
Magento Community Magento Community
Magento Community
Magento Community
 
JJ Pagac
Member
 
Avatar
Total Posts:  52
Joined:  2007-12-06
Madison, WI USA
 

Hi, Still getting the error.  I thought I would post the entire “console window\” with the error.  This happens on the download page when I click on “Proceede with Automatic Download Beta”

Setting preferred state tobeta

config
-set succeeded
Downloading 
and installing Magentoplease wait...

Ignoring installed package pear/PEAR
Ignoring installed package mage
-core/Mage_Pear_Helpers
downloading Lib_ZF
-0.7.0.tgz ...
Starting to download Lib_ZF-0.7.0.tgz (2,080,168 bytes)
.............................................................................................................................................................................................................................................
done2,080,168 bytes
downloading Lib_Varien
-0.7.0.tgz ...
Starting to download Lib_Varien-0.7.0.tgz (81,143 bytes)
...
done81,143 bytes
downloading Mage_All
-0.7.0.tgz ...
Starting to download Mage_All-0.7.0.tgz (1,890,552 bytes)
...
done1,890,552 bytes
downloading Interface_Frontend_Default
-0.7.0.tgz ...
Starting to download Interface_Frontend_Default-0.7.0.tgz (999,651 bytes)
...
done999,651 bytes
downloading Interface_Adminhtml_Default
-0.7.0.tgz ...
Starting to download Interface_Adminhtml_Default-0.7.0.tgz (262,274 bytes)
...
done262,274 bytes
downloading Interface_Install_Default
-0.7.0.tgz ...
Starting to download Interface_Install_Default-0.7.0.tgz (111,844 bytes)
...
done111,844 bytes


Fatal error
:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 8192 bytesin /home/decksand/public_html/lib/pear/php/PEAR/Installer.php on line 526
 
Magento Community Magento Community
Magento Community
Magento Community
 
KooLSaM
Jr. Member
 
Total Posts:  4
Joined:  2007-10-25
 

I have exactly the same problem as this guy...exactly, the same output and the same scenario during installation.  Please help us? what are we doing wrong.

 
Magento Community Magento Community
Magento Community
Magento Community
 
KooLSaM
Jr. Member
 
Total Posts:  4
Joined:  2007-10-25
 

Hey JJ Pagac, I’ve been on this for hours and I think that the problem is somthing to do with php.ini file, you need to copy it to the magento folder, thats what I did and I no longer got that error, however I get different errors in the configuration step...I’ll let you know what happens.

You can find the php.ini file yourself and copy it, or if you don’t know what I am talking about, call your hosting tech support and have them do it for you (be sepcific though, last time i called my host, they copyed the php.ini file to every damn folder on my host and thats not what i needed and it screwed some things up)

 
Magento Community Magento Community
Magento Community
Magento Community
 
KooLSaM
Jr. Member
 
Total Posts:  4
Joined:  2007-10-25
 

I think you can find the php.ini file in your domains root folder… example would be
should find it here “www.domain.com/php.ini “
then copy it to “ http://www.domain.com/magento/ “ folder or wherever you installed magento

thats as far as I have gotten and I’m kinda new to all this stuff

hope this helps
- Samson

 
Magento Community Magento Community
Magento Community
Magento Community
 
KooLSaM
Jr. Member
 
Total Posts:  4
Joined:  2007-10-25
 

OK, I had a problem with the configuartion page stating that I had a pdo_mysql error and that i needed to fix it before i went any further. I did a whole lot or read on posts and what the problem was was that my host had just recently upgraded from php 5.1.6 to 5.2.5 and they never updated my php.ini file so i had to recompile that file and copy it to magento folder and everything works fine now. Hope this helps

- Samson

 
Magento Community Magento Community
Magento Community
Magento Community
 
JJ Pagac
Member
 
Avatar
Total Posts:  52
Joined:  2007-12-06
Madison, WI USA
 

Nope that didn’t do it either.  Still get the memory error....  I see that a few others are having the same issue in other posts, but I can’t seem to find a solution.

 
Magento Community Magento Community
Magento Community
Magento Community
 
jsperri
Sr. Member
 
Total Posts:  126
Joined:  2007-08-31
Fistufle
 

JJPagac: have you tried to increase the value for memory_limit in you php.ini ?
32M should be ok for a test

 
Magento Community Magento Community
Magento Community
Magento Community
 
JJ Pagac
Member
 
Avatar
Total Posts:  52
Joined:  2007-12-06
Madison, WI USA
 

Ok.. solved the issue… however, I think that future versions of Magento should look into memory resources of the installer.  Basically I temporarily change the memory limit in my php.in file from 32M to 132M.  Up and running finally smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
Azkul
Jr. Member
 
Avatar
Total Posts:  17
Joined:  2008-01-10
 

More information on this problem can be found here:

http://www.magentocommerce.com/boards/viewthread/2622/

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top