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.
-
AuthorPosts
-
November 7, 2014 at 9:47 pm #52928joshParticipant
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.
November 7, 2014 at 11:27 pm #52959udadminKeymasterHi 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,
DavidNovember 8, 2014 at 1:28 am #52994joshParticipantIt 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
November 8, 2014 at 1:33 am #52996joshParticipantThat 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
November 8, 2014 at 3:16 am #53030joshParticipantI 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
November 8, 2014 at 5:49 am #53072joshParticipantMy theme, but none of my content, is displaying.
November 8, 2014 at 8:14 am #53112joshParticipantSo 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
November 8, 2014 at 8:21 am #53114joshParticipantSorry 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?
November 8, 2014 at 10:53 am #53157udadminKeymasterGood 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,
DavidNovember 8, 2014 at 5:59 pm #53279joshParticipantChanging permalinks did not solve it.
MY host is Laughing Squid… does that help at all?
November 8, 2014 at 6:11 pm #53284joshParticipantSo 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?
November 8, 2014 at 7:34 pm #53308udadminKeymasterHi 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
November 8, 2014 at 8:25 pm #53327joshParticipantI 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.
November 8, 2014 at 8:35 pm #53331udadminKeymasterIf 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
November 8, 2014 at 8:47 pm #53335joshParticipantI 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!
-
AuthorPosts
- The topic ‘Restore on Migration Successful, Site Not Working’ is closed to new replies.