Forums

[resolved] Static homepage comes up as blank screen (11 posts)

  1. hermes16
    Member
    Posted 5 months ago #

    Hi,

    I've made the following site using WordPress 3.3. http://www.sim-card-only.co.uk/vodafone-sim-only-deals/

    Everything was working fine on my old hosting site (Bluehost) but since I moved it to 1&1 hosting I've been having problems.

    You'll notice that if you try to go to the homepage, everything dissapears. Any ideas why?

    The front page of http://www.sim-card-only.co.uk is set to display the Home page as a static page and the site URL points directly to the root folder for WordPress.

    Some forums say certain hosts have problems with the word "Home" being used, but I get the same problem with any page I set to be the front static page regardless of whether it is called "Home".

    I'm pulling my hair out over this as I can't see any obvious reasons. I've read forums, disabled plugins, changed permalinks, but no success.

    Any ideas? I'd be very grateful

  2. ChristiNi
    Member
    Posted 5 months ago #

    Hi hermes16,

    Sorry you're having trouble with your site move. I have a couple of suggestions for you.

    It looks like your static front page is set to Welcome instead of home. Notice when you hover over each of those pages in your navigation that "Home" links to sim-card-only.co.uk/home/ while Welcome links to sim-card-only.co.uk.

    The odd thing is that sim-card-only.co.uk gives a blank white page but sim-card-only.co.uk/home/ gives a Forbidden error.

    My first thought would be to try changing your Permalink structure to anything other than it's current settings and save the new structure. Then, change Permalinks back to your current settings and save again.

    If the issue continues, double check your file permissions as well:

    http://codex.wordpress.org/Changing_File_Permissions

    Hope this gives you a starting point for resolving this issue.

  3. hermes16
    Member
    Posted 5 months ago #

    Hi ChristiNi,

    Thanks for the info. I've tried changing the permalinks as you said but it doesn't make any differnce. They're on Post Name at the moment. Would they be better on something else?

    The static front page doesnt work regardless of what page it is set to. It still comes up blank when you enter http://www.sim-card-only.co.uk regardless of whether the static page is set to Home, Welcome, Vodafone or any of the other pages.

    I've looked into the file permissions and cant see anything that stands out, but it is a bit over my head I think.

    Any other idaes?

    Many thanks, Rob

  4. hermes16
    Member
    Posted 5 months ago #

    I've noticed something. If you rightclick and 'View page info' for the pages that are working, for example o2, it says:

    Render Mode: Standards compliance mode
    Encoding: UTF-8

    But for the homepage, which doesnt load properly it says:

    Render Mode: Quirks mode
    Encoding: ISO-8859-1

    This doesnt mean much to me. anyone know what this means, if it will help to change it and how to do so?

    Thanks, Rob

  5. ChristiNi
    Member
    Posted 5 months ago #

    Hello Rob,

    Sorry you're still having issues with your site. I don't think the Render Mode difference is the issue, could be a symptom, but I'm not sure. Quirks mode is a mode your browser enters into when it is trying to render a web page like an older browser. This is usually caused by the Doctype declaration not being present.

    Here's a few more suggestions that you can try:

    You mentioned that you disabled plugins but did you also try switching to the default theme? If not, try switching to the default theme and disable all plugins.

    Check with your host to see if you can increase the PHP memory limit for your site. If you can, you can try either one of the following two methods:

    http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    http://wordpress.org/extend/plugins/memory-bump/

    If none of the above suggestions works, try viewing your error_log or enabling display error messages for PHP while you troubleshoot the issue.

    Hope one of these suggestions helps!

  6. hermes16
    Member
    Posted 5 months ago #

    Hi ChristiNi,

    thanks again for the help, however no joy.

    I've tried using the default theme without plugins, but it didnt make any difference.

    I didnt have any luck with the other ideas you suggested. The memory-bump plugin hasnt helped and regarding the error_log issue I've looked everywhere in the root folder on FTP and I cant find an error_log file.

    Any ideas? Thanks, Rob

  7. ChristiNi
    Member
    Posted 5 months ago #

    Hello again Rob,

    Sorry this is still giving you trouble.

    Make sure you are checking your document root folder (public_html) for the error_log.

    If you still do not see the error log, you may need to contact your host and ask them if you can customize your account's local PHP settings. This is usually done through the php.ini file. Some hosts restrict customizing your PHP settings and that could be interfering with trying to increase the memory limit. If you can't increase your PHP memory limit, ask them how you can turn enable display error messages for PHP.

    Let me know how this works out.

  8. hermes16
    Member
    Posted 5 months ago #

    Thanks ChristiNi, Yer Ive checked the root folder and defo cant see the error_log. I'll speak to the host and see what they suggest. Thanks a lot for your help, much appreciated. If anyone else has any ideas, please let me know. Rob

  9. hermes16
    Member
    Posted 5 months ago #

    Hi ChristiNi, I found the cause of the problem in the end. I had a file called default.html in my directory and the server was defaulting to that when on the home page. I renamed that file and it fixed the problem. thanks for your help, you've been a star!

  10. ChristiNi
    Member
    Posted 5 months ago #

    So glad to hear you were able to fix this hermes16!

    If you have time, please mark this topic as resolved so others having the same or similar problem can get ideas on how to solve this.

    Thanks!

  11. hermes16
    Member
    Posted 4 months ago #

    ok great, will do

Reply

You must log in to post.

About this Topic