Home (Front) page blank

I have a site running on Siteground that seems to run properly. When I try to create a local version the Home (front) page displays nothing but the header. If I edit the page using BB there is content but no layout i.e.everything is stacked. All other pages in the site seem to be good although I did seem some broken links. To create my local environment I first created a backup using BackupBuddy and downloaded the zip. I then used Desktop Server to create the local environment. I have used this process many times on other sites and it works great. I also reported this problem to ServerPress and they found that the site runs without issue on a MAC environment but they reproduced the problem on a PC. I can provide the zip but it is kind of large. Do you think this can be a theme issue? If not do you have any suggestions to help narrow down the issue?

Hi Ron,

Is it possible for you to provide some screenshots of your issue, please. Such as:

  • A screenshot of the stacking issue.
  • A screenshot with Google Chrome’s dev tools open with you hovering over the CSS file so we can see the URL of you stylesheets (see my screenshot for a reference).

Cloudup

Is it also possible for you to open your Google Chromes browser console so we can see if you have any errors. If so, can you add these errors to your reply, please.

Thanks,
Danny

For some reason the home page is now (permalinks may have been rewritten) displaying content but it is all in a single text box module hence the stacking issue that I mentioned. This site is running on a localhost install with WAMP on windows so I don’t know how to enter a URL of an image file that you can get to.

The console did show some errors:
Failed to load resource: the server responded with a status of 404 (Not Found)
http://www.sulphurgrove.dev/st2/wp-content/uploads/2015/12/congregational-care-image-3.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
http://www.sulphurgrove.dev/st2/wp-content/uploads/2015/12/Hickory-Dickory-Shop-Pic-300x180.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
http://www.sulphurgrove.dev/st2/wp-content/uploads/2015/12/BlueBackground.png Failed to load resource: the server responded with a status of 404 (Not Found)

I looked in the physical directory for the images above and they exist there. I’m confused by the url of the images though because both my WordPress address and my site url are set to http://www.sulphurgrove.dev. I did have this site running in a folder on the host at one time named ST2. Siteground was supposed to move the site to the root folder but it looks to me like the domain is redirecting to the ST2 folder instead of the root.

All very confusing to a relative newbie like me

Hi Ron,

You mention you’re using WAMP, as far as I am aware that is a Windows based server? Windows based servers have some weird configurations and this may be the cause of your issue.

Also, I am sure what you mean when you say ST2 folder? Ae you saying that your live site is in a directory called ST2 and this is now on your local site? How did SiteGround create this on your computer? Also, are the WordPress files in the ST2 directory or your root?

Thanks,
Danny

Thanks for trying to help. I went to the live server and did an edit(not page builder) on the home page in question to see if I could see anything. I did not change anything but when I then visited the site all of the Page Builder formatting was gone and everything was in a textbox. Since this is only happening on the home page I’m in the process of rebuilding that page with BB and will replace the original

Hi Ron,

I have just been re-reading your replies and I think I may have been confused. Have you migrated from local to live or is it vice versa?

If you have gone from local to live, you could try following the instructions on our KB article regarding migration and run the Serialized Search and Replace script. This may resolve your issue.

http://forum.wpbeaverbuilder.com/knowledge-base/migrating-a-site-to-another-domain/

Thanks,
Danny

Here is the sequence of events.

  1. Website home page working properly on the Siteground server but I think that Siteground did something to redirect the domain to a website running in a folder named root/st2.
  2. Migrated the site using a backup made with BackupBuddy via Desktopserver which scrubs the database replacing urls as appropriate…i.e www.sulphurgrove.org to sulphurgrove.dev in this case
    Following on the localhost site:
  3. Visited the site on my Windows localhost using Desktopserver/Wamp and the home page was blank except for the header.
  4. Went to the back end to look at the home page in BB and the content was in one single text module
  5. Visited the permalinks page and just saved changes.
  6. Visited the site again and now the home page displayed the content as a single text module.
    Following on the live site:
    7.Visited the site and home page looked good.
    8.Edited via the Wordpress editor the home page to inspect the content
  7. made not changes
  8. Visited the site again and the home page display all content as a single text module
  9. Installed Migrate DB on the server site and did a database migrate
  10. imported the migrated export file to the local database. Same result with the home page.
    Now I’m in the process of recreating the home page on the local install to get the formatting back and I will then replace the static front page to the new home page and fix the menu to use the new home page. I’m doing this because the rest of the site appears to work properly.

Once this has been done I will do a local backup using BackupBuddy and give to SiteGround to completely replace the site. I think that somewhere along the way the database got hosed in some way so I’m hoping that this will fix the issue.

Please offer any additional suggestions you might have.

Thanks for your help

Hey Ron,

I believe BackupBuddy handles serialized data quite well. And I don’t really see anything wrong with how you migrated things. It’s quite possible though that the homepage layout was already broke before you migrated it to your local seeing as when you visited the backend of the live site, the layout was already broken. Does that make sense?

Anyhow, let us know how it goes when GD replaces the site. :slight_smile:

Ben

Upon further inspection, I discovered that there were other pages that exhibited the same behavior so I rebuilt all ill behaving pages and got everything running on my localhost. It has been backed up and sent to SiteGround with instructions to completely blow away the old site and replace with the new one. At this point I think that we can close this issue as it seems to be due to the site being corrupted. Thanks for your help. I’ll let you know if I need anything else.

Hi Ron,

Thanks for keeping us posted and if you encounter any further issues, let us know.

Thanks,
Danny