• hi.. using WP 2.9

    i have taken XML on daily basis..but now when i decieded to move to new host i came to know that the XML showing error… and all my posts are not being recovered… this is very bad for me …my all hard work of months can go away in just minutes..
    i’m getting this error…
    ” <b>Fatal error</b>: Allowed memory size of 67108864 bytes exhausted (tried to allocate 24 bytes) in <b>/home2/surfpkco/public_html/wp-includes/formatting.php</b> on line <b>2093</b>

    pls help me fix this…it’s an XML error… may be memory was not sufficient… plss suggest me otherwise my all hardwork will go in vain… i’m not getting my all posts back.. due to this…
    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • 1. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:
    memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
    
    2. If you don't have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 128M
    
    3. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define('WP_MEMORY_LIMIT', '128M');
    
    4. Talk to your host.

    This what my host did and it worked:

    We put php.ini file in the following folders:
    /public_html/
    /public_html/wp-admin/
    /public_html/wp-includes/

    Inside this file, we put the memory limit parameter and changed it to 128M.
    This should solve memory limit error for all area of your wordpress site.

    The php.ini file contained:

    ;; set memory limit
    memory_limit = 128M

    you have a good host

    Thread Starter surfpk

    (@surfpk)

    i have bluehost… and now moving to hostgator…
    while moving my blog i noticed this error…
    but it’s too late i think…because from the WP dashboard i collected the XML daily..
    can anyone pls come on skype to help me further…my skype ID= dj2oon …
    i want my all posts back…i know it’s possible by removing the errors from the XML files..but don’t know how to do this…
    and for the future i’ll set a memory_limit = 128M

    but for now…pls help me getting back my all hard work….
    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress XML memory size error’ is closed to new replies.