Fatal error: Allowed memory size of 33554432 bytes exhausted
-
I get the followng error message when visit my site.plz help me to fix it.
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /home/pepdealc/public_html/wp-content/plugins/seo-ultimate/plugin/class.seo-ultimate.php on line 576
Thanks
-
I have the same and now I can’t log in to my dashboard… anyone can help here?
Using FTP you can try increasing the memory for PHP and WordPress several different ways:
1) You can edit the memory_limit line in your php.ini (if you have access to that file) to 64M:
memory_limit = 64M;
2) If you can’t get to the php.ini file, add this line at the top of your .htaccess file:
php_value memory_limit 64M
3) If that doesn’t work or throws an error, add the
deinfe
line below near the top of your wp-config.php file right after the opening<?php
define('WP_MEMORY_LIMIT', '64M');
If none of those work, your host probably doesn’t allow memory allocation overrides. You’re stuck with what they give.
You can run phpinfo to see what kind of memory allocation you already have. Make a plain text file and call it
phpinfo.php
and put just this line in it:<?php phpinfo(); ?>
then put the file in the root of your server, and then go to that file with your web browser. You’l see all the php info you need; scroll down for memory settings. If you get an error, that means your server company won’t allow phpinfo to run for security reasons.
Thanks.It works.
i edit in .htaccess file but still shows the 32 MB
another problem,my home page is ok,but if i go to another page it shows resource not found. http://pepdeal.com/h/
Then your host is too cheap with memory. 32 megs will work OK.
The 404 error is a complete different problem. Reset permalinks.
Hey guys, thanks a lot but I made back up of the whole thing, installed the old version again and upload the content again.
Luckly I managed to restore everything…Maybe I will have to increase the memory size, but for now I will use the old version of WordPress wich works fine!
Thanks a lot!
using old version is not a solution.Old version is vulnerable to hack.
OK, where can I find the php.ini in my wordpress instalation?
insert
memory_limit = 64M;
in your wp-config.php
anywhere? or in some place in particular?
I just did the phpinfo.php and my server tells memory_limit 128M… so I’d better stick to the old version before I loose my blog again!
open wp-config.php.Add the deinfe line below near the top of your wp-config.php file right after the opening <?php
After you open wp-config.php , you will see:
<?php
and add the define line below the <?php and you will need to type
<?php
define('WP_MEMORY_LIMIT', '128M');
If you still cannot solve it,I will suggest you hire a developer [this isn’t the place to advertise] They will do it in a hour.
Hope these help you
Thanks
Thank you so much. The only thing is that I will only know if it works after installing the new version again, where I can loose evrything and have to back up again… 🙂
Many thanks!
Hi I am having trouble uploading images. The only ones I can up load are ones I have cropped down to a very small size before attempting to upload them. Last week I was on a course to learn WP and the tutor said that he couldn’t see why I was having this problem.
On the course we got a sample WP site to practice on-this had a maximum upload limit of 6MB’s and I can upload photo’s onto that site with no problem however I cannot do this on my own sites inspite of having a 64MB limit.
Below is the message I see after the crunching process has taken place:Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 2080843 bytes) in /home/nomor724/public_html/puppywallace.com/wp-includes/media.php on line 254
Please can you tell me how I can rectify this please?
Many thanksThanks everyone for your support!
I thought it important to post my issue and how I resolved it.
The below error I received after I tried to update to version 1.7 of the All-in-One Calendar by Then.ly. Then I could not login to my WordPress Site.Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /data/25/2/3/129/2492292/user/2729429/htdocs/wp-admin/menu.php on line 37
Resolved by: Adding
memory_limit = 64M;
to my wp-config.php file.Then I was able to login to my WordPress Dashboard and activate the plugin.
I guess the plugin requires more memory?
- The topic ‘Fatal error: Allowed memory size of 33554432 bytes exhausted’ is closed to new replies.