Forums

index page won't load (27 posts)

  1. outhere
    Member
    Posted 4 years ago #

    hello

    my home page / index page is not loading

    safari keeps telling me it can't open the page "because the server unexpectedly dropped the connection, which sometimes occurs when the server is busy."

    i can pull up the admin log in page, log in successfully, and admin the entire site, including write a new post. but i can't view the site from within dashboard.

    this started happening last night.

    this afternoon i called my hosting service - godaddy - and they asked if i was logged in and making any changes last night. i don't even think i was logged in last night, but if i was all i did was edit a blogroll entry - i didn't change or even open any core admin code stuff.

    the godaddy rep said it might be the .htaccess file.

    i searched these fora for htaccess and copy/pasted some code i found in this forum - http://wordpress.org/support/topic/117993?replies=51 - but it didn't work

    my URL is http://www.outhereinohio.com/

    thanks so much for any help.

  2. outhere
    Member
    Posted 4 years ago #

    hello again

    here is a perhaps more-clear write up of the problem i'm experiencing:

    my homepage URL won't load.

    after the browser tries to load for a minute unsuccessfully I keep get the message "Safari can’t open the page “http://outhereinohio.com/” because the server unexpectedly dropped the connection, which sometimes occurs when the server is busy."

    i can however access the log in page and admin the entire site, including viewing individual posts, just not viewing the site like the normal viewing experience of going to the homepage.

    i called my hosting service - godaddy - they said the server is working, that there might be a problem with the .htaccess file

    the file reads:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    does anyone see a problem in the htaccess file?

    anyone have a clue why the homepage won't load?

    anyway around it?

    thanks.

  3. kmessinger
    Member
    Posted 4 years ago #

    Your site returns a 404 error with this url http://www.outhereinohio.com/wordpress/index.php and with http://www.outhereinohio.com/index.html

    It seems something has been moved or renamed?

  4. outhere
    Member
    Posted 4 years ago #

    like what?

    there is no index.html file

    there is an index.php file though - and this must be the homepage. that page doesn't load

  5. kmessinger
    Member
    Posted 4 years ago #

    If the pages return a 404 that shows your site is working and that a page cannot be found. But the basic URL is good.

    Trying to load your index.php produces "Internet Explorer cannot display the webpage" which shows the URL is no good.

    In your admin did you change the WordPress address or the blog address?

  6. outhere
    Member
    Posted 4 years ago #

    > In your admin did you change the WordPress address or the blog address?

    no

    but i just went to look at what the index.php file looks like, and this is all it is:

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    that doesn't seem right??

  7. kmessinger
    Member
    Posted 4 years ago #

    No, that is correct AFAIK. Short and sweet.

  8. kmessinger
    Member
    Posted 4 years ago #

    I can get to all categories and archives from the sidebar but I cannot get to pages. The Pages URL are incorrect. Are your permalinks set to default?

    Also, to confirm you URL is working you can upload a text file that says "Test" to your root directory on the server. Change its name to index.html. Then go to your website - you should see the "Test". If so, on the site, delete index.php from the root directory(it should be there), then place a new copy of index.php there. Delete or rename index.html. If you saw "Test", you should now see your site.

  9. outhere
    Member
    Posted 4 years ago #

    i really appreciate the help so far ...

    the permalinks are not set to default; they are set to 'date and name based'

    i uploaded a test index.html file

    the test index.html file didn't show up

    then i deleted the index.php file, and the test index.html showed up

    so i uploaded another index.php file, and got the same problem of the page not loading because the server dropped the connection again.

    ???

  10. kmessinger
    Member
    Posted 4 years ago #

    Rename the index.html file index.old or delete it. It is still showing up.

  11. outhere
    Member
    Posted 4 years ago #

    i renamed the index.html file

    the same problem still exists

    what's going on here?

    why did it all of the sudden stop working?

  12. kmessinger
    Member
    Posted 4 years ago #

    I can't seem to get to your wp-blog-header.php file.

    It should be at http://www.outhereinohio.com/wp-blog-header.php and I should get a blank page there. And if you view souce you should see an html header. But instead I get a web based 404. This is not correct.

  13. outhere
    Member
    Posted 4 years ago #

    i looked into the blog-header too

    the page loaded for me, but it's just totally blank, white. no 404 or anything

    i found the file on ftp though

    it reads:

    <?php

    if (! isset($wp_did_header)):
    if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
    if ( strstr( $_SERVER['PHP_SELF'], 'wp-admin') ) $path = '';
    else $path = 'wp-admin/';

    require_once( dirname(__FILE__) . '/wp-includes/functions.php');
    wp_die("There doesn't seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.", "WordPress › Error");
    }

    $wp_did_header = true;

    require_once( dirname(__FILE__) . '/wp-config.php');

    wp();
    gzip_compression();

    require_once(ABSPATH . WPINC . '/template-loader.php');

    endif;

    ?>

  14. kmessinger
    Member
    Posted 4 years ago #

    Your htaccess is quite different than mine but they all are different.

    My wp-blog-header-php (below) is different at a couple of places. I know nothing about php. Mine . . .

    <?php
    
    if (! isset($wp_did_header)):
    if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
    	if HERE --->(strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) $path = HERE --->'';
    	else $path = 'wp-admin/';
    
    	require_once( dirname(__FILE__) . '/wp-includes/classes.php');
    	require_once( dirname(__FILE__) . '/wp-includes/functions.php');
    	require_once( dirname(__FILE__) . '/wp-includes/plugin.php');
    	wp_die("There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://codex.wordpress.org/Editing_wp-config.php'>We got it</a>. You can <a href='{$path}setup-config.php'>create a <code>wp-config.php</code> file through a web interface</a>, but this doesn't work for all server setups. The safest way is to manually create the file.", "WordPress &rsaquo; Error");
    }
    
    $wp_did_header = true;
    
    require_once( dirname(__FILE__) . '/wp-config.php');
    
    wp();
    gzip_compression();
    
    require_once(ABSPATH . WPINC . '/template-loader.php');
    
    endif;
    
    ?>

    I marke the different places I see.

    BTW, what directory is that wp-blog-header file in?

  15. moshu
    Member
    Posted 4 years ago #

    You guys shouldn't ever mess around with that wp-blog-header.php file. That's a core WP file and it is NOT for modifications.

    Set permalinks to default, use the defaultr or classic theme, remove the htaccess and see if it works.
    If yes, then try to restore step by step your previous settings until you get the error again...

  16. outhere
    Member
    Posted 4 years ago #

    kmessinger - the blog-header is in the root directory (it's wp-blog-header.php not wp-blog-header-php)

    moshu - i didn't mess around w/ the blog header at all - just wanted to find it and read it since it was referenced in the index.php file. i figured an index.php file ought to have a lot more than the "short and sweet"ness that's in my index.php file (see above). so i figured the blog header must be an important file

    anyways, no major file has been modified at all. the only thing i modify in terms of code on my blog is the header background color on my Kubrick theme!

    so i did as you suggested:
    1. set permalinks from date and name based to default
    2. removed the .htaccess file
    3. i already use the default/kubrick theme

    it didn't work.

    let me reiterate ... this just happened all on it's own. i didn't modify or fool around or accidentally delete any files.

    i'm totally in the dark as to what's going on.

    thanks much for the continued feedback. i'm hoping we can get to some resolve soon

  17. kmessinger
    Member
    Posted 4 years ago #

    Sorry but I can think of nothing more except to check the error logs on the server to see what is happening when someone goes to http://www.outhereinohio.com/index.php

    We know that index.html worked while you had it
    We know that index.old works
    We know that index.almost anything returns a site 404
    We know that index.php returns a web 404

    The type of 404 should tell us something but I do not know what so that is why I suggested the logs.

    Also I noticed that going to http://www.outhereinohio.com/wp-content/themes/default/images/ produces a site 404 but on my site going to the same sub-directories produces an index page. Your and my security must be set different.

    I am hoping someone else will jump in here and get you up and going.

  18. outhere
    Member
    Posted 4 years ago #

    kmessinger - thanks much for sticking around this long

    why would word press just stop by itself?

    anyone got any clues?

  19. outhere
    Member
    Posted 4 years ago #

    anyone?

  20. kmessinger
    Member
    Posted 4 years ago #

    Did you check the error logs? You should see something like this . . .
    [Fri Dec 14 13:47:00 2007] [error] [client xx.xx.xx.xxx] File does not exist: /home/yourlogon/public_html/index.php

    or something like that. You can open your error log and try to connect and see if it shows it. Then try to connect to index.hello and see if an error shows up. If it is consistant with what has been happening no error will be reported for the php file as your browser cannot connect with your website. This problem can be caused by a variety of issues, including:

      Internet connectivity has been lost.
      The website is temporarily unavailable.
      The Domain Name Server (DNS) is not reachable.
      The Domain Name Server (DNS) does not have a listing for the website's domain.

    I don't think it is any of those but you should contact your host and tell them you have a file, http://www.outhereinohio.com/index.php , that is unreachable on their server and ask them to check why. Other files are reachable so is it a security thing? indez.php reaches your server but index.php does not - I think that file is specifically locked out.

  21. outhere
    Member
    Posted 4 years ago #

    thanks, everyone, for the posted help.

    nothing has worked.

    what about just saving the site and reinstalling?

    what needs to be saved - the database where the posts are stored and that's it?

  22. deadlydesigns
    Member
    Posted 4 years ago #

    I saw this thread, and am having the same issue. Today, midday, my website was loading fine; but when I get home it will not load and loads a blank page with no error. When I try to navigate to http://www.deadlydesigns.com the browser status for Firefox and IE are both immediately "done". I try to go to /wp-admin/ and that does not load either. I contacted my website hosting support and they said that index file syntax is wrong and to reupload the file. I uploaded the index.php from the original zip I downloaded and still does the same thing. I have put in a ticket to senior techs at my site to look into it. After I spoke with them I replaced all the main wordpress files minutes the config file and contents inside the /wp-content/ folder, and still does the same thing. I checked the permissions and everything looks ok, and I also checked my database and it looked ok too. I downloaded the .htaccess file and am not sure if it is correct.. here is what I have.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Anyone have any thoughts or suggestions? Thanks!

    ps. I have made a sample index.html and uploaded and renamed the index.php file to index.old and the index.html file displayed fine.

    Mike

  23. Shazza
    Member
    Posted 4 years ago #

    Hi i think i have a simmilar problem, i recently upgradd to 2.3 and amemded a few things on my website, changed my blog link, and removed it from my site, now whenever i type my ussual url which is http://www.nonhlanhla.com it doesn't load up, unless i type http://www.nonhlanhla.com/index.html
    any help

  24. Shazza
    Member
    Posted 4 years ago #

    i just discovered that the page that comes up is what is named index.php on my files
    that is what apprears

  25. ptchristensen
    Member
    Posted 4 years ago #

    I ran into this same problem - the site spontaneously died, but not totally. I couldn't access the index page but through URLs or other links I could hit posts, comments, etc. I could also access the admin pages.

    I'm not sure what difference it would make, but the last thing I did before it failed was to add a new page (not post). After I did that, the home page would always redirect to that new page. When I deleted that page, then I could no longer access the index.

    Who knows what the problem was or how it was caused? Not me. What I do know is that upgrading from WordPress 2.3.1 to 2.5 solved the problem. I would try upgrading to fix the problem (the 2.5 dashboard is really nice, too)

  26. infopage
    Member
    Posted 4 years ago #

    These methods did not help me either...all this is greatly hindering my whole business which my family depends on!

    The index -ciphersearch.com- just dissappeared on its own without me doing any type of editing in cpanel. It greatly make me think someone(s) is attacking my site. My other blog -marketsecrets.biz- mysteriously removed all posts on its own without me logging in to any cpanel or wp admin.

    What's going on???

  27. theonliner
    Member
    Posted 3 years ago #

    hello my home page / index page is not loading
    safari keeps telling me it can't open the page "because the server unexpectedly dropped the connection, which sometimes occurs when the server is busy"......"

    Just a short suggestion, please to pay more attention at DB Host in wp-config.php file when you initiate intalling WP. WP mentioned that "define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value" It doesn't always mean that your DB_HOST is 'localhost'. It makes your host sometimes failures to sign in because your files are unrecognized or stranger, that's just an analogical term :-)

    Cheers

Topic Closed

This topic has been closed to new replies.

About this Topic