WordPress.org

Ready to get started?Download WordPress

Forums

Locked out of /wp-admin (8 posts)

  1. randomblink
    Member
    Posted 1 year ago #

    I was working fine the other day, no problems.
    My site STILL works fine on the front-end, but when I try to visit wp-admin I get crashed.

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /home/myaccountname/public_html/wp-admin/includes/image.php on line 257

    I've renamed wp-admin and wp-includes to _OLD, uploaded a new version, nothing.

    I've edited php.ini and wp-config.php to give me 256M of memory, nothing.

    What the heck?!

  2. Hi randomblink,

    Have you contacted your web host about checking that you have enough memory?

  3. Aaron
    Member
    Posted 1 year ago #

    Here is the 4 step process which seems to work best. Looks like you did 1 and 2. Try 3 wait you wait for 4.

    1. Try adding this line to your wp-config.php file:
    define('WP_MEMORY_LIMIT', '64M');

    2. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:
    memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)

    3. If you don't have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M

    4. Talk to your host.

  4. randomblink
    Member
    Posted 1 year ago #

    I went in and change wp-admin and wp-includes to wp-admin_OLD and wp-includes_OLD

    Everything I do to .htaccess causes a SERVER INTERNAL ERROR

    I reverted to the old admin and includes.
    Returned .htaccess to normal.

    Now I am getting this error:
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /home/bokeefe/public_html/wp-content/plugins/wpremote/backupwordpress/hm-backup/hm-backup.php on line 531

    Line 531 to 535 is this:
    public function set_mysqldump_command_path( $path ) {

    $this->mysqldump_command_path = $path;

    }

    I am so frustrated...

  5. From the memory error, seems like it stems from the WP Remote plugin. You can try temporarily "resetting" your plugins directory to see if that'll allow you to gain access to your Dashboard.

  6. Aaron
    Member
    Posted 1 year ago #

    Rename the plugin folder to deactivate all plugins.

    Can find steps here

    http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F

    Let me know if that clears it up.

  7. randomblink
    Member
    Posted 1 year ago #

    Reset and now I have my site back...

    THANK YOU THANK YOU THANK YOU!!!

    However, I went to REINSTALL WordPress, and it won't.
    I'm now getting this error:
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/mysite/public_html/wp-admin/includes/class-wp-upgrader.php on line 1643

  8. randomblink
    Member
    Posted 1 year ago #

    Well, ignore that.
    I Network deactivate all my plugins and the re-install went great.
    Now however, when I try to list out my pages from my admin interface I get this:
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /home/mysite/public_html/wp-admin/includes/class-wp-posts-list-table.php on line 832

Topic Closed

This topic has been closed to new replies.

About this Topic