WordPress.org

Ready to get started?Download WordPress

Forums

Can't log in after changing servers (4 posts)

  1. fokjulle
    Member
    Posted 3 years ago #

    Nothing complex. I moved my WordPress site from one server to another.

    - I updated the nameservers
    - I downloaded all the content and uploaded it to the new server
    - I exported and imported the database (with updated wp-config)
    - Propagataion is almost complete and the site is loading fine; comments work and images load without problems (thus far)

    EXCEPT...

    When I go to URL/wp-admin to log in, I get this:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/mynamqfk/public_html/wp-admin/includes/post.php on line 50

    What is this and how do I resolve it? Right now, my site works fine but I can't log into the dashboard. Any assistance would be great.

  2. GRAQ
    Member
    Posted 3 years ago #

    Your host has set a maximum amount of memory that PHP is allowed to use. Best solution is to consult your host.

    You can see if they have built in some leeway by editing your config file:
    http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

  3. fokjulle
    Member
    Posted 3 years ago #

    That doesn't make sense. The amount that WordPress tried to allocate is less than the allowed amount. Look again at the numbers.

  4. Helen Hou-Sandi
    WordPress Dev
    Posted 3 years ago #

    The amount that WordPress tried to allocate at that moment pushed it above the limit, e.g. the straw on the camel's back. Try upping your PHP memory limit as suggested.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags