Fatal error at the second step


I just upload the quickstart on the server.
i put server name and stuff, and click next button, and below error sign come out.
this is the first time i got this sign.
i install just plain magento without template and didn’t come out that error sign.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2097152 bytes) in /home/anenkim7/public_html/l00l.com/lab/handbag1/lib/Varien/Db/Adapter/Pdo/Mysql.php on line 418

help me somebody.

Thank you

14 answers

Profile photo of thangnn1510 0.00 $tone December 6, 2010

Hi John Park!

Welcome back to joomlart. Thanks for using our products and services. Hope you enjoy when spend your time here!

By default on the server the maximum amount of memory allocated to each file is 32MB. This helps the server to stop the script from running for extended period or crashing the server. This limit can be increased if one is aware of the file requirement.

The natris theme requires more memory allocation (tried to allocated 2097152 bytes.) To allocated more memory please create a php.ini file with this code:

memory_limit = 35M

and upload it to the folder where you have installed your script. (You can edit 35M to more but plz don’t make it greater than 50M)

Hope this helps you.


johnpark 0.00 $tone December 7, 2010

thank you for your reply.

can you tell me where i upload php.ini file?

and can you check the file that i attached?
i don’t know this is the right one or not. (php.ini file)
** i try to attached php.ini file but doesn’t allowe me to do it so i change file extension from php.ini to php.txt so i can attach the fil.

Profile photo of Phill Luckhurst 0.00 $tone December 7, 2010

You have to upload it where you installed your script. However, not all servers allow this so to some extent it does depend on your server setup.

If it does not work for you then you could ask your host to up the limit. They may only agree to do it short term while the script is installed. In some cases this is enough but I do not know Magento enough to say if this will be the case for you.

Give the script suggested above a go first and if that fails speak to your host. If your host are unwilling then raise a ticket including ftp details and one of the devs will take a look.

johnpark 0.00 $tone December 7, 2010

thank you for your reply.

i meant which folder?
do i upload the file to root folder? or app folder? which folder?

Thank you… for your kindly reply.

johnpark 0.00 $tone December 8, 2010

here is my server screen shot.

which folder??

there is lot of folders.
do you mean root?

i am sorry about my knowledge, i don’t know much, so you have to let me know which one.


Profile photo of thangnn1510 0.00 $tone December 8, 2010

Hi Johnpark!

Please up php.ini to root footer (Natris folder). If it doesn’t work please tell the hosting provider to increase the limit like phill luckhurst said.


johnpark 0.00 $tone December 8, 2010

do you mean upload php.ini file to root folder?
because i just did and error sign come out differantly as below.

Fatal error: Allowed memory size of 36700160 bytes exhausted (tried to allocate 49886 bytes) in /home/anenkim7/public_html/l00l.com/lab/cart/magento/joomlart/natris/lib/Varien/Db/Adapter/Pdo/Mysql.php on line 456

you said root footer (natris folder): what is this mean? what is root footer? i know root folder, i don’t know what root footer is.
and natris folder? what is this mean? do you mean ./app/design/frontend/default/jm_natris or ./skin/frontend/default/jm_natris

please teach me as when you teach little kid with no knowlede.
pleaes. if i don’t get this fix by 6 day after i purchase this template, i might have to return and cancel it. after 7 days no matter what i can not get refund which means i spend $200 that template that doesn’t do any good.
which means i just waste $200 some dollars for nothing.
here is other reason. if i go to freelancer.com and spend the job for 200 dollar, i get better service. with less time.

i hope administrator of joomlart understand me.
it is about $200 well spend or just waste

i am not rich. $200 is big to me.

so please. please, help me

by the way, i use quickstart

Profile photo of thangnn1510 0.00 $tone December 8, 2010

Hi John park!

YES, in your screen shot it is "magento/joomlart/natris" so you have uploaded correctly. But the Allowed memory size isn’t enough. Please edit php.ini then change memory_limit = 35M to a greater one (Exp: 37M or 38M but not greater than 50M).

Hope this helps you.

Profile photo of Phill Luckhurst 0.00 $tone December 8, 2010

This is a matter of server setup not really a problem with the template. Please upload it to the folder thangnn1510 suggested above and if that still does not do the trick ask your host to up the memory limit.

What is happening is the script is trying to use more memory than your server setup is allowing. That is what is stopping the script from running. If the php.ini suggested above does not do the trick the you will have to speak to your host as they may have put other restrictions in place.

Have you spoken to them yet?

johnpark 0.00 $tone December 8, 2010

i upload php.ini with limit of 38mb at root folder.
it work.
i knew it was simple problem

thank you all for your help


Please login or Register to Submit Answer

Written By