Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter postinote

    (@postinote)

    I went to line 17 in wp-admin/index.php and found this line:
    require(‘./wp-blog-header.php’);

    If that’s any help. Here’s the entire file. Its pretty short.

    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require(‘./wp-blog-header.php’);
    ?>

    Thread Starter postinote

    (@postinote)

    Do I have to beg?

    I have taken on the duties of getting this blog up and running. I really could use some advise on what the problem is.

    If you really running at 1 and 1 Server (and i think so because of 304 layout of your home site), i would try to configure the webspace to work with PHP5 instead of PHP 4.4.9 as currently reporting by requesting the login screen.
    To do that, just edit your .htaccess File in your root wp root dir (or create one if there is non) and place as first lines inside:

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    This switches the PHP 5 on. Try this first before further steps to be evaluated.

    Thread Starter postinote

    (@postinote)

    Let me give that some work … thanks for the reply; Much appreciated!

    Thread Starter postinote

    (@postinote)

    Hello again

    I am indeed using 1 and 1 … Here is a stupid, although pertinent question: There is no htaccess file int he root folder so I am assuming I will have to create one. No big deal, but what do I call it? How should the folder be labled, exactly?

    I’ll sniff around online for the answer, but just in case I don’t find it I thought I’d ask.

    thanks again

    Thread Starter postinote

    (@postinote)

    Update:

    I created the file called .htaccess, and a new folder called htaccess (no “dot”). I dropped the folder into the root directory of the blog and then dropped the .htaccess file into it. What continues to happen is that the file moves to another location, by itself. It also appears that there is already a file called .htaccess in the wp-includes folder. Strangely, when I navigate to that folder to check it out I am unable to find it! When I search it out by entering “htaccess” in the FTP client’s search window I can locate it. The gods seem to have it in for me.

    In any event, the existing file seemed to have the exact same code in it. So, to sum up, yes, I do have that file already, but no, it is in a different location and I can’t make it stay in the root directory of the blog.

    Thanks for your help.

    Any file with a leading dot is a hidden file in terms of unix. It’s necessary, that the file is named .htaccess and resides in the root of your WP installation.
    Some FTP programs doesn’t show initially hidden files but can be configured to do so. Than you should able to see those again.
    Please create such a file (don’t strip the leading dot) put the lines into and upload it.
    If your home PC runs Windows, you can’t locally create files with leading dot’s. So just create a htcaccess named file, modify the content and open an Windows Console. Changed to the folder containing the file and enter command
    ren htaccess .htaccess
    Then you should have one for upload. You can alternatively upload the wrong named file and rename it with your FTP program at your webspace.

    I hope, this may help you going forward.

    Greetings, …

    your wp-admin/index.php is NOT the correct file. I dont know what the other stuff is that you are doing but the answser to the original problem you are having is to upload the proper index.php into the wp-admin/ directory

    The one you pasted the contents out of — that is the index.php that belongs one directory ^ up from there, ie, in the same directory as your wp-config.php

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error on login-please help’ is closed to new replies.