Restore on Migration Successful, Site Not Working

UpdraftPlus Home Forums Paid support forum – UpdraftPlus backup plugin Restore on Migration Successful, Site Not Working

  • This topic has 25 replies, 2 voices, and was last updated 10 years ago by udadmin.
Viewing 15 posts - 1 through 15 (of 26 total)
  • Author
    Posts
  • #52928
    josh
    Participant

    I restored a migration and then manually uploaded the uploads folder. After uploading the uploads folder, the site isn’t loading a thing.

    What’s gone wrong? TheLovelyDiaries.com/blog

    If it makes a difference, I restored from one backup and uploaded the uploads folder from another, but the site hadn’t changed at all in between.

    Thanks.

    #52959
    udadmin
    Keymaster

    Hi Josh,

    The most likely cause of WordPress showing a blank screen is a lack of memory for PHP – i.e. it hits the memory limit, and crashes. To increase the memory limit, you need to tweak the wp-config.php, as detailed in this article: https://updraftplus.com/faqs/deal-fatal-error-allowed-memory-size-errors/

    Also, you should tweak the WP_DEBUG setting in your wp-config.php – make it true instead of false. Then, you may get an error message displayed instead of a blank screen.

    Failing that, ask your web hosting company where to find the PHP error log (or ask them to send it to you). That log will contain an error messages that will help identify the cause,.

    Best wishes,
    David

    #52994
    josh
    Participant

    It looks like my errors may be different:

    Warning: require_once(phpab.php): failed to open stream: No such file or directory in /mnt/stor12-wc2-dfw1/597084/935559/www.thelovelydiaries.com/web/content/blog/wp-content/themes/hickory/index.php on line 2

    Fatal error: require_once(): Failed opening required ‘phpab.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /mnt/stor12-wc2-dfw1/597084/935559/www.thelovelydiaries.com/web/content/blog/wp-content/themes/hickory/index.php on line 2

    #52996
    josh
    Participant

    That was easily resolved, but now I’m getting

    Notice: Undefined variable: categories in /mnt/stor12-wc2-dfw1/597084/935559/www.thelovelydiaries.com/web/content/blog/wp-content/themes/hickory/inc/featured_area/featured-2.php on line 49

    Notice: Undefined variable: exclude_posts in /mnt/stor12-wc2-dfw1/597084/935559/www.thelovelydiaries.com/web/content/blog/wp-content/themes/hickory/index.php on line 27

    #53030
    josh
    Participant

    I am also getting the following on the admin panel side:

    Strict Standards: Declaration of TGM_Bulk_Installer_Skin::before() should be compatible with WP_Upgrader_Skin::before() in /mnt/stor12-wc2-dfw1/597084/935559/www.thelovelydiaries.com/web/content/blog/wp-content/themes/hickory/class-tgm-plugin-activation.php on line 1893

    Strict Standards: Declaration of TGM_Bulk_Installer_Skin::after() should be compatible with WP_Upgrader_Skin::after() in /mnt/stor12-wc2-dfw1/597084/935559/www.thelovelydiaries.com/web/content/blog/wp-content/themes/hickory/class-tgm-plugin-activation.php on line 1893

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /mnt/stor12-wc2-dfw1/597084/935559/www.thelovelydiaries.com/web/content/blog/wp-content/themes/hickory/class-tgm-plugin-activation.php:1893) in /mnt/stor12-wc2-dfw1/597084/935559/www.thelovelydiaries.com/web/content/blog/wp-content/plugins/simple-page-tester/SPTSessionHandler.php on line 25

    Notice: get_current_theme is deprecated since version 3.4! Use wp_get_theme() instead. in /mnt/stor12-wc2-dfw1/597084/935559/www.thelovelydiaries.com/web/content/blog/wp-includes/functions.php on line 3201

    #53072
    josh
    Participant

    My theme, but none of my content, is displaying.

    #53112
    josh
    Participant

    So it seems the real problem here is not those error codes in all likelihood, but:

    1. My pictures are not displaying.
    2. All links to content are not functioning (404 page).

    Please advise on why this would be and how I can fix it. Thank you.

    TheLovelyDiaries.com/blog

    #53114
    josh
    Participant

    Sorry for all the posts, but I think you can scratch #2. It seems to have been a 1 time occurrence I am unable to duplicate.

    I’ve also found out why #1 is occurring, although I’m not sure how to fix it. All image links refer to the master domain, and are not referring to the /blog/ folder within the master. How can I correct for that?

    #53157
    udadmin
    Keymaster

    Good morning,

    All the PHP coding notices are because your WP install is set up to send PHP notices to the browser. That’s one effect of turning on WP_DEBUG – to no longer see, them, turn it off. (If they still show, then something equivalent is turned on elsewhere – usually at the web hosting level, so you’d need to talk to the web hosting company about that).

    The problem with images not being served, but instead being directed to the other site, is also a webserver configuration issue – i.e. the webserver is configured to do this. This may be through a .htaccess file in the /blog or / directories, or it may be elsewhere; it varies from server to server. If you turn off (temporarily) pretty permalinks on both sites in Settings -> Permalinks, and if that causes the images to then display, then it’s the .htaccess files. If you’re not sure where it is configured, then you should ask the web hosting company.
    Alternatively, it is possible (but less likely) that the file permissions on your wp-content/uploads directory are too restrictive. To fix this, use your FTP program to reset the file permissions recursively on wp-content/uploads to 775 (or ask your web hosting company for what is needed on their systems).

    Best wishes,
    David

    #53279
    josh
    Participant

    Changing permalinks did not solve it.

    MY host is Laughing Squid… does that help at all?

    #53284
    josh
    Participant

    So the image links all come up as being in content folders, i.e. uploads/2014/10, but all my images are in uploads/images

    Does that help with how to correct it?

    #53308
    udadmin
    Keymaster

    Hi Josh,

    That sounds a bit strange – any idea why the links are pointing to different places?

    Whether search/replacing the links is the right thing is hard to say from here, without knowing why the links are pointing to the wrong place.

    I looked at one; this link which brings up a 404: https://www.thelovelydiaries.com/blog/wp-content/uploads/2014/01/today-is-my-29-300×300.jpg

    You said “all my images are in uploads/images”; so, I tried these two URLs:
    https://www.thelovelydiaries.com/blog/wp-content/uploads/images/today-is-my-29-300×300.jpg
    https://www.thelovelydiaries.com/blog/wp-content/uploads/images/2014/01/today-is-my-29-300×300.jpg
    Both also give a 404. Are you sure they’re really in there?

    David

    #53327
    josh
    Participant

    I assume that WordPress assigns names and dimensions to the images? These do not match the names of the images as I uploaded them. Instead, they have names such as img_70251.jpg

    The uploads folder has an images folder, like you tried to target, that has a large number of images such as the example above. I’ve never assigned a size to my images (like 300×300), so that must be generated by WordPress.

    How can I fix this? Really trying to finish this by tonight (have a deadline) and I just did a straight migration as directed in the instructions.

    #53331
    udadmin
    Keymaster

    If you send your FTP login details through to contact at updraftplus.com, then I can take a look. I’m pretty sure it’s your webserver configuration. Did your web hosting company not reply to your question about that?

    David

    #53335
    josh
    Participant

    I sent the exact text of your 10:53am reply to them, with a request they look into and fix it, and they responded asking for my WordPress log-in info. I sent that and have not heard back.

    I just sent the FTP login details.

    Thanks!

Viewing 15 posts - 1 through 15 (of 26 total)
  • The topic ‘Restore on Migration Successful, Site Not Working’ is closed to new replies.