1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help needed with wordpress

Discussion in 'Blogging' started by johnnyd77, Sep 7, 2011.

  1. johnnyd77

    johnnyd77 Senior Member

    Joined:
    May 6, 2011
    Messages:
    811
    Likes Received:
    322
    I'm a pretty bad technical guy, even if i'm learning everyday.

    i've got this message Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 40961 bytes)

    I know that i have to increase memory on my wordpress site, but how?

    Can anyone help me on this?

    Thanks a lot

    Johnny
     
  2. gapster

    gapster Registered Member

    Joined:
    Aug 6, 2010
    Messages:
    61
    Likes Received:
    32
    Occupation:
    IM full time
    Location:
    USA NW
    Possible solutions:
    - Get in touch with host and have them bump up your memory limits.
    - try deactivating plugins till you find the memory hog.
    - check your db run-time stats in php-admin for memory hog.
    Note: Plenty of autoblog plugins, auto-posters, and even a lot of comment activity can be resourse hogs too.

    Good Luck...
     
    • Thanks Thanks x 1
  3. johnnyd77

    johnnyd77 Senior Member

    Joined:
    May 6, 2011
    Messages:
    811
    Likes Received:
    322
    Thanks Gapster!

    Is PHP-admin available on my wrdpress admin panel?
     
  4. no4ck

    no4ck Registered Member

    Joined:
    Jun 26, 2009
    Messages:
    73
    Likes Received:
    69

    It should be on your cPanel. MyPHPAdmin... if you're getting blocked from even getting on your WP site... go into the tables and delete everything out of the Plugins field... basically all that will do is deactivate them all.

    Your host - depending on who they are - should be able to tell you what the memory hog is. Sometimes some plugins don't work with certain themes or with other plugins... that could also be the problem. If you're trying to run a ton of plugins, that also might be the problem.
     
    • Thanks Thanks x 1
  5. gapster

    gapster Registered Member

    Joined:
    Aug 6, 2010
    Messages:
    61
    Likes Received:
    32
    Occupation:
    IM full time
    Location:
    USA NW
    Sorry, am pretty tired and was not clear. Suggesting phpMyAdmin in cpanel. If no cpanel access, use tip 2, then approach host to check for resource hogs.

    Hope it works out.
     
  6. johnnyd77

    johnnyd77 Senior Member

    Joined:
    May 6, 2011
    Messages:
    811
    Likes Received:
    322
    i'm not blocked from the site, its only that my caterories do not work since i did an update of wordpress itself..
     
  7. gapster

    gapster Registered Member

    Joined:
    Aug 6, 2010
    Messages:
    61
    Likes Received:
    32
    Occupation:
    IM full time
    Location:
    USA NW
    That could be an indicator. If you have a plugin controling cats that is not proven with new WP version, could break site and cause memory draining loop. May have to roll-back or get a new plugin.

    Might try going to WP site and checking your plugins for compatability, or checking the (....eh hem... hoity toity) forum there.

    My best suggestion I can offer tonight...
     
  8. Rubix101

    Rubix101 Regular Member

    Joined:
    Apr 29, 2010
    Messages:
    215
    Likes Received:
    72
    try adding this to an .htaccess file:
    php_value memory_limit 64M (replacing the 64 with whatever you wish as you may not need it to be that high.)
     
  9. no4ck

    no4ck Registered Member

    Joined:
    Jun 26, 2009
    Messages:
    73
    Likes Received:
    69
    This won't always work if the Hosting Company is controlling it. I know with most hosting companies I've been through, inserting this won't do much. If you call them, they usually (happily) will increase it.

    Best of luck!
     
  10. Rubix101

    Rubix101 Regular Member

    Joined:
    Apr 29, 2010
    Messages:
    215
    Likes Received:
    72
    Because most don't give you access to the php.ini. I have used the above method on three sites now. All hosted with different hosts and had no issues.
     
  11. seraphin

    seraphin Newbie

    Joined:
    Sep 4, 2010
    Messages:
    18
    Likes Received:
    8
    Location:
    UK
    Home Page:
    edit your wp-config.php and add this in :

    Code:
    define('WP_MEMORY_LIMIT', '64M');
    
     
  12. johnnyd77

    johnnyd77 Senior Member

    Joined:
    May 6, 2011
    Messages:
    811
    Likes Received:
    322
    Thanks a lot guys i'm doing it right now.

    Will update with the result