• Resolved tiethilo

    (@tiethilo)


    Merry xmas everyone!

    After moving a working site (aramintabourbour.com) to a new host with the All-in-one Migration plugin, the resulting site gave an error for both front and back end (on a subdomain of the new server), so the name servers have not been changed yet in order to preserve access for visitors. The error had sth to do with failed memory allocation, it mentioned a theme file (Divi theme), but the site works perfectly fine on the old server, so there shouldn’t be an error on the copied new version, right?

    Weirdly, a few hours after the migration a forward came into effect without me having set it up: the subdomain http://aramintabarbour.yogaretreatguatemala.com (new host) is now forwarded to aramintabourbour.com (old host), so I cannot access the new copy of the site at all, but would need to in order to fix the memory problem.

    Site url and homepage in the wp_options table are set to the new host’s subdomain, so I’m wondering:
    1. How can I disable this forward from the new host’s subdomain to the old hosts regular domain?
    2. How can there be an error in a cloned site whose original works fine?
    3. How do I fix it? I’ve looked at memory allocation issues and there’s a host of possible causes, so i thought i’ll ask you pros to narrow it down if possible.

    On a side note, the same migration was completed successfully for several other sites, but not by me via plugin, but by the new host (hostmetro) whose deal included migration, which simply does not work for that one site.

    Thanks so much for working with me on this mess…
    Thilo

    • This topic was modified 9 years, 5 months ago by tiethilo.
    • This topic was modified 9 years, 5 months ago by tiethilo.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Please do not create duplicate topics for the same problem. Those get closed or deleted when found.

    1. How can I disable this forward from the new host’s subdomain to the old hosts regular domain?

    Have you looked at this post?

    https://codex.wordpress.org/Moving_WordPress

    Hello @tiethilo,

    I do most of my migrations manually so I haven’t used the plugin All-in-One WP Migration. But hopefully I can be of some help.

    1. I opened the link and it didn’t forward to the old host, so I assume you have fixed that issue.
    2. This is fairly common, even when you think you have been very careful with the migration. Different hosts may have different configurations that can lead to problems like the one you are experiencing.
    3. If you say that the installation on the old website is working just fine, I would rule-out a plugin-specific issue, or a theme-specific issue.

    What you can do to increase PHP’s memory allocation is:

    a. If you can edit or override the system php.ini file, increase the memory limit. For example, memory_limit = 128M

    b. If you cannot edit or override the system php.ini file, add php_value memory_limit 128M to your .htaccess file.

    c. If you can can get help from your hosting provider, Ask them to increase PHP’s memory allocation on your account temporary. If your hosting provider won’t accommodate you, perhaps it’s time to find a new hosting provider.

    Plugin Author Pim J. Iliev

    (@pimjitsawang)

    Hi Thilo,

    I will be happy to answer your questions as follows;

    1. How can I disable this forward from the new host’s subdomain to the old hosts regular domain?
    -> Your hosting provider can help you with it.

    2. How can there be an error in a cloned site whose original works fine?
    -> The issue is likely from different hosting plans (on both of your sites).
    When memory allocation is the issue, ask your hosting provider to increase the available memory to PHP. WordPress recommends 256MB.

    3. How do I fix it? I’ve looked at memory allocation issues and there’s a host of possible causes, so i thought i’ll ask you pros to narrow it down if possible.
    -> Increase the memory available to PHP. Here is a good tutorial: https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/

    Hi Thilo,
    Yes, I can open the subdomain without being forwarded. Try to refresh/clear your cache, the forwarding is probably being done at your end.

    What I see when opening the subdomain is the error you were referring before “Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32 bytes) in …”

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Memory error after migration via plugin’ is closed to new replies.