WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error encountered on my main WordPress admin login (3 posts)

  1. yeng29
    Member
    Posted 4 years ago #

    Hi,

    recently when i tried to access the URL for the admin login for my blog i got the following error instead :

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 77824 bytes) in /home/yeng29/public_html/zendevi.com/wp-includes/locale.php on line 161

    Could anyone tell me what does this error mean & what must i do to restore back my admin login ? I'm using WordPress version 2.9.1.

    John

  2. alism
    Member
    Posted 4 years ago #

    1. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 64M try 128M:
    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.

    5. Deactivate/remove some plugins if you still have problems (rename the plugins folder via FTP if you can't access the dashboard).

  3. yeng29
    Member
    Posted 4 years ago #

    Tried to do as you said but this time got the following new fatal error instead :

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 19456 bytes) in /home/yeng29/public_html/zendevi.com/wp-content/themes/enlight/functions.php on line 1056

    Already sent a support ticket to my host about it, but could you tell me exacly where to insert the 2 lines of code you mentioned above in (2) & (3) ? i.e. which parts of the .htaccess file & wp-config.php file must i insert those lines of code ?

    Thanks alot.

Topic Closed

This topic has been closed to new replies.

About this Topic